Pass custom parameters to job-dsl via pipeline step jobDsl

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

XMLWordPrintable

      Be able to pass custom parameters to job scripts via the jobDsl pipeline step.

       

      Example:

      node {
          jobDsl targets: ['jobs/projectA/*.groovy', 'jobs/common.groovy'].join('\n'),
                 removedJobAction: 'DELETE',
                 removedViewAction: 'DELETE',
                 lookupStrategy: 'SEED_JOB',
                 params: [param1: 'test', param2: myExpr]
      }
      

       

      See: https://groups.google.com/forum/?fromgroups#!topic/job-dsl-plugin/_EtDfuvBhs4

            Assignee:
            Christian V
            Reporter:
            Christian V
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: