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

can I use changeset in when pipeline syntax

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: p4-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Hi,

       

      Is it possible to use changeset syntax ?

       

      For example,

      stage ('test') {
        when {
          changeset "branchA/folder1/**"
        }
        steps {
          ...
        }
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                luckyhorang Hokwang Lee
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: