Feature request: configurable seed build status

66 views
Skip to first unread message

Sven Ackermann

unread,
Aug 10, 2016, 11:25:06 AM8/10/16
to job-dsl-plugin
Hi,
I wonder if it is possible to provide options in the DSL build step to configure when the seed job should fail and when it should be unstable.
I think at the moment the build is unstable when the script tries to configure a plugin that is not installed and it only fails on script errors. If everything is ok or the script just uses deprecated features, the build is stable.

For example I'd like the build to fail if the script refers to uninstalled plugins which means that nothing should be changed by the seed build leaving all jobs and views as is. And I'd like it to be unstable on deprecation warnings.

Thanks in advance,
Sven

Daniel Spilker

unread,
Aug 15, 2016, 10:44:10 AM8/15/16
to job-dsl...@googlegroups.com
Sounds reasonable. So we need two new settings: "Fail build on missing plugin" and "Set build to unstable when using deprecated features". Can you open two feature requests in JIRA?

Daniel


--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugin+unsubscribe@googlegroups.com.
To post to this group, send email to job-dsl-plugin@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/fcde0f28-1655-4c24-8bfe-2112cca472f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sven Ackermann

unread,
Aug 15, 2016, 11:13:46 AM8/15/16
to job-dsl-plugin


Am Montag, 15. August 2016 16:44:10 UTC+2 schrieb Daniel Spilker:
Sounds reasonable. So we need two new settings: "Fail build on missing plugin" and "Set build to unstable when using deprecated features". Can you open two feature requests in JIRA?

Daniel
On Wed, Aug 10, 2016 at 5:25 PM, Sven Ackermann <svenre...@gmail.com> wrote:
Hi,
I wonder if it is possible to provide options in the DSL build step to configure when the seed job should fail and when it should be unstable.
I think at the moment the build is unstable when the script tries to configure a plugin that is not installed and it only fails on script errors. If everything is ok or the script just uses deprecated features, the build is stable.

For example I'd like the build to fail if the script refers to uninstalled plugins which means that nothing should be changed by the seed build leaving all jobs and views as is. And I'd like it to be unstable on deprecation warnings.

Thanks in advance,
Sven

--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages