Update 'Jenkinsfile'
All checks were successful
test-multi-branches/pipeline/head This commit looks good
All checks were successful
test-multi-branches/pipeline/head This commit looks good
This commit is contained in:
parent
f59967c69e
commit
971c1ea29b
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -49,7 +49,7 @@ pipeline{
|
|||||||
}
|
}
|
||||||
stage('Remote SSH') {
|
stage('Remote SSH') {
|
||||||
steps {
|
steps {
|
||||||
sh'''
|
sh'''#! /bin/bash
|
||||||
export -p | tee env.source
|
export -p | tee env.source
|
||||||
cat <<"EOF" >>env.source
|
cat <<"EOF" >>env.source
|
||||||
printenv
|
printenv
|
||||||
@ -65,7 +65,6 @@ EOF
|
|||||||
bash test.sh
|
bash test.sh
|
||||||
'''
|
'''
|
||||||
sshScript remote: remote, script: "env.source"
|
sshScript remote: remote, script: "env.source"
|
||||||
'''
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user