Job DSL does not track manual changes correctly

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

      The following Job DSL creates a job called test that will always show the message "This item has been changed manually since it was generated by the seed job." after test has been triggered:

      pipelineJob('test') {
          definition {
              cps {
                  script('''
                      pipeline {
                          agent any
                          stages {
                              stage('build') {
                                  steps {
                                      echo 'building'
                                  }
                              }
                          }
                      }
                  ''')
              }
          }
      }
      

            Assignee:
            Jamie Tanna
            Reporter:
            Artur Szostak
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: