Compare commits
3 Commits
master
...
dany-patch
Author | SHA1 | Date | |
---|---|---|---|
|
1292ae8740 | ||
|
971c1ea29b | ||
|
f59967c69e |
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -53,6 +53,7 @@ pipeline{
|
||||
export -p | tee env.source
|
||||
cat <<"EOF" >>env.source
|
||||
printenv
|
||||
echo "current branch is $BRANCH_NAME"
|
||||
EOF
|
||||
'''
|
||||
sshCommand remote: remote, command: '''#! /bin/bash
|
||||
@ -64,13 +65,6 @@ EOF
|
||||
bash test.sh
|
||||
'''
|
||||
sshScript remote: remote, script: "env.source"
|
||||
sshCommand remote: remote, command: '''#! /bin/bash
|
||||
for i in {1..5}; do
|
||||
echo -n "Loop $i ";
|
||||
date ;
|
||||
sleep 1;
|
||||
done
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user