artifactory
.build:
stage: build
tags:
- build
script:
- $BUILD_SHELL
- ls
.deploy-artifact:
stage: deploy-artifact
tags:
- build
script:
- curl -u${ARTIFACT_USER}:${ARTIFACT_PASSWD} -T ${ARTIFACT_PATH} "$ARTIFACTORY_URL/$ARTIFACTORY_NAME/$TARGET_FILE_PATH/$TARGET_ARTIFACT_NAME"
定义变量
template
include:
- project: 'cidevops/cidevops-gitlabci-service'
ref: master
file: 'jobs/build.yml'
- project: 'cidevops/cidevops-gitlabci-service&