Jobs created with JCASC using Job dsl are not queued on start up.

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

XMLWordPrintable

      Jobs created with JCASC using Job DSL are not queued on startup.

      Jcasc config added for creating a freestyle Job and queue it for run the JOb on startup. Jenkins has the Job created but the Job dint run on startup even after queuing.

      // code placeholder
      
      jobs:
          - script: >
              freeStyleJob('Seed_job') {
                  scm {
                      git{
                          branch('master')
                          remote{
                              credentials('github_e_token')
                              url('https://github.com/jenkins_bootstrap.git')
                                  }                 
                              }
                          }
                  triggers {
                       githubPush()
                           }
                  steps {
                      dsl {
                          external('seedJob.groovy')
                          removeAction('DELETE')
                      }
                      }
                  }
          - script: queue('Seed_job')
      

       

            Assignee:
            Jamie Tanna
            Reporter:
            santhosh ruttala
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: