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

Error running a manual pipeline step

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
    • Environment:
      Jenkins 1.569, Delivery Pipeline Plugin 0.8.1, Build Pipeline Plugin 1.4.2/1.4.3,
    • Similar Issues:

      Description

      Clicking the icon in the Delivery Pipeline Plugin to run a manual step in a pipeline yields a "Cannot trigger build!" error. Running the manual step in Build Pipeline Plugin is successful (with either 1.4.2 or 1.4.3). Steps to reproduce:

      • Create a pipeline with a manual step
      • Run the pipe up to the manual step
      • Click the icon to the the right of the manual step

      In Chrome, this produces a popup with the error message shown in the attached image.

        Attachments

          Activity

          Hide
          patbos Patrik Boström added a comment - - edited

          Thanks for your answers!
          It looks like I can reproduce the issue by enabling "Prevent Cross Site Request Forgery exploits" under Configure Global Security. If enabled I get "Could not trigger build!" if not enabled it will trigger build.

          Show
          patbos Patrik Boström added a comment - - edited Thanks for your answers! It looks like I can reproduce the issue by enabling "Prevent Cross Site Request Forgery exploits" under Configure Global Security. If enabled I get "Could not trigger build!" if not enabled it will trigger build.
          Show
          patbos Patrik Boström added a comment - - edited Now it will send the crumb needed when "Prevent Cross Site Request Forgery exploits" is enabled. Fixed in commit: https://github.com/Diabol/delivery-pipeline-plugin/commit/ff39674516baed00bf0c071e00ec8324ed6b0b75 https://github.com/Diabol/delivery-pipeline-plugin/commit/913b783ee94f63498d7636136de47c340d0ade66 There is a build containing the fix here: http://build.diabol.se/jenkins/job/Delivery%20Pipeline%20Plugin/job/build/90/se.diabol.jenkins.pipeline$delivery-pipeline-plugin/artifact/se.diabol.jenkins.pipeline/delivery-pipeline-plugin/0.8.2-SNAPSHOT/delivery-pipeline-plugin-0.8.2-SNAPSHOT.hpi Please test it and report back the result. Will be released later this week.
          Hide
          jfiser Jeff Fiser added a comment -

          You are the man! This fix worked for me.

          Thanks,
          Jeff

          Show
          jfiser Jeff Fiser added a comment - You are the man! This fix worked for me. Thanks, Jeff
          Hide
          patbos Patrik Boström added a comment -

          Released in 0.8.2

          Show
          patbos Patrik Boström added a comment - Released in 0.8.2
          Hide
          craftsman Roy Miller added a comment - - edited

          The fix works for me, too. Well done there. The only issue I have now is that the arrows between stages no longer show up, either in FF or Chrome. (I can't seem to attach a screenshot to a ticket comment.)

          My custom stylesheet isn't the problem, because the arrows also don't appear when I'm not using my stylesheet. The same problem exists for fullscreen view and non-fullscreen.

          Did something change when you fixed this ticket that might have broken the arrows?

          Show
          craftsman Roy Miller added a comment - - edited The fix works for me, too. Well done there. The only issue I have now is that the arrows between stages no longer show up, either in FF or Chrome. (I can't seem to attach a screenshot to a ticket comment.) My custom stylesheet isn't the problem, because the arrows also don't appear when I'm not using my stylesheet. The same problem exists for fullscreen view and non-fullscreen. Did something change when you fixed this ticket that might have broken the arrows?

            People

            • Assignee:
              patbos Patrik Boström
              Reporter:
              craftsman Roy Miller
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: