I have simple build job. 1. Git checkout 2. Maven build with selected profile)
Build ends with success status, but then Jenkins run other build and it ends with failure status because profile is not selected. Here is part of second build log. Parsing POMs Modules changed, recalculating dependency graph [build-job] $ /usr/lib/jvm/java-7-openjdk-amd64/bin/java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.5.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/share/maven /var/cache/jenkins/war/WEB-INF/lib/remoting-2.44.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.5.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.5.jar 58297 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/workspace/build-job/pom.xml install Why is run second build and how can I change this build? Selected profile is dynamic parameter and it can't be selected in pom.xml. Can I disable this second build? Has this feature also earlier versions of Jenkins? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
