How can I trigger build of another job from inside the Jenkinsfile? I assume that this job is another repository under the same github organization, one that already has...
Are comments possible in a Jenkinsfile? If so, what’s the syntax? I am using the declarative pipeline syntax. I want to comment out the “post” section below until my...
When writing jenkins pipelines it seems to be very inconvenient to commit each new change in order to see if it works. Is there a way to execute these...
How do I get the output of a shell command executed using into a variable from Jenkinsfile (groovy)?
I have something like this on a Jenkinsfile (Groovy) and I want to record the stdout and the exit code in a variable in order to use the information...
I am new to docker. I just tried to use docker in my local machine(Ubuntu 16.04) with Jenkins. I configured a new job with below pipeline script. node {...
I am running the following command from my Jenkinsfile. However, I get the error “The input device is not a TTY”. docker run -v $PWD:/foobar -it cloudfoundry/cflinuxfs2 /foobar/script.sh Is...