pipeline - keep build forever

680 views
Skip to first unread message

roman...@fluidtime.com

unread,
Oct 13, 2016, 7:18:55 AM10/13/16
to Jenkins Users
Hi there,

Is there any possibility to keep a build forever programmatically after submitting an input approval step?

Best,
Roman

Daniel Beck

unread,
Oct 14, 2016, 1:59:54 AM10/14/16
to jenkins...@googlegroups.com

> On 13.10.2016, at 13:18, roman...@fluidtime.com wrote:
>
> Is there any possibility to keep a build forever programmatically after submitting an input approval step?

currentBuild.rawBuild.keepLog(true) should do this.

This requires sandbox script approval.

Should probably be exposed for 'currentBuild' and allowed in the sandbox, so please file an RFE.

roman...@fluidtime.com

unread,
Oct 16, 2016, 3:42:24 PM10/16/16
to Jenkins Users, m...@beckweb.net
works.

How to file an RFE?

best,
Roman

Baptiste Mathus

unread,
Oct 17, 2016, 3:12:18 AM10/17/16
to jenkins...@googlegroups.com

Hey,

You need to have an account on the Jenkins infra.
You can create one going on accounts.jenkins.io

Then create a Jira issue in issues.jenkins-ci.org

Cheers!


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/85a87a4c-e5e6-4056-ba80-36ed1470cfae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

roman...@fluidtime.com

unread,
Oct 17, 2016, 7:28:02 AM10/17/16
to Jenkins Users, m...@batmat.net
created https://issues.jenkins-ci.org/browse/JENKINS-39028

please update as you see fit.
best,
Roman


Am Montag, 17. Oktober 2016 09:12:18 UTC+2 schrieb Baptiste Mathus:

Hey,

You need to have an account on the Jenkins infra.
You can create one going on accounts.jenkins.io

Then create a Jira issue in issues.jenkins-ci.org

Cheers!

Le 16 oct. 2016 9:42 PM, <roman...@fluidtime.com> a écrit :
works.

How to file an RFE?

best,
Roman

Am Freitag, 14. Oktober 2016 07:59:54 UTC+2 schrieb Daniel Beck:

> On 13.10.2016, at 13:18, roman...@fluidtime.com wrote:
>
> Is there any possibility to keep a build forever programmatically after submitting an input approval step?

currentBuild.rawBuild.keepLog(true) should do this.

This requires sandbox script approval.

Should probably be exposed for 'currentBuild' and allowed in the sandbox, so please file an RFE.

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