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 {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
label 'deploy'
|
label 'deploy'
|
||||||
|
}
|
||||||
options {
|
options {
|
||||||
ansiColor('xterm')
|
ansiColor('xterm')
|
||||||
}
|
}
|
||||||
}
|
|
||||||
triggers {
|
triggers {
|
||||||
// every fifteen minutes (perhaps at :07, :22, :37, :52)
|
// every fifteen minutes (perhaps at :07, :22, :37, :52)
|
||||||
// cron('H/15 * * * *')
|
// 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){
|
def cleanup(def DEPLOY_FILE, def BACKUP_FILE){
|
||||||
sh '''
|
sh '''
|
||||||
echo "cleanup $DEPLOY_FILE";
|
echo "cleanup $DEPLOY_FILE";
|
||||||
|
|
Loading…
Reference in New Issue