建立詹金斯失败

时间:2018-09-19 03:43:45

标签: jenkins

  1. 是否创建了git克隆https://github.com/jenkinsci/jenkins.git
  2. cd jenkins
  3. mvn安装

我收到以下错误。

`

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: java.nio.file.NoSuchFileException: C:\jenkins\cli\target\classes\META-INF\annotations\org.kohsuke.accmod.Restricted
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Jenkins main module 2.142-SNAPSHOT ................. SUCCESS [  2.720 s]
[INFO] Jenkins cli ........................................ FAILURE [  1.985 s]
[INFO] Jenkins core ....................................... SKIPPED
[INFO] Jenkins war ........................................ SKIPPED
[INFO] Tests for Jenkins core 2.142-SNAPSHOT .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.255 s
[INFO] Finished at: 2018-09-18T23:34:03-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project cli: Compilation failure
[ERROR] error: java.nio.file.NoSuchFileException: C:\jenkins\cli\target\classes\META-INF\annotations\org.kohsuke.accmod.Restricted
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cli

`

任何想法,为什么直接从存储中下载的项目上的mvn安装失败。

0 个答案:

没有答案