|
@@ -57,14 +57,6 @@ pipeline { //pipeline 顶层
|
|
sh 'docker rmi $DOCKER_IMAGE'
|
|
sh 'docker rmi $DOCKER_IMAGE'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- //部署流程五:项目版本本地备份
|
|
|
|
- stage('backup') {
|
|
|
|
- steps {
|
|
|
|
- sh 'rm -rf $BACKUP_PATH/'
|
|
|
|
- sh 'mkdir -p $BACKUP_PATH/'
|
|
|
|
- sh 'cp ./persagy-sync-data/target/*.jar $BACKUP_PATH/'
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|