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

Job-dsl-plugin support for parameterized scheduler plugin

    XMLWordPrintable

Details

    Description

      Hi,

       

      I would like to use parameterized scheduler plugin with job dsl plugin but this doesn't seem to be supported currently

       

      Thanks

      Attachments

        Activity

          daspilker Daniel Spilker added a comment - - edited

          This is supported by the Dynamic DSL:

          job(String name) {
            triggers {
              parameterizedTimerTrigger {
                // follow convension of cron, schedule with name=value pairs at the end of each line.
                parameterizedSpecification(String value)
              }
            }
          }
          daspilker Daniel Spilker added a comment - - edited This is supported by the Dynamic DSL : job( String name) { triggers { parameterizedTimerTrigger { // follow convension of cron, schedule with name=value pairs at the end of each line. parameterizedSpecification( String value) } } }

          Thanks. Have been able to get this working.

          hibbs82 Andrew Hibbert added a comment - Thanks. Have been able to get this working.
          fatemahasta Fatema Hasta added a comment -

          I have been using 1.76v of Job DSL and looks like the Parameterized Schedular plugin has been deprecated for the 1.76v. Is there another alternative that i could use?

          fatemahasta Fatema Hasta added a comment - I have been using 1.76v of Job DSL and looks like the Parameterized Schedular plugin has been deprecated for the 1.76v. Is there another alternative that i could use?

          People

            daspilker Daniel Spilker
            hibbs82 Andrew Hibbert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: