OpenShift Origin和Jenkins - >没有权限

时间:2017-06-28 18:54:12

标签: maven jenkins openshift selinux

我在OpenShift Origin上使用Jenkins Pipeline Java / Maven作业得到以下错误:

[workspace] $ 
/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven-3.5.0/bin/mvn clean package
Error: dl failure on line 893
Error: failed /var/lib/jenkins/tools/hudson.model.JDK/jdk-
8/jre/lib/i386/server/libjvm.so, because 
/var/lib/jenkins/tools/hudson.model.JDK/jdk-8/jre/lib/i386/server/libjvm.so: 
cannot restore segment prot after reloc: Permission denied
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE

奇怪的是,它在我当地的MiniShift上使用相同和最新的Jenkins模板运行良好。

任何想法?与SELinux有什么关系?

0 个答案:

没有答案