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

Scriptler Script's parameter not created with Job DSL

XMLWordPrintable

      After 2.6.0 of active-choices-plugin`, the plugin use scriptlerBuilder, and so I added `DataBoundConstructor` on ScriptlerBuilder (https://github.com/jenkinsci/scriptler-plugin/pull/80).

      But when I run this job dsl script,

      scriptlerScript {
          scriptlerBuilder {
              builderId('org.jenkinsci.plugins.scriptler.builder.ScriptlerBuilder')
              scriptId('TestImageTags.groovy')
              propagateParams(true)
              parameters {
                  parameter {
                      name 'PROJECT_NAME'
                      value '$PROJECT_NAME'
                  }
                  parameter {
                      name 'CLOUD_HOST_TYPE'
                      value '$CLOUD_HOST_TYPE'
                  }
                  parameter {
                      name 'PROFILE'
                      value '$TEST_PROFILE'
                  }
              }
          }
          isSandboxed(false)
      }
      

      there is no parameters in new jobs.


       

            juny Junyeong Yim (임준영)
            juny Junyeong Yim (임준영)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: