Skip to content

Instantly share code, notes, and snippets.

@iocanel
Created December 15, 2015 12:58
Show Gist options
  • Save iocanel/ba53257928abb77248a1 to your computer and use it in GitHub Desktop.
Save iocanel/ba53257928abb77248a1 to your computer and use it in GitHub Desktop.
Jenkins launcher command
nohup sh -c echo $$$$ > '/home/jenkins/workspace/workspace/test-workflow17/.5fc8d3e8/pid'
jsc=durable-d0ccb5e108e2e57946d9472370a62c5f
JENKINS_SERVER_COOKIE=$$jsc '/home/jenkins/workspace/workspace/test-workflow17/.5fc8d3e8/script.sh' > '/home/jenkins/workspace/workspace/test-workflow17/.5fc8d3e8/jenkins-log.txt' 2>&1
echo $$? > '/home/jenkins/workspace/workspace/test-workflow17/.5fc8d3e8/jenkins-result.txt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment