Issue Type: Bug Bug
Affects Versions: current
Assignee: Justin Ryan
Attachments: Screen Shot 2013-11-20 at 12.16.10 PM.png
Components: job-dsl-plugin
Created: 20/Nov/13 8:17 PM
Description:

Note, this is not a dupe of https://issues.jenkins-ci.org/browse/JENKINS-16998 which affects downstreamParameterized.

I believe this is actually just a mistake in the documentation (wiki).

The docs mention downstream() accepting 'ALWAYS' as a valid value for the second argument, but this is not accepted by the job-dsl implementation and is not an option provided in the jenkins UI (radio button texts are: "Trigger only if build succeeds", "Trigger even if the build is unstable", "Trigger even if the build fails").

Docs:
https://github.com/jenkinsci/job-dsl-plugin/wiki/Job-reference#downstream

DSL Code:
https://github.com/jenkinsci/job-dsl-plugin/blob/master/job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/PublisherContextHelper.groovy#L476

UI screenshot is attached.

Project: Jenkins
Priority: Minor Minor
Reporter: Mike Dougherty
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to