Update 'Jenkinsfile'

This commit is contained in:
dany 2022-09-16 11:24:34 +02:00
parent 72873ca112
commit 0f4b4a2363

4
Jenkinsfile vendored
View File

@ -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
''' '''
} }
} }