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

Error in documentation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • job-dsl-plugin
    • None

      Hi,

      There seems to be a documentation error in the section 'Parameterized Trigger as Build Step' on
      https://github.com/jenkinsci/job-dsl-plugin/wiki/Job-reference

      When using this plugin as a build step, the docs says 'The condition arg is one of these possible values: SUCCESS, UNSTABLE, UNSTABLE_OR_BETTER, UNSTABLE_OR_WORSE, FAILED.'

      The only valid value is 'ALWAYS'. If using any of the above values the downstream job will not get triggered. The above values are valid when configuring the plugin as a post build step.

      Workaround is to re-save the job in Jenkins and the correct value is inserted.

      Regards
      Kent Källström

            daspilker Daniel Spilker
            kent_kallstrom Kent Källström
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: