pipeline with specific user

2017-09-09 Thread 'Anand Dasari' via Jenkins Users
I have pipeline code running as deploy user. my Jenkins service is running as docker container, and my host vm is docker container, so I'm using docker in docker I started my Jenkins with volume /var/run/docker.sock:/var/run/docker.sock Jenkins started as Jenkins user and also I have deploy user

Jenkins pipeline with multiple conditions

2017-09-02 Thread 'Anand Dasari' via Jenkins Users
Hi I have a pipeline which evaluates a variable to true or false, based on this I need to execute my next stage. I'm struggling to achieve this, please somebody help me as this is urgent I'm getting either pipeline failure or can't use when condition properly here is my snippet stage ('test