Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32635

SNAPSHOT trigger enhacements

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor Minor
    • maven-plugin
    • None

      The background of this feature is quite simple. In Smart4Aviation Jenkins is widely used for projects built with Maven. We have quite a big count of modules on Jenkins (about 3000) and they create a lot of dependencies between each other. We can't store long history of builds for modules and from time to time some module(s) has no successful build. Other modules dependent from such module configured with the trigger "SNAPSHOT dependency is built" will not be scheduled for build when any other its snapshot dependecy was built with the cause "module <module-without-successful-builds> has no successful builds". While this is true from the Jenkins point of view at the same time dependent module may be built successfuly because in Maven repository some previous snapshot of broken dependency is present in many times, sure not always. Such behaviour in fact brokes "continuous integration" we would like to achive with Jenkins.

      Introduced feature will allow to turn on tolerance for absence of successful builds in dependencies. But from the other hand may schedule extra and potentially unsuccessful build.

      I've created pull request with the implementation: https://github.com/jenkinsci/maven-plugin/pull/57

            Unassigned Unassigned
            alexzherebtsov Alex Zherebtsov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: