From a5f433b71bcd7ca7c296bf1fbfc6e02b84762e90 Mon Sep 17 00:00:00 2001 From: Michal Kovarik Date: Jan 15 2021 11:21:17 +0000 Subject: Disable semaphore which is going to be replaced --- diff --git a/roles/c3i/templates/greenwave-promote.Jenkinsfile b/roles/c3i/templates/greenwave-promote.Jenkinsfile index 0b9fa8a..8907139 100644 --- a/roles/c3i/templates/greenwave-promote.Jenkinsfile +++ b/roles/c3i/templates/greenwave-promote.Jenkinsfile @@ -41,17 +41,19 @@ pipeline { stage("Check semaphore") { steps { script { - if (env.SEMAPHORE_CHECK == 'True') { - if (c3i.checkSemaphore(env.SEMAPHORE_FLAGS.split(' '))) { - env.ALLOW_DEPLOYMENT = "true" - } - else { - currentBuild.displayName = "Skipped" - } - } - else { - env.ALLOW_DEPLOYMENT = "true" - } + // Temporary disable Semaphore, waiting for new implementaiton + env.ALLOW_DEPLOYMENT = "true" + //if (env.SEMAPHORE_CHECK == 'True') { + // if (c3i.checkSemaphore(env.SEMAPHORE_FLAGS.split(' '))) { + // env.ALLOW_DEPLOYMENT = "true" + // } + // else { + // currentBuild.displayName = "Skipped" + // } + //} + //else { + // env.ALLOW_DEPLOYMENT = "true" + //} } } }