generated from gCubeCI/Pipeline-Docker-Template
fix ansicolor plugin declaration
This commit is contained in:
parent
d866f93a8a
commit
97ff85b943
|
@ -28,10 +28,11 @@ backupList = agent_root_folder+'/'+agent_deploy_backup_filename;
|
|||
pipeline {
|
||||
agent {
|
||||
label 'deploy'
|
||||
}
|
||||
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";
|
||||
|
|
Loading…
Reference in New Issue