Jenkins构建失败 - 错误:无法解析POM java.net.BindException:权限被拒绝

时间:2014-07-18 13:27:30

标签: java maven jenkins openshift

我正在努力让jenkins构建我的核心代码库,并且在看起来是它的最后阶段时遇到了一些困难。

应用程序似乎在Jenkins中处理正常,直到最后一步 - 这是在

下面的控制台输出中
[INFO] skip non existing resourceDirectory /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/workspace/secondstory_core/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ Core ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 15 source files to /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/workspace/secondstory_core/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ Core ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/workspace/secondstory_core/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ Core ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ Core ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.3:jar (default-jar) @ Core ---
[INFO] Building jar: /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/workspace/secondstory_core/target/Core-1.0.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ Core ---
[INFO] Installing /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/workspace/secondstory_core/target/Core-1.0.jar to /var/lib/openshift/53c9065f5973ca9d1b0001e8/.m2/repository/Core/Core/1.0/Core-1.0.jar
[INFO] Installing /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/workspace/secondstory_core/pom.xml to /var/lib/openshift/53c9065f5973ca9d1b0001e8/.m2/repository/Core/Core/1.0/Core-1.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 41.989 s
[INFO] Finished at: 2014-07-18T09:18:32-05:00
[INFO] Final Memory: 29M/345M
[INFO] ------------------------------------------------------------------------
Parsing POMs
[secondstory_core] $ /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/tools/hudson.tasks.Maven_MavenInstallation/Maven/bin/mvn clean install
[INFO] Scanning for projects...
[INFO] 
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Core 1.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ Core ---
[INFO] Deleting /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/workspace/secondstory_core/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ Core ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/workspace/secondstory_core/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ Core ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 15 source files to /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/workspace/secondstory_core/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ Core ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/workspace/secondstory_core/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ Core ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ Core ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.3:jar (default-jar) @ Core ---
[INFO] Building jar: /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/workspace/secondstory_core/target/Core-1.0.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ Core ---
[INFO] Installing /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/workspace/secondstory_core/target/Core-1.0.jar to /var/lib/openshift/53c9065f5973ca9d1b0001e8/.m2/repository/Core/Core/1.0/Core-1.0.jar
[INFO] Installing /var/lib/openshift/53c9065f5973ca9d1b0001e8/app-root/data/workspace/secondstory_core/pom.xml to /var/lib/openshift/53c9065f5973ca9d1b0001e8/.m2/repository/Core/Core/1.0/Core-1.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30.735 s
[INFO] Finished at: 2014-07-18T09:19:18-05:00
[INFO] Final Memory: 15M/183M
[INFO] ------------------------------------------------------------------------
ERROR: Failed to parse POMs
java.net.BindException: Permission denied
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
    at java.net.ServerSocket.bind(ServerSocket.java:376)
    at java.net.ServerSocket.bind(ServerSocket.java:330)
    at hudson.maven.AbstractMavenProcessFactory$SocketHandler$AcceptorImpl.<init>(AbstractMavenProcessFactory.java:178)
    at hudson.maven.AbstractMavenProcessFactory$SocketHandler.call(AbstractMavenProcessFactory.java:164)
    at hudson.maven.AbstractMavenProcessFactory$SocketHandler.call(AbstractMavenProcessFactory.java:162)
    at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
    at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:236)
    at hudson.maven.ProcessCache.get(ProcessCache.java:235)
    at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:749)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:585)
    at hudson.model.Run.execute(Run.java:1684)
    at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:231)
Sending e-mails to: builds@secondstory.co.uk
Finished: FAILURE

正如你所看到的 - 我收到了几条成功的消息,直到最后一个Build Failed - 给出错误

  

java.net.BindException:Permission denied

有谁知道我可能导致这种情况的配置(或缺少)?

由于

0 个答案:

没有答案
相关问题