Update 'Jenkinsfile'
This commit is contained in:
parent
72873ca112
commit
0f4b4a2363
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -59,15 +59,15 @@ pipeline{
|
||||
export WORKSPACE="jenkins/workspace/test"
|
||||
cd $WORKSPACE
|
||||
bash test.sh
|
||||
source env.source
|
||||
printenv
|
||||
'''
|
||||
sshCommand remote: remote, command: '''#! /bin/bash
|
||||
source env.source
|
||||
for i in {1..5}; do
|
||||
echo -n "Loop $i ";
|
||||
date ;
|
||||
sleep 1;
|
||||
done
|
||||
printenv
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user