dependence
This commit is contained in:
parent
27789653c1
commit
25369524c1
|
@ -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
|
||||
|
|
4
Makefile
4
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
|
||||
pcm-openstack:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pcm-openstack openstack.go
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue