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

Build Pipeline Manual Trigger job is running automatically used with flexible-publish

    XMLWordPrintable

Details

    • Improvement
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • build-pipeline-plugin
    • None
    • Jenkins 1.610, build-pipeline 1.47, flexible-publish 0.152

    Description

      If I have flexible publish set up to call a downstream job with a manual trigger (in my case only if the build is successful) it just calls the job automatically, no "play" button.

      If I do it without flexible publish, it will show the "play" triangle on the job and wait for me to trigger it.

      Also: Is it possible have that play button take you to a screen where you can change parameters? I have a boolean defined and I want the user to be able to set that to true or false before running the job.

      Attachments

        Activity

          ikedam ikedam added a comment -

          This is caused as "Manually Execute Downstream Projects" are wrapped in flexible-publish and build-pipeline-plugin fails to find it.
          https://github.com/jenkinsci/build-pipeline-plugin/blob/build-pipeline-plugin-1.4.7/src/main/java/au/com/centrumsystems/hudson/plugin/util/ProjectUtil.java#L97

          Flexible-publish-plugin doesn't always work with any plugins.
          I added build-pipeline-plugin to known plugins unusable with flexible-publish:
          https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin#FlexiblePublishPlugin-Knownpluginsthatdoesn%27tworkwithFlexiblePublish

          Build-pipeline-plugin may improve this behavior by storing "manual trigger" in DownstreamDependency.

          ikedam ikedam added a comment - This is caused as "Manually Execute Downstream Projects" are wrapped in flexible-publish and build-pipeline-plugin fails to find it. https://github.com/jenkinsci/build-pipeline-plugin/blob/build-pipeline-plugin-1.4.7/src/main/java/au/com/centrumsystems/hudson/plugin/util/ProjectUtil.java#L97 Flexible-publish-plugin doesn't always work with any plugins. I added build-pipeline-plugin to known plugins unusable with flexible-publish: https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin#FlexiblePublishPlugin-Knownpluginsthatdoesn%27tworkwithFlexiblePublish Build-pipeline-plugin may improve this behavior by storing "manual trigger" in DownstreamDependency .

          People

            Unassigned Unassigned
            prstell Patrick Ryan
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: