This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      While this block works on my local Jenkins it doesn't work on my company's internal Jenkins

      stage('Push to S3') {
        when {
          expression {
            def branch = env.BRANCH_NAME
            return branch == 'master' || branch == 'develop'
          }
        }
        steps {
          // Push to S3
        }
      }
      

            Assignee:
            Andrew Bayer
            Reporter:
            Michael McCaskill
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: