Update 'Jenkinsfile'

This commit is contained in:
dany 2022-07-29 14:46:30 +02:00
parent 085ef527f7
commit 2dbf353797

5
Jenkinsfile vendored
View File

@ -7,6 +7,11 @@ node {
remote.allowAnyHosts = true remote.allowAnyHosts = true
remote.agent = false remote.agent = false
remote.logLevel = 'INFO' remote.logLevel = 'INFO'
stage('Test')
{
echo $WORKSPACE
sh 'echo $WORKSPACE; tree $WORKSPACE'
}
stage('Remote SSH') { stage('Remote SSH') {
sshCommand remote: remote, command: "tree ~/jenkins/jobs/ant-http" sshCommand remote: remote, command: "tree ~/jenkins/jobs/ant-http"
sshCommand remote: remote, command: "for i in {1..5}; do echo -n \"Loop \$i \"; date ; sleep 1; done" sshCommand remote: remote, command: "for i in {1..5}; do echo -n \"Loop \$i \"; date ; sleep 1; done"