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

BuildTrigger in Flexible Publish doesn't work since Jenkins 1.501

    XMLWordPrintable

Details

    Description

      Config set to "Build other projects" (trigger only if build is stable)

      Log shows:

      Strings match run condition: string 1=[ref-updated], string 2=[ref-updated]
      Strings match run condition: string 1=[master], string 2=[master]
      Run condition [And] enabling perform for step [Build other projects]

      It's the last step and build is stable, but the other job is NOT triggered. The other job takes one optional argument, but it's never triggered by this plugin.

      Attachments

        Activity

          wernight wernight added a comment -

          I confirm the workaround (using Parameterized Trigger together with Flexible Trigger) to be working.

          wernight wernight added a comment - I confirm the workaround (using Parameterized Trigger together with Flexible Trigger) to be working.

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/org/jenkins_ci/plugins/flexible_publish/ConditionalPublisher.java
          http://jenkins-ci.org/commit/flexible-publish-plugin/cbb69ce22f41f251f3d300508e354867ea49e802
          Log:
          [FIXED JENKINS-25017] Also work for Depende*n*cyDeclarer introduced in Jenkins 1.501.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/org/jenkins_ci/plugins/flexible_publish/ConditionalPublisher.java http://jenkins-ci.org/commit/flexible-publish-plugin/cbb69ce22f41f251f3d300508e354867ea49e802 Log: [FIXED JENKINS-25017] Also work for Depende*n*cyDeclarer introduced in Jenkins 1.501.

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/org/jenkins_ci/plugins/flexible_publish/ConditionalPublisher.java
          http://jenkins-ci.org/commit/flexible-publish-plugin/6b9f980f351ecdfddf0a92b7486f482f84040090
          Log:
          Merge pull request #4 from ikedam/feature/JENKINS-25017_DpendencyDeclarer

          JENKINS-25017 Also work for Depende*n*cyDeclarer introduced in Jenkins 1.501.

          Compare: https://github.com/jenkinsci/flexible-publish-plugin/compare/7c0d2dfc1cb9...6b9f980f351e

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/org/jenkins_ci/plugins/flexible_publish/ConditionalPublisher.java http://jenkins-ci.org/commit/flexible-publish-plugin/6b9f980f351ecdfddf0a92b7486f482f84040090 Log: Merge pull request #4 from ikedam/feature/ JENKINS-25017 _DpendencyDeclarer JENKINS-25017 Also work for Depende*n*cyDeclarer introduced in Jenkins 1.501. Compare: https://github.com/jenkinsci/flexible-publish-plugin/compare/7c0d2dfc1cb9...6b9f980f351e
          ikedam ikedam added a comment -

          Let me have a few more weeks to release a new version fixing this issue.
          I plan to include a fix for another issue.

          ikedam ikedam added a comment - Let me have a few more weeks to release a new version fixing this issue. I plan to include a fix for another issue.
          ikedam ikedam added a comment -

          Fixed in 0.13.
          It will be available in a day.
          Please try that.

          ikedam ikedam added a comment - Fixed in 0.13. It will be available in a day. Please try that.

          People

            ikedam ikedam
            wernight wernight
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: