Re: Pipeline with tests and deployment

2017-03-01 Thread Bert
Unconditionally gathering the JUnit results was actually simple: just add a post block each test stage, see the Jenkinsfile here . The input is a little harder. I know how to do it through a script, but I'd like to stay in the decl

Re: Pipeline with tests and deployment

2017-03-01 Thread Bert
The Tweet you referred to is this one . The Jenkinsfile is here on GitHub . Thanks for mentioning it. Regards, Bert On Wednesday,

Re: Pipeline with tests and deployment

2017-03-01 Thread Bert
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 w

Re: Pipeline with tests and deployment

2017-03-01 Thread Baptiste Mathus
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 : > Hello ev

Pipeline with tests and deployment

2017-02-28 Thread Bert
Hello everyone, We recently switched to the declarative pipeline approach. The current pipeline is very simple: 1. Build 2. Setup test server 3. Run integration tests 4. Post: Gather test results No I would like to ad