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

SNAPSHOT trigger enhacements

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            Hide
            alexzherebtsov Alex Zherebtsov added a comment -
            Show
            alexzherebtsov Alex Zherebtsov added a comment - Pull request https://github.com/jenkinsci/maven-plugin/pull/57 merged
            Hide
            aheritier Arnaud Héritier added a comment -

            Fixed in 2.13

            Show
            aheritier Arnaud Héritier added a comment - Fixed in 2.13
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Alex Zherebtsov
            Path:
            src/main/java/hudson/maven/MavenModuleSet.java
            src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
            http://jenkins-ci.org/commit/maven-plugin/c10cfb4dc880964cf10d952ec4109fbe5a6eae56
            Log:
            JENKINS-32635: Fix load/save ignoreUnsuccessfulUpstreams parameter (#78)

            ignoreUnsuccessfulUpstreams parameter should be captured within triggerByDependency
            configuration in the form JSON

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Zherebtsov Path: src/main/java/hudson/maven/MavenModuleSet.java src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly http://jenkins-ci.org/commit/maven-plugin/c10cfb4dc880964cf10d952ec4109fbe5a6eae56 Log: JENKINS-32635 : Fix load/save ignoreUnsuccessfulUpstreams parameter (#78) ignoreUnsuccessfulUpstreams parameter should be captured within triggerByDependency configuration in the form JSON

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: