stage ('Pipeline 買粉絲nfiguration') {
agent none
steps {
script {
stage ('Pull & PushImage') {
def remote = [:]
remote.name = 'test'
remote.host ='192.168.248.190'
remote.user = 'root'
remote.password ='password'
remote.allowAnyHosts= true
writeFile file:'jemeter.sh', text: 'cd /ibm \n ls'
sshScript remote: remote,script: "jemeter.sh"
}
}
}
}
}
}