提交 42f727e8 编写于 作者: zhangsiyuan's avatar zhangsiyuan

Update test-phome.jenkinsfile

上级 5b29c0ee
...@@ -122,8 +122,7 @@ pipeline{ ...@@ -122,8 +122,7 @@ pipeline{
when { expression { envProfile ==~ /dev|test/ }} when { expression { envProfile ==~ /dev|test/ }}
steps{ steps{
sh label: '', script: """ sh label: '', script: """
ng_project=`echo $JOB_NAME | awk -F[\'_\'] \'{ print $3 }\'` rsync -av $WORKSPACE/dist/* root@$ip:/usr/share/nginx/html/phome/$JOB_NAME/
rsync -av $WORKSPACE/dist/* root@$ip:/usr/share/nginx/html/phome/$ng_project/
""" """
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册