Thanks!
The input I figured out. Gathering the JUnit results (unconditionally) 
before asking for user input is where I'm stuck at.

Regards,
Bert

On Wednesday, March 1, 2017 at 10:20:44 AM UTC+1, Baptiste Mathus wrote:
>
> For user input, you should be able to use the "input" step.
>
> For real world public usage of Declarative, there's mainly one I've heard 
> of (Declarative reached 1.0 less than one month ago), I've seen a tweet for 
> a mozilla project but can't find it again.
>
> 2017-03-01 8:08 GMT+01:00 Bert <[email protected] <javascript:>>:
>
>> Hello everyone,
>>
>> We recently switched to the declarative pipeline approach. The current 
>> pipeline <https://github.com/yonadev/yona-server/blob/master/Jenkinsfile> 
>> is very simple:
>>
>>    1. Build
>>    2. Setup test server
>>    3. Run integration tests
>>    4. Post: Gather test results
>>
>> No I would like to add a user input to decide whether to take it to the 
>> next stage: deploy it to acceptance test. The user providing that input 
>> should be able to check the test results of that job, so the junit step 
>> needs to move out of the post block, but it needs to remain 
>> unconditional/always.
>>
>> How do I do that?
>> Related: are you aware of serious public deployment pipelines (using the 
>> declarative syntax) with multiple deployment stages and user inputs?
>>
>> Thanks in advance,
>> Bert
>>
>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/cd0d4cd6-df50-4e41-a0ce-8ab41786d53c%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/cd0d4cd6-df50-4e41-a0ce-8ab41786d53c%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/a43d33d5-bfe9-4028-bd9f-a54a3da61b3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to