From 336b15c508e9b5ce40fed4e993bdeb0df2ad5bda Mon Sep 17 00:00:00 2001 From: Ignacio Heredia Date: Wed, 27 Sep 2023 13:28:27 +0200 Subject: [PATCH] fix: comment breaking Jenkins stages --- Jenkinsfile | 90 ++++++++++++++++++++++++++--------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5d3edad6..5187e6cb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,12 +35,12 @@ pipeline { ToxEnvRun('cover') ToxEnvRun('cobertura') } - post { - success { - HTMLReport('cover', 'index.html', 'coverage.py report') - CoberturaReport('**/coverage.xml') - } - } + // post { + // success { + // HTMLReport('cover', 'index.html', 'coverage.py report') + // CoberturaReport('**/coverage.xml') + // } + // } } stage('Dependency check') { @@ -49,46 +49,46 @@ pipeline { } } - stage('DockerHub delivery') { - when { - anyOf { - branch 'master' - buildingTag() - } - } - agent { - label 'docker-build' - } - steps { - checkout scm - script { - dockerhub_image_id = DockerBuild(dockerhub_repo, - tag: env.BRANCH_NAME) - } - } - post { - success { - DockerPush(dockerhub_image_id) - } - failure { - DockerClean() - } - always { - cleanWs() - } - } - } + // stage('DockerHub delivery') { + // when { + // anyOf { + // branch 'master' + // buildingTag() + // } + // } + // agent { + // label 'docker-build' + // } + // steps { + // checkout scm + // script { + // dockerhub_image_id = DockerBuild(dockerhub_repo, + // tag: env.BRANCH_NAME) + // } + // } + // post { + // success { + // DockerPush(dockerhub_image_id) + // } + // failure { + // DockerClean() + // } + // always { + // cleanWs() + // } + // } + // } - stage('PyPI delivery') { - when { - anyOf { - buildingTag() - } - } - steps { - PyPIDeploy('deepaas', 'indigobot-pypi') - } - } + // stage('PyPI delivery') { + // when { + // anyOf { + // buildingTag() + // } + // } + // steps { + // PyPIDeploy('deepaas', 'indigobot-pypi') + // } + // } } }