Issue Type: New Feature New Feature
Assignee: Unassigned
Attachments: verify.patch
Components: core, maven
Created: 15/Dec/13 2:40 PM
Description:

Currently the dependency graph for "Build whenever a SNAPSHOT dependency is built" maven jobs works only for Maven install and deploy lifecycle.

If you want to split your job into two steps where the first step verifies that your maven project compiles and all test are successful and in the second step one then upload the new artefacts to your remote repository (if the first step works fine) this currently works of you run the first step with mvn clean install but not with clean verify. The problem with that when your build fails is (e.g. compilation problems, broken tests) that one has a set of artefacts in your local repository which is incomplete and in the worst case also incompatible as some parts already new and same parts are old and they are not compatible, e.g. by an API change.

So solve this the artefacts shall only be deployed to the local and remote depository when the verify phase was successful. In order to make the "Build whenever a SNAPSHOT dependency is built" feature working, the dependency graph needs to be created not only for the install and verify lifecycle phase, but already for the verify phase.

Please find attached a patch which contains these changes.

If you think the patch is correct, please let me know and I create a proper hit pull request.

Project: Jenkins
Priority: Major Major
Reporter: Christian Galsterer
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to