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

how to use when branch keyword

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Critical Critical
    • p4-plugin
    • None

      Hi,

       

      Is there a p4 way for below ?

       

      Please refer to https://jenkins.io/doc/tutorials/build-a-multibranch-pipeline-project/

      There's expression like

      stage('a') {
        when {
          branch 'dev'
        }
        steps {
      <snip>
        }
      }
      

       

      How can I use for this in p4?

       

            Unassigned Unassigned
            luckyhorang Hokwang Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: