Ec2 Plugin - VPC Peering

2020-06-26 Thread Alex Panayi
Hey everyone. We have a setup between two AWS accounts, connected via VPC peering. We are using the AWS ec2 plugin, to set up an agent on jenkins. Our jenkins master is located in VPC A, and we would like to setup an agent in VPC B. VPC A has peering connection to VPC B, with route tables

How to avoid upstream trigger build cascade

2020-06-26 Thread 'Matthias Schöpfer' via Jenkins Users
Hi! Sorry, I have a question. We have some (not crazy, but still) number of jobs, that have dependencies to other jobs. The final job has about 15-20 deps. All those dependencies may have dependencies among each other. I added those dependencies to the "upstream trigger". Now, when the first

How to enable timeout in pipeline based on a condition?

2020-06-26 Thread Gajanan Mahajan
I've a Jenkins pipeline with following stage - stage('Test') { options { timeout(time: 5, unit: 'MINUTES') } steps { script { //some code here }