I'm configuring Jenkins (2.6) with Subversion (TortoiseSVN 1.9.4), Maven (3.3.9), JDK 1.8.0_91 and Artifactory (4.7.6).
But my problem is, that it seems that I always check out just the same old codeversion for release build.
Maven goals for release buid: clean install -B -Dresume=false release:prepare release:perform -Darguments="-Dmaven.javadoc.skip=true"
The build is also successful but when the release part starts, Jenkins tries building another, old release.
In the console output I see it starts with executing goals "deploy". At that point Jenkins ALWAYS tries to build the old release 2.1 (actual 2.2.22 and higher).
Therefore Jenkins downloads and uploads data from the old artifactory (without changes).
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:perform (default-cli) on project bev-web-base: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]
I tried changing the maven release plugin from 2.5.3 to 2.5.2, but that has no effect. I also tried to delete all checkouts from C:\Program Files (x86)\Jenkins\jobs\Jobname\workspace\ and my local repository but all my changes are effectless.
(the configuration for the new artifactory ist actual in settings.xml and root POM)
Do you a maven job type, or a freestyle one. If the first, then you might want to try using a freestyle job instead as a first debugging step.
My 2 cents
--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/58cc267f-1e0a-45ec-aef5-63244fb5e0f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.