This above (input with timeout) is what we are currently doing. When the
milestone step is done (see
https://issues.jenkins-ci.org/plugins/servlet/mobile#issue/JENKINS-27039),
I believe we will switch to using that instead.

On Tue, Jul 12, 2016, 16:25 Vincent Latombe <[email protected]>
wrote:

> You could use an input step (
> https://jenkins.io/doc/pipeline/steps/pipeline-input-step/#code-input-code-wait-for-interactive-input)
> to require manual validation.
> Wrap it in a timeout
> https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#code-timeout-code-enforce-time-limit
> to clean-up pending builds you didn't approve after a given time.
>
> Vincent
>
> 2016-07-12 22:57 GMT+02:00 Greg Smith <[email protected]>:
>
>> I have exactly this same need, but with pipeline builds.
>>
>> The Promotion plugin works awesome for regular builds, but unfortunately
>> does not work with pipeline builds.
>>
>> I created this Jira to track enhancing the plugin to support pipeline
>> builds:  https://issues.jenkins-ci.org/browse/JENKINS-36089
>>
>> Has anyone found any other solution for this use case (Need to take
>> actions on a specific build) when using multibranch pipeline builds?
>>
>> Cheers,
>> Greg
>>
>>
>> On Tuesday, July 12, 2016 at 9:24:00 AM UTC-4, Eric Pyle wrote:
>>>
>>> You might take a look at the Promoted Builds plugin. It allows you to
>>> manually "promote" a particular build, and trigger other actions. It's
>>> designed exactly for this sort of situation.
>>>
>>> Eric
>>>
>>> On 7/12/2016 8:57 AM, Jonathan Hodgson wrote:
>>>
>>> Hi,
>>>
>>> If a build is successful (compiled correctly, passed all tests), I may
>>> then want to send it out to beta testers. Which means copying the built
>>> binary to a location where they can find it, and sending out emails. I
>>> don't want to do this for exery successful build though.
>>>
>>> A sensible solution is seems to me would be to have a button on the
>>> build page where I could trigger a groovy script to do this. Is there a
>>> plugin which would facilitate this?
>>>
>>> regards
>>>
>>> Jon
>>> --
>>> 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 [email protected].
>>> To view this discussion on the web visit
>>> <https://groups.google.com/d/msgid/jenkinsci-users/22e1eeef-42a3-4604-ba1a-5731e1b91efd%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> https://groups.google.com/d/msgid/jenkinsci-users/22e1eeef-42a3-4604-ba1a-5731e1b91efd%40googlegroups.com
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>> --
>>>
>>> * Eric Pyle *
>>> Release Engineer
>>> Lebanon
>>> +1 603-277-3060 (T)
>>> +1 603-359-8670 (M)
>>> [email protected]
>>> <http://www.cd-adapco.com>http://www.cd-adapco.com
>>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/f081859c-0aa8-4fb5-8f42-6a6380f37577%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/f081859c-0aa8-4fb5-8f42-6a6380f37577%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAH-zGChcR_D23TTJGnJQAkvvqMPDWW5%3DJnr-2fwuD%3DOr3MKNVw%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAH-zGChcR_D23TTJGnJQAkvvqMPDWW5%3DJnr-2fwuD%3DOr3MKNVw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CALELY9Ge9McEkoY3r7OfmNQ7UYmNZwD1Bkr%2BpBr14Wb9fUvdqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to