Pipeline 远程执行脚本
作者:互联网
node { stage('执行配置刷新') { sh 'ansible all -i xxxx, -m shell -a "cd /data/app/;bash -x /data/app/sysconf_reload.sh" -u user01' sh 'ansible all -i xxxx, -m shell -a "cd /data/app/;bash -x /data/app/sysconf_reload.sh" -u user01' sh 'ansible all -i xxxx, -m shell -a "cd /data/app/;bash -x /data/app/sysconf_reload.sh" -u user01' } }
标签:脚本,Pipeline,shell,xxxx,sysconf,app,sh,data,远程 来源: https://www.cnblogs.com/NGU-PX/p/14155850.html