diff --git a/Jenkinsfile b/Jenkinsfile index 5151006..e1d3d32 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -49,7 +49,7 @@ pipeline{ } stage('Remote SSH') { steps { - sh''' + sh'''#! /bin/bash export -p | tee env.source cat <<"EOF" >>env.source printenv @@ -65,7 +65,6 @@ EOF bash test.sh ''' sshScript remote: remote, script: "env.source" - ''' } } }