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