wakaleo / game-of-life

Demo application for the 'Jenkins: The Definitive Guide' book
http://www.wakaleo.com/books/jenkins-the-definitive-guide
2.04k stars 19.94k forks source link

jenkins issue #377

Open kameshchalasani opened 1 year ago

kameshchalasani commented 1 year ago

Hi All, below is the issue i am facing while executing the WAKALEO project could anyone please help me.

Building in workspace C:\ProgramData\Jenkins.jenkins\workspace\wakaleo The recommended git tool is: NONE No credentials specified

git.exe rev-parse --resolve-git-dir C:\ProgramData\Jenkins.jenkins\workspace\wakaleo.git # timeout=10 Fetching changes from the remote Git repository git.exe config remote.origin.url https://github.com/kameshchalasani/wakaleo-game-of-life.git # timeout=10 Fetching upstream changes from https://github.com/kameshchalasani/wakaleo-game-of-life.git git.exe --version # timeout=10 git --version # 'git version 2.41.0.windows.1' git.exe fetch --tags --force --progress -- https://github.com/kameshchalasani/wakaleo-game-of-life.git +refs/heads/:refs/remotes/origin/ # timeout=10 git.exe rev-parse "refs/remotes/origin/master^{commit}" # timeout=10 Checking out Revision 18411548f702a967379dd171ee82b9bbc77cd532 (refs/remotes/origin/master) git.exe config core.sparsecheckout # timeout=10 git.exe checkout -f 18411548f702a967379dd171ee82b9bbc77cd532 # timeout=10 Commit message: "Create kameshtest" git.exe rev-list --no-walk 18411548f702a967379dd171ee82b9bbc77cd532 # timeout=10 [wakaleo] $ cmd.exe /C "C:\ProgramData\Jenkins.jenkins\tools\hudson.tasks.Maven_MavenInstallation\Maven3\bin\mvn.cmd clean compile && exit %%ERRORLEVEL%%" [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.wakaleo.gameoflife:gameoflife-build:jar:1.0-SNAPSHOT [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. [WARNING] [WARNING] Some problems were encountered while building the effective model for com.wakaleo.gameoflife:gameoflife-core:jar:1.0-SNAPSHOT [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. [WARNING] [WARNING] Some problems were encountered while building the effective model for com.wakaleo.gameoflife:gameoflife-web:war:1.0-SNAPSHOT [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. [WARNING] [WARNING] Some problems were encountered while building the effective model for com.wakaleo.gameoflife:gameoflife:pom:1.0-SNAPSHOT [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. @ line 302, column 40 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] gameoflife [pom] [INFO] gameoflife-build [jar] [INFO] gameoflife-core [jar] [INFO] gameoflife-web [war] [INFO] [INFO] -----------------< com.wakaleo.gameoflife:gameoflife >------------------ [INFO] Building gameoflife 1.0-SNAPSHOT [1/4] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gameoflife --- [INFO] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-versions) @ gameoflife --- [INFO] [INFO] --- jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (jacoco-initialize) @ gameoflife --- [INFO] argLine set to -javaagent:C:\WINDOWS\system32\config\systemprofile\.m2\repository\org\jacoco\org.jacoco.agent\0.7.2.201409121644\org.jacoco.agent-0.7.2.201409121644-runtime.jar=destfile=C:\ProgramData\Jenkins\.jenkins\workspace\wakaleo\target\jacoco.exec [INFO] [INFO] --------------< com.wakaleo.gameoflife:gameoflife-build >--------------- [INFO] Building gameoflife-build 1.0-SNAPSHOT [2/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gameoflife-build --- [INFO] Deleting C:\ProgramData\Jenkins.jenkins\workspace\wakaleo\gameoflife-build\target [INFO] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-versions) @ gameoflife-build --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gameoflife-build --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (jacoco-initialize) @ gameoflife-build --- [INFO] argLine set to -javaagent:C:\WINDOWS\system32\config\systemprofile\.m2\repository\org\jacoco\org.jacoco.agent\0.7.2.201409121644\org.jacoco.agent-0.7.2.201409121644-runtime.jar=destfile=C:\ProgramData\Jenkins\.jenkins\workspace\wakaleo\gameoflife-build\target\jacoco.exec [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ gameoflife-build --- [INFO] No sources to compile [INFO] [INFO] ---------------< com.wakaleo.gameoflife:gameoflife-core >--------------- [INFO] Building gameoflife-core 1.0-SNAPSHOT [3/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gameoflife-core --- [INFO] Deleting C:\ProgramData\Jenkins.jenkins\workspace\wakaleo\gameoflife-core\target [INFO] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-versions) @ gameoflife-core --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gameoflife-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\ProgramData\Jenkins.jenkins\workspace\wakaleo\gameoflife-core\src\main\resources [INFO] [INFO] --- jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (jacoco-initialize) @ gameoflife-core --- [INFO] argLine set to -javaagent:C:\WINDOWS\system32\config\systemprofile\.m2\repository\org\jacoco\org.jacoco.agent\0.7.2.201409121644\org.jacoco.agent-0.7.2.201409121644-runtime.jar=destfile=C:\ProgramData\Jenkins\.jenkins\workspace\wakaleo\gameoflife-core\target\jacoco.exec [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ gameoflife-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to C:\ProgramData\Jenkins.jenkins\workspace\wakaleo\gameoflife-core\target\classes [INFO] [INFO] ---------------< com.wakaleo.gameoflife:gameoflife-web >---------------- [INFO] Building gameoflife-web 1.0-SNAPSHOT [4/4] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gameoflife-web --- [INFO] Deleting C:\ProgramData\Jenkins.jenkins\workspace\wakaleo\gameoflife-web\target [INFO] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-versions) @ gameoflife-web --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gameoflife-web --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (jacoco-initialize) @ gameoflife-web --- [INFO] argLine set to -javaagent:C:\WINDOWS\system32\config\systemprofile\.m2\repository\org\jacoco\org.jacoco.agent\0.7.2.201409121644\org.jacoco.agent-0.7.2.201409121644-runtime.jar=destfile=C:\ProgramData\Jenkins\.jenkins\workspace\wakaleo\gameoflife-web\target\jacoco.exec [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ gameoflife-web --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to C:\ProgramData\Jenkins.jenkins\workspace\wakaleo\gameoflife-web\target\classes [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for gameoflife 1.0-SNAPSHOT: [INFO] [INFO] gameoflife ......................................... SUCCESS [ 3.757 s] [INFO] gameoflife-build ................................... SUCCESS [ 1.962 s] [INFO] gameoflife-core .................................... SUCCESS [ 0.604 s] [INFO] gameoflife-web ..................................... SUCCESS [ 0.581 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.883 s [INFO] Finished at: 2023-07-10T14:29:21+05:30 [INFO] ------------------------------------------------------------------------ [wakaleo] $ cmd /c call C:\WINDOWS\TEMP\jenkins355362382058990048.bat

C:\ProgramData\Jenkins.jenkins\workspace\wakaleo>mvn install 'mvn' is not recognized as an internal or external command, operable program or batch file.

C:\ProgramData\Jenkins.jenkins\workspace\wakaleo>mvn jetty:run 'mvn' is not recognized as an internal or external command, operable program or batch file.

C:\ProgramData\Jenkins.jenkins\workspace\wakaleo>exit 9009 Build step 'Execute Windows batch command' marked build as failure Finished: FAILURE

Eng-Boy commented 1 year ago

我登陆邮箱的时间一年之中屈指可数啊,所以...