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

Reveal changed paths in git commits to conditions in pipeline

    Details

    • Similar Issues:

      Description

      It should be possible to skip some pipeline steps depending on paths changed in latest git commits.
      For example out of all components living in a repository I need to test only the changed ones, not spending time and resources for unchanged ones tested earlier.

      This could sound like a duplicate of JENKINS-36195, but there are couple key points.
      Use of Excluded Regions of checkout would add redundant fetch from remote for every conditional step.
      All the commits from previous NOT_BUILT builds should also be analyzed since pipeline skips steps when new build arrives.

        Attachments

          Activity

          vorobievalex Alexander Vorobiev created issue -
          markewaite Mark Waite made changes -
          Field Original Value New Value
          Assignee Mark Waite [ markewaite ]
          jglick Jesse Glick made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Not A Defect [ 7 ]
          markewaite Mark Waite made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              vorobievalex Alexander Vorobiev
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: