Update 'Jenkinsfile'
This commit is contained in:
parent
085ef527f7
commit
2dbf353797
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user