Re: Using the same label multiple times in pipeline

2017-10-29 Thread Robert Hales
If you have multiple nodes with a label of A, you will need to declare a variable to hold the name of the specific node you ended up on in the first "node" declaration, and then use that node in the third one: def allocatedNode node('A') { allocatedNode = $NODE_NAME } //NODE_NAME is an environ

Using the same label multiple times in pipeline

2017-10-29 Thread Daniel Becroft
Hi, I'm experimenting with the scripted pipeline, and have a question about the use of node('') with a label. If I have the following scenario: node('A') { } node('B') { } node('A') { // Which node will be used here? } Is there any guarantee that the second node() step for "A" will hit the same s

Issue when Setting commit status on GitHub

2017-10-29 Thread Sylvain Lacaze
Hi all, I recently started using Jenkins. Whilst attempting to set up my first job, I ran into the error pasted at the end, for the post build action "Setting commit status on GitHub". Please note that: - It actually set the status in GITHUB, it just then fails the post build action - I