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

Manual Build Trigger invoke job on different folder level

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Job & View Folder Structure:

      RootFolder/
      --Continous Delivery View
      --SubFolder/
      ----JobA
      ----JobB

      JobA -> (Manual Trigger) -> JobB

      If the delivery pipeline view is created at a different folder level than where the manually triggered job is located, it throws a null pointer exception.

      I've tried multiple combinations of specifying the absolute path, relative path from the view but, it will not take.

      The relative path from the view would probably work to trigger the manual job from the view but it does not display the manual job in the CD view because when it reads the trigger chain specified in the job config, the job folder location is incorrect.

        Attachments

          Activity

          rizvfe00 Ferzan Rizvi created issue -
          Hide
          danielbeck Daniel Beck added a comment -

          The formatting of your description needs some improvement.

          Show
          danielbeck Daniel Beck added a comment - The formatting of your description needs some improvement.
          rizvfe00 Ferzan Rizvi made changes -
          Field Original Value New Value
          Description Job & View Folder Structure:
          RootFolder/
            CD View
            SubFolder/
              JobA-Initial
              JobB-Manual

          JobA-Initial -> (Manual Trigger) -> JobB-Manual

          If the delivery pipeline view is created at a different folder level than where the manually triggered job is located, it throws a null pointer exception.

          I've tried multiple combinations of specifying the absolute path, relative path from the view but, it will not take.

          The relative path from the view would probably work to manually trigger the job from the view but it does not display the job in pipeline view because when it reads the trigger chain specified in the jobs, the job folder location will be incorrect.
          Job & View Folder Structure:
          RootFolder/
          --Continous Delivery View
          --SubFolder/
          ----JobA-Initial
          ----JobB-Manual

          JobA-Initial -> (Manual Trigger) -> JobB-Manual

          If the delivery pipeline view is created at a different folder level than where the manually triggered job is located, it throws a null pointer exception.

          I've tried multiple combinations of specifying the absolute path, relative path from the view but, it will not take.

          The relative path from the view would probably work to manually trigger the job from the view but it does not display the job in pipeline view because when it reads the trigger chain specified in the jobs, the job folder location will be incorrect.
          Hide
          rizvfe00 Ferzan Rizvi added a comment - - edited

          Updated. It didn't like my leading white space.

          Show
          rizvfe00 Ferzan Rizvi added a comment - - edited Updated. It didn't like my leading white space.
          rizvfe00 Ferzan Rizvi made changes -
          Description Job & View Folder Structure:
          RootFolder/
          --Continous Delivery View
          --SubFolder/
          ----JobA-Initial
          ----JobB-Manual

          JobA-Initial -> (Manual Trigger) -> JobB-Manual

          If the delivery pipeline view is created at a different folder level than where the manually triggered job is located, it throws a null pointer exception.

          I've tried multiple combinations of specifying the absolute path, relative path from the view but, it will not take.

          The relative path from the view would probably work to manually trigger the job from the view but it does not display the job in pipeline view because when it reads the trigger chain specified in the jobs, the job folder location will be incorrect.
          Job & View Folder Structure:

          RootFolder/
          --Continous Delivery View
          --SubFolder/
          ----JobA-Initial
          ----JobB-Manual

          JobA-Initial -> (Manual Trigger) -> JobB-Manual


          If the delivery pipeline view is created at a different folder level than where the manually triggered job is located, it throws a null pointer exception.

          I've tried multiple combinations of specifying the absolute path, relative path from the view but, it will not take.

          The relative path from the view would probably work to manually trigger the job from the view but it does not display the job in pipeline view because when it reads the trigger chain specified in the jobs, the job folder location will be incorrect.
          rizvfe00 Ferzan Rizvi made changes -
          Description Job & View Folder Structure:

          RootFolder/
          --Continous Delivery View
          --SubFolder/
          ----JobA-Initial
          ----JobB-Manual

          JobA-Initial -> (Manual Trigger) -> JobB-Manual


          If the delivery pipeline view is created at a different folder level than where the manually triggered job is located, it throws a null pointer exception.

          I've tried multiple combinations of specifying the absolute path, relative path from the view but, it will not take.

          The relative path from the view would probably work to manually trigger the job from the view but it does not display the job in pipeline view because when it reads the trigger chain specified in the jobs, the job folder location will be incorrect.
          Job & View Folder Structure:

          RootFolder/
          --Continous Delivery View
          --SubFolder/
          ----JobA-Initial
          ----JobB-Manual

          JobA-Initial -> (Manual Trigger) -> JobB-Manual


          If the delivery pipeline view is created at a different folder level than where the manually triggered job is located, it throws a null pointer exception.

          I've tried multiple combinations of specifying the absolute path, relative path from the view but, it will not take.

          The relative path from the view would probably work to manually trigger the job from the view but it does not display the job in the CD view because when it reads the trigger chain specified in the job config, the job folder location will be incorrect.
          rizvfe00 Ferzan Rizvi made changes -
          Description Job & View Folder Structure:

          RootFolder/
          --Continous Delivery View
          --SubFolder/
          ----JobA-Initial
          ----JobB-Manual

          JobA-Initial -> (Manual Trigger) -> JobB-Manual


          If the delivery pipeline view is created at a different folder level than where the manually triggered job is located, it throws a null pointer exception.

          I've tried multiple combinations of specifying the absolute path, relative path from the view but, it will not take.

          The relative path from the view would probably work to manually trigger the job from the view but it does not display the job in the CD view because when it reads the trigger chain specified in the job config, the job folder location will be incorrect.
          Job & View Folder Structure:

          RootFolder/
          --Continous Delivery View
          --SubFolder/
          ----JobA-Initial
          ----JobB-Manual

          JobA-Initial -> (Manual Trigger) -> JobB-Manual


          If the delivery pipeline view is created at a different folder level than where the manually triggered job is located, it throws a null pointer exception.

          I've tried multiple combinations of specifying the absolute path, relative path from the view but, it will not take.

          The relative path from the view would probably work to trigger the manual job from the view but it does not display the manual job in the CD view because when it reads the trigger chain specified in the job config, the job folder location is incorrect.
          rizvfe00 Ferzan Rizvi made changes -
          Description Job & View Folder Structure:

          RootFolder/
          --Continous Delivery View
          --SubFolder/
          ----JobA-Initial
          ----JobB-Manual

          JobA-Initial -> (Manual Trigger) -> JobB-Manual


          If the delivery pipeline view is created at a different folder level than where the manually triggered job is located, it throws a null pointer exception.

          I've tried multiple combinations of specifying the absolute path, relative path from the view but, it will not take.

          The relative path from the view would probably work to trigger the manual job from the view but it does not display the manual job in the CD view because when it reads the trigger chain specified in the job config, the job folder location is incorrect.
          Job & View Folder Structure:

          RootFolder/
          --Continous Delivery View
          --SubFolder/
          ----JobA
          ----JobB

          JobA -> (Manual Trigger) -> JobB


          If the delivery pipeline view is created at a different folder level than where the manually triggered job is located, it throws a null pointer exception.

          I've tried multiple combinations of specifying the absolute path, relative path from the view but, it will not take.

          The relative path from the view would probably work to trigger the manual job from the view but it does not display the manual job in the CD view because when it reads the trigger chain specified in the job config, the job folder location is incorrect.
          Hide
          rizvfe00 Ferzan Rizvi added a comment -

          Updated stacktrace

          Show
          rizvfe00 Ferzan Rizvi added a comment - Updated stacktrace
          rizvfe00 Ferzan Rizvi made changes -
          Attachment StackTrace.txt [ 26644 ]
          patbos Patrik Boström made changes -
          Assignee Patrik Boström [ patbos ]
          patbos Patrik Boström made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          patbos Patrik Boström added a comment -
          Show
          patbos Patrik Boström added a comment - Have created a bugfix in PR: https://github.com/Diabol/delivery-pipeline-plugin/pull/81
          Hide
          rizvfe00 Ferzan Rizvi added a comment -

          Thank you for the quick turnaround!

          Show
          rizvfe00 Ferzan Rizvi added a comment - Thank you for the quick turnaround!
          Hide
          patbos Patrik Boström added a comment -

          Will be released in 0.8.6

          Show
          patbos Patrik Boström added a comment - Will be released in 0.8.6
          patbos Patrik Boström made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          patbos Patrik Boström added a comment -

          Released

          Show
          patbos Patrik Boström added a comment - Released
          patbos Patrik Boström made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 157315 ] JNJira + In-Review [ 207988 ]

            People

            • Assignee:
              patbos Patrik Boström
              Reporter:
              rizvfe00 Ferzan Rizvi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: