From 287b28eef8e6ae2e5936852e388fe8316487d48d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E7=8E=89?=
Date: Mon, 20 Jun 2022 01:12:58 +0000
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'jenkinsfile'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jenkinsfile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/jenkinsfile b/jenkinsfile
index dffc66a..5bfa6f7 100644
--- a/jenkinsfile
+++ b/jenkinsfile
@@ -11,8 +11,7 @@ pipeline {
sh 'switch-auth.sh anxinyun'
buildName "#${BUILD_NUMBER} ~/fs-devops/${JOB_NAME}:${IMAGE_VERSION}"
buildDescription "registry.cn-hangzhou.aliyuncs.com/${DEVOPS}/${JOB_NAME}:${IMAGE_VERSION}"
- sh 'cd dev'
- sh 'docker build -t registry.cn-hangzhou.aliyuncs.com/${DEVOPS}/${JOB_NAME}:${IMAGE_VERSION} .'
+ sh 'docker build -t registry.cn-hangzhou.aliyuncs.com/${DEVOPS}/${JOB_NAME}:${IMAGE_VERSION} ./dev'
sh 'docker push registry.cn-hangzhou.aliyuncs.com/${DEVOPS}/${JOB_NAME}:${IMAGE_VERSION}'
}
}