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

Ability to split sequence of jobs into multiple pipelines

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Useful if you have jobs that should be excluded from pipeline or you want to split sequence of jobs into multiple pipelines.

      Example flow:

      BUILD -> TEST -> DEPLOY DEV -> DEPLOY PROD
      
      • view BUILD
        BUILD -> TEST
        
      • view DEPLOY
        DEPLOY DEV -> DEPLOY PROD
        

        Attachments

          Issue Links

            Activity

            Hide
            patbos Patrik Boström added a comment -

            Released in 0.9.6

            Show
            patbos Patrik Boström added a comment - Released in 0.9.6
            Hide
            nnordrum Noah Nordrum added a comment -

            I'm thinking I was wrong now--you are filtering in a different (probably better, as I don't know this code that well) place than I was.

            Yup--all good! It was the termination of downstream jobs after the last job. You're doing it in ProjectUtil, I wasn't.

            Show
            nnordrum Noah Nordrum added a comment - I'm thinking I was wrong now--you are filtering in a different (probably better, as I don't know this code that well) place than I was. Yup--all good! It was the termination of downstream jobs after the last job. You're doing it in ProjectUtil, I wasn't.
            Hide
            dawidmalina Dawid Malinowski added a comment -

            What exactly use cases are not covered. Please keep in mind that my change is not working with regexp.

            Show
            dawidmalina Dawid Malinowski added a comment - What exactly use cases are not covered. Please keep in mind that my change is not working with regexp.
            Hide
            nnordrum Noah Nordrum added a comment -

            According to the testing I did for my implementation, this is missing some key logic. I'll track on the PR.

            Show
            nnordrum Noah Nordrum added a comment - According to the testing I did for my implementation, this is missing some key logic. I'll track on the PR.
            Show
            dawidmalina Dawid Malinowski added a comment - Fixed in https://github.com/Diabol/delivery-pipeline-plugin/pull/144
            Hide
            nnordrum Noah Nordrum added a comment -

            I think I've got a decent first crack at this. Here's my strategy:

            I added a lastJobRegex where I terminate searching for jobs/tasks when a task id matches the specified regex.

            I'm also looking at adding a hideJobRegex to satisfy JENKINS-26210.

            Thoughts? PR coming shortly (hopefully).

            Show
            nnordrum Noah Nordrum added a comment - I think I've got a decent first crack at this. Here's my strategy: I added a lastJobRegex where I terminate searching for jobs/tasks when a task id matches the specified regex. I'm also looking at adding a hideJobRegex to satisfy JENKINS-26210 . Thoughts? PR coming shortly (hopefully).

              People

              • Assignee:
                dawidmalina Dawid Malinowski
                Reporter:
                dawidmalina Dawid Malinowski
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: