Hello Everybody,
I am trying to build Jenkins source within Jenkins as a job on Windows and i am not able to see a successful build. Can somebody please suggest?
build command -> mvn -Dskip-test-harness install -e
[INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Jenkins main module [INFO] Jenkins cli [INFO] Jenkins core [INFO] Jenkins war [INFO] Tests for Jenkins core [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Jenkins main module 1.648-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven) @ pom --- [INFO] [INFO] --- maven-enforcer-plugin:1.0.1:display-info (display-info) @ pom --- [INFO] Maven Version: 3.3.3 [INFO] JDK Version: 1.8.0_45 normalized as: 1.8.0-45 [INFO] OS Info: Arch: amd64 Family: dos Name: windows server 2012 r2 Version: 6.3 [INFO] [INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ pom --- [INFO] Adding ignore: org.eclipse.jetty.spdy.* [INFO] [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-banned-dependencies) @ pom --- [INFO] [INFO] --- build-helper-maven-plugin:1.7:timestamp-property (timestamp-property) @ pom --- [INFO] Setting property 'now' to '02/09/2016 03:46 GMT'. [INFO] [INFO] --- build-helper-maven-plugin:1.7:regex-property (version-property) @ pom --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Jenkins main module ................................ FAILURE [ 0.369 s] [INFO] Jenkins cli ........................................ SKIPPED [INFO] Jenkins core ....................................... SKIPPED [INFO] Jenkins war ........................................ SKIPPED [INFO] Tests for Jenkins core ............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.080 s [INFO] Finished at: 2016-02-08T19:46:29-08:00 [INFO] Final Memory: 15M/619M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:build-helper-maven-plugin:1.7:regex-property (version-property) on project pom: Execution version-property of goal org.codehaus.mojo:build-helper-maven-plugin:1.7:regex-property failed: Illegal group reference -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:build-helper-maven-plugin:1.7:regex-property (version-property) on project pom: Execution version-property of goal org.codehaus.mojo:build-helper-maven-plugin:1.7:regex-property failed: Illegal group reference at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution version-property of goal org.codehaus.mojo:build-helper-maven-plugin:1.7:regex-property failed: Illegal group reference at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more Caused by: java.lang.IllegalArgumentException: Illegal group reference at java.util.regex.Matcher.appendReplacement(Matcher.java:857) at java.util.regex.Matcher.replaceAll(Matcher.java:955) at org.codehaus.mojo.buildhelper.RegexPropertyMojo.execute(RegexPropertyMojo.java:126) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 21 more [ERROR] [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/PluginExecutionException Build step 'Execute Windows batch command' marked build as failure Finished: FAILURE