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

Unable to manually trigger builds because play button is not visible

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Labels:
      None
    • Environment:
      Jenkins ver: 2.89.4;
      Delivery-pipeline-plugin ver: 1.1.1;
      Build-Pipeline-Plugin ver: 1.5.8;
      openjdk 1.8.0_151;
      Ubuntu 16.04.3
    • Similar Issues:

      Description

      When creating an initial job that manually triggers a downstream job in the post-build actions, the downstream job cannot be started using the Delivery Pipeline view because there is no "play" button visible/available after the initial job finishes.  However, when using the Build-Pipeline-View, the downstream job is able to be triggered manually.  There are no errors showing up in the logs that I see.

      To recreate, use the versions listed in the environment section, and create two freestyle projects.  In the first project add a post-build action to "Build other projects (manual step)"  and set the second project as the "Downsteam Project Name."  Create a Delivery pipeline view and set the initial job as the first project you created.  Build project 1 and view the delivery pipeline.  The second job never has a play button to run.

      To add context to the provided image attachment, you can see there are three jobs test1, test2, and test3.  Test1 and Test2 are setup as described above, but Test3 was added via "Build other projects" in Test1's post-build actions.  I did this to show automatic build triggering is working but, not manual as you can see with Test2.

        Attachments

        1. jenkinsjira1.JPG
          jenkinsjira1.JPG
          21 kB
        2. test1_config.xml
          2 kB
        3. test2_config.xml
          1 kB
        4. view_config.xml
          2 kB

          Activity

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

          Enable "Enable manual triggers" in the view configuration.

          Show
          patbos Patrik Boström added a comment - - edited Enable "Enable manual triggers" in the view configuration.
          Hide
          jlook616 Jordan Look added a comment -

          That worked. I was working on this issue all day yesterday and did notice that button.  I appreciate your help and apologize for any inconvenience. 

          Show
          jlook616 Jordan Look added a comment - That worked. I was working on this issue all day yesterday and did notice that button.  I appreciate your help and apologize for any inconvenience. 
          Hide
          jlook616 Jordan Look added a comment -

          Did not see "Enable manual builds" button.  Issue resolved after enabling

          Show
          jlook616 Jordan Look added a comment - Did not see "Enable manual builds" button.  Issue resolved after enabling
          Hide
          patbos Patrik Boström added a comment -

          No problem, happy to help!

          Show
          patbos Patrik Boström added a comment - No problem, happy to help!

            People

            • Assignee:
              patbos Patrik Boström
              Reporter:
              jlook616 Jordan Look
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: