I have created 3 Jenkins jobs that rely to each other. The latter one (project 3) depends on project 1 and project 2. However my project 3 has now compilation errors. When I click on the build information of project 3, I see it relies on build #7 of project 1 and build #3 of project 2, which are not the latest buils (#11 for project 1, #10 for project 2). I could not find how to force project 3 to compile with the latest jars of project 1 and project 2.
All projects are built with Maven 3.1. They are all "snapshot". All resulting jar files are stored in an Artifactory server. I have setthe maven configuration of the Jenkins server so that the Artifactory repository is used. I am new to Artifactory. build#7 of project 1 and build#3 of project 2 are the first artifacts that were stored in Artifactory, so maybe my problem is on the Maven/Artifactory side. Surprisingly, Projects 2, which relies on project 1, uses the latest build of Project 1 - no problem here although Project 2 and project 3 are configured the same in Jenkins. I can browse the Artifactory repository and see all snapshots of project 1 Any help would be appreciated. Environment: Jenkins 1.549 with Artifactory Plugin 2.2.1 and Maven Plugin 2.1. Linux Ubuntu 12.04 x64 Artifactory 3.1.1.1 Maven 3.1 Details of the Jenkins projects -Resolve artifacts from Artifactory (repository libs-snapshot) -maven Goals: clean install -U -deploy artifacts to Artifactory (Target snapshots repository: libs-snapshot) -Deploy maven artifacts -Capture and publish build info Details of the Jenkins configuration: Maven Configuration: Default settings provider: use default maven settings Maven Configuration: Default glocabl settings provider: use default maven global settings Does anyone know what could go wrong? Regards -- 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.
