Declarative Pipeline serialization errors when XStreamPickle is used

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

XMLWordPrintable

      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
        }
      }
      

        1. stacktrace.txt
          57 kB
          Michael McCaskill

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

              Created:
              Updated:
              Resolved:
              Archived: