TSK-759 Fix bluemix triggered deployment when a new release is done
This commit is contained in:
parent
137634ad33
commit
0d6708c2b3
|
|
@ -66,7 +66,7 @@ jobs:
|
||||||
- stage: "Release / Deploy"
|
- stage: "Release / Deploy"
|
||||||
name: "Deploy stage"
|
name: "Deploy stage"
|
||||||
script:
|
script:
|
||||||
- if [[ $FORCE_DEPLOY = true ]]
|
- if [[ $FORCE_DEPLOY = true ]];
|
||||||
then ci/copy-rest-spring.sh $VERSION;
|
then ci/copy-rest-spring.sh $VERSION;
|
||||||
else ci/copy-rest-spring.sh $TRAVIS_TAG;
|
else ci/copy-rest-spring.sh $TRAVIS_TAG;
|
||||||
fi
|
fi
|
||||||
|
|
@ -79,4 +79,4 @@ jobs:
|
||||||
space: Taskana
|
space: Taskana
|
||||||
on:
|
on:
|
||||||
all_branches: true
|
all_branches: true
|
||||||
if: branch = master AND ((repo = env(DEPLOY_REPO) AND tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$) OR (env(FORCE_DEPLOY) = true))
|
if: (repo = env(DEPLOY_REPO) AND tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$) OR (env(FORCE_DEPLOY) = true)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue