SyntaxFix
Write A Post
Hire A Developer
Questions
A complete example for scripted pipepline:
stage('Build'){ withEnv(["GOPATH=/ws","PATH=/ws/bin:${env.PATH}"]) { sh 'bash build.sh' } }