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"
|
export WORKSPACE="jenkins/workspace/test"
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
bash test.sh
|
bash test.sh
|
||||||
|
source env.source
|
||||||
|
printenv
|
||||||
'''
|
'''
|
||||||
sshCommand remote: remote, command: '''#! /bin/bash
|
sshCommand remote: remote, command: '''#! /bin/bash
|
||||||
source env.source
|
|
||||||
for i in {1..5}; do
|
for i in {1..5}; do
|
||||||
echo -n "Loop $i ";
|
echo -n "Loop $i ";
|
||||||
date ;
|
date ;
|
||||||
sleep 1;
|
sleep 1;
|
||||||
done
|
done
|
||||||
printenv
|
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user