Wrappers in options

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

XMLWordPrintable

      We want to change wrappers from:

      pipeline {
          agent none
          wrappers {
              timeout(time: 5, unit: 'MINUTES')
              colorize()
          }
          stages {
              stage("foo") {
                  steps {
                      echo "hello"
                  }
              }
          }
      }
      

      To look like this:

      pipeline {
          agent none
          options {
            timeout(time: 5, unit: 'MINUTES')
            colorize()
          }
          stages {
              stage("foo") {
                  steps {
                      echo "hello"
                  }
              }
          }
      }
      

            Assignee:
            Andrew Bayer
            Reporter:
            James Dumay
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: