Update 'Jenkinsfile'
This commit is contained in:
parent
0d7e1992a7
commit
dce1cb792e
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -51,8 +51,10 @@ pipeline{
|
|||||||
steps {
|
steps {
|
||||||
sh'''
|
sh'''
|
||||||
export -p | tee env.source
|
export -p | tee env.source
|
||||||
|
cat <<"EOF" >>env.source
|
||||||
|
printenv
|
||||||
|
"EOF"
|
||||||
'''
|
'''
|
||||||
writeFile file: 'env.source', text: 'printenv'
|
|
||||||
sshCommand remote: remote, command: '''#! /bin/bash
|
sshCommand remote: remote, command: '''#! /bin/bash
|
||||||
set -e
|
set -e
|
||||||
echo $WORKSPACE
|
echo $WORKSPACE
|
||||||
|
Loading…
Reference in New Issue
Block a user