To copy web files in httpd folder
@@ -26,5 +26,11 @@ pipeline {
echo "Done."
}
+ stage('Deploy') {
+ when { branch 'master' }
+ steps {
+ sh "rsync --delete --recursive --verbose web/ ${env.JOVIAN_WEB_DEPLOY_PATH}"
+ }