From 0e8a5553b47925c8fd01fc2cdff3720913d3a2a7 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 8 Feb 2023 13:33:09 +0900 Subject: [PATCH] test --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 78b2b35..e8b2cc8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,12 +40,12 @@ pipeline { options { timeout(time: 5, unit: 'MINUTES') } steps { script { - if (${env.BRANCH_NAME} == 'testing') { + if (env.BRANCH_NAME == 'testing') { docker.withRegistry('https://git.sysctl.io/', 'gitea-jenkins-pat') { dockerImage.push("${env.BRANCH_NAME}-${env.BUILD_ID}") } } - if (${env.BRANCH_NAME} == 'main') { + if (env.BRANCH_NAME == 'main') { docker.withRegistry('https://git.sysctl.io/', 'gitea-jenkins-pat') { dockerImage.push("latest") }