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

Declarative Pipeline serialization errors when XStreamPickle is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • None
    • Jenkins 2.32.2.6
      Declarative Pipeline 1.02

    Description

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

      Attachments

        Issue Links

          Activity

            People

              abayer Andrew Bayer
              mmccaskill Michael McCaskill
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: