From 25369524c1984410ee2c22bbe1a93d63017bec7b Mon Sep 17 00:00:00 2001 From: zhangwei <894646498@qq.com> Date: Fri, 1 Mar 2024 16:14:33 +0800 Subject: [PATCH] dependence --- .devops/dev.yml | 2 +- Makefile | 4 ++-- pcm-openstack.Jenkinsfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.devops/dev.yml b/.devops/dev.yml index 1386e3f..63bf75a 100644 --- a/.devops/dev.yml +++ b/.devops/dev.yml @@ -39,7 +39,7 @@ workflow: name: git clone task: git_clone@1.2.6 input: - remote_url: '"https://gitlink.org.cn/jcce-pcm/pcm-openstack.git"' + remote_url: '"https://gitlink.org.cn/JointCloud/pcm-openstack.git"' ref: '"refs/heads/master"' commit_id: '""' depth: 1 diff --git a/Makefile b/Makefile index 9d856ca..56fbd09 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ rpc-gen: goctl rpc protoc ./pb/*.proto --go_out=./ --go-grpc_out=./ --zrpc_out=. -pcm-participant-openstack: - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pcm-participant-openstack openstack.go \ No newline at end of file +pcm-openstack: + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pcm-openstack openstack.go \ No newline at end of file diff --git a/pcm-openstack.Jenkinsfile b/pcm-openstack.Jenkinsfile index 33446aa..82e5ba8 100644 --- a/pcm-openstack.Jenkinsfile +++ b/pcm-openstack.Jenkinsfile @@ -15,7 +15,7 @@ podTemplate(label: label, containers: [ node(label) { def imageEndpoint = "jcce/${project_name}" stage('拉取代码') { - checkout scmGit(branches: [[name: "*/${branches}"]], extensions: [], userRemoteConfigs: [[credentialsId: 'gitlink-zj', url: 'https://gitlink.org.cn/jcce-pcm/pcm-openstack.git']]) + checkout scmGit(branches: [[name: "*/${branches}"]], extensions: [], userRemoteConfigs: [[credentialsId: 'gitlink-zj', url: 'https://gitlink.org.cn/JointCloud/pcm-openstack.git']]) echo "获取commit_id 作为镜像标签" script { env.imageTag = sh(returnStdout: true, script: 'git rev-parse --short HEAD').trim()