From cbfb953e01538c07fe5b06b275401e96ee17bd62 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 16 Oct 2024 16:39:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=9B=86=E6=88=90=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oms_jenkins | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/oms_jenkins b/oms_jenkins index 259aea8..a7ddd4b 100644 --- a/oms_jenkins +++ b/oms_jenkins @@ -12,7 +12,7 @@ pipeline { doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], - userRemoteConfigs: [[url: 'http://git.sinoecare.com/lab/dvcp-node-service.git',credentialsId:'b42f8b48-95a4-4039-ae51-b1dff06d943b']] + userRemoteConfigs: [[url: 'http://git.sinoecare.com/lab/dvcp-node-service.git -b dev',credentialsId:'b42f8b48-95a4-4039-ae51-b1dff06d943b']] ]) } } @@ -39,9 +39,9 @@ pipeline { success { script{ echo 'Deployment finished successfully.' - + def currentTime = new Date().format('yyyy-MM-dd HH:mm:ss', TimeZone.getTimeZone('Asia/Shanghai')) - + sh """ curl 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5c25c37c-0b91-4d1d-95d3-98a2bb7055c7' \\ -H 'Content-Type: application/json' \\ @@ -50,7 +50,7 @@ pipeline { "markdown": { "content": ">构建结果:oms构建打包服务部署完成!\\n >完成时间:${currentTime}\\n - >构建时间:${currentBuild.durationString}" + >构建时间:${currentBuild.durationString}" } }' """