File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,6 @@ jobs:
277
277
download_artifacts : false
278
278
save_build_info : true
279
279
- task : promote
280
- image : ci-image
281
280
file : git-repo/ci/tasks/promote-version.yml
282
281
params :
283
282
RELEASE_TYPE : M
@@ -322,7 +321,6 @@ jobs:
322
321
download_artifacts : false
323
322
save_build_info : true
324
323
- task : promote
325
- image : ci-image
326
324
file : git-repo/ci/tasks/promote-version.yml
327
325
params :
328
326
RELEASE_TYPE : RC
@@ -367,7 +365,6 @@ jobs:
367
365
download_artifacts : true
368
366
save_build_info : true
369
367
- task : promote
370
- image : ci-image
371
368
file : git-repo/ci/tasks/promote-version.yml
372
369
params :
373
370
RELEASE_TYPE : RELEASE
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ CONFIG_DIR=git-repo/ci/config
6
6
version=$( cat artifactory-repo/build-info.json | jq -r ' .buildInfo.modules[0].id' | sed ' s/.*:.*:\(.*\)/\1/' )
7
7
export BUILD_INFO_LOCATION=$( pwd) /artifactory-repo/build-info.json
8
8
9
- java -jar /opt/ concourse-release-scripts.jar \
9
+ java -jar /concourse-release-scripts.jar \
10
10
--spring.config.location=${CONFIG_DIR} /release-scripts.yml \
11
11
publishToCentral $RELEASE_TYPE $BUILD_INFO_LOCATION artifactory-repo || { exit 1; }
12
12
13
- java -jar /opt/ concourse-release-scripts.jar \
13
+ java -jar /concourse-release-scripts.jar \
14
14
--spring.config.location=${CONFIG_DIR} /release-scripts.yml \
15
15
promote $RELEASE_TYPE $BUILD_INFO_LOCATION || { exit 1; }
16
16
Original file line number Diff line number Diff line change 1
1
---
2
2
platform : linux
3
+ image_resource :
4
+ type : registry-image
5
+ source :
6
+ repository : springio/concourse-release-scripts
7
+ tag : ' 0.3.4'
8
+ username : ((docker-hub-username))
9
+ password : ((docker-hub-password))
3
10
inputs :
4
11
- name : git-repo
5
12
- name : artifactory-repo
You can’t perform that action at this time.
0 commit comments