更新.gitlab-ci.yml文件
This commit is contained in:
parent
216d84c669
commit
d3e0e4958c
|
@ -15,7 +15,7 @@ build-job:
|
||||||
only:
|
only:
|
||||||
- develop
|
- develop
|
||||||
- release
|
- release
|
||||||
resource_group: $RESOURCE_GROUP
|
resource_group: $CI_PIPELINE_ID
|
||||||
script:
|
script:
|
||||||
- git checkout $CI_COMMIT_REF_NAME
|
- git checkout $CI_COMMIT_REF_NAME
|
||||||
# 拷贝到GOPATH
|
# 拷贝到GOPATH
|
||||||
|
@ -40,7 +40,7 @@ save-job:
|
||||||
only:
|
only:
|
||||||
- develop
|
- develop
|
||||||
- release
|
- release
|
||||||
resource_group: $RESOURCE_GROUP
|
resource_group: $CI_PIPELINE_ID
|
||||||
script:
|
script:
|
||||||
- cd $GOPATH/src/$ProjectPath
|
- cd $GOPATH/src/$ProjectPath
|
||||||
# 拷贝文件
|
# 拷贝文件
|
||||||
|
@ -71,7 +71,7 @@ sync_job:
|
||||||
only:
|
only:
|
||||||
- develop
|
- develop
|
||||||
- release
|
- release
|
||||||
resource_group: $RESOURCE_GROUP
|
resource_group: $CI_PIPELINE_ID
|
||||||
script:
|
script:
|
||||||
- cd $GOPATH/src/$ProjectPath
|
- cd $GOPATH/src/$ProjectPath
|
||||||
- if [ "$CI_COMMIT_BRANCH" == "develop" ]; then
|
- if [ "$CI_COMMIT_BRANCH" == "develop" ]; then
|
||||||
|
|
Loading…
Reference in New Issue