fix ansicolor plugin declaration

This commit is contained in:
Roberto Cirillo 2022-05-09 13:01:55 +02:00
parent d866f93a8a
commit 97ff85b943
1 changed files with 10 additions and 3 deletions

13
Jenkinsfile vendored
View File

@ -28,10 +28,11 @@ backupList = agent_root_folder+'/'+agent_deploy_backup_filename;
pipeline {
agent {
label 'deploy'
options {
ansiColor('xterm')
}
}
options {
ansiColor('xterm')
}
triggers {
// every fifteen minutes (perhaps at :07, :22, :37, :52)
// cron('H/15 * * * *')
@ -220,6 +221,12 @@ def deploy(String service, String version, String host){
""")
}
def checkup(String service, String version, String host){
sh("""
exit 0;
)
}
def cleanup(def DEPLOY_FILE, def BACKUP_FILE){
sh '''
echo "cleanup $DEPLOY_FILE";