瀏覽代碼

rsync test

amenpunk 3 年之前
父節點
當前提交
5af8b583ca
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Jenkinsfile

+ 5 - 0
Jenkinsfile

@@ -24,6 +24,11 @@ pipeline {
24 24
                 }
25 25
             }
26 26
         }
27
+        stage('sync') {
28
+            steps {
29
+                sh 'rsync -a --delete ./build  /var/www/html/psicoadmin'
30
+            }
31
+        }
27 32
     }
28 33
     post {
29 34
         always {