Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated branch name for nightly release #2279

Merged
merged 1 commit into from
Aug 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions jenkins-x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ pipelineConfig:
- name: create-version
command: cat version.txt > VERSION
- name: delete-existing-branch
command: git branch -D v\$(cat version.txt) || echo "No branch exists"
command: git branch -D nightly-\$(cat version.txt) || echo "No branch exists"
- name: create-new-branch
command: git checkout -b v\$(cat version.txt)
command: git checkout -b nightly-\$(cat version.txt)
- name: commit-new-branch
command: git push origin v\$(cat version.txt) -f
command: git push origin nightly-\$(cat version.txt) -f
- name: skip-tag
command: echo "skipping tag"
pipeline:
Expand All @@ -71,7 +71,7 @@ pipelineConfig:
- name: create-dated-version
command: echo $(cat version.txt)_$(date +"%Y%m%d%H%M%S") > version.txt
- name: create-new-branch
command: git checkout -b v$(cat version.txt)
command: git checkout -b nightly-$(cat version.txt)
# This is necessary as the python release.py has a known bug which hangs if the JARs are not downloaded first
- name: update-release-tags
command: (cd engine && mvn versions:set -DnewVersion=$(cat ../version.txt)) && python release.py $(cat version.txt)
Expand All @@ -84,7 +84,7 @@ pipelineConfig:
args:
- ./ci_build_and_push_images.sh
- name: push-new-branch
command: git push origin v$(cat version.txt)
command: git push origin nightly-$(cat version.txt)
options:
containerOptions:
volumeMounts:
Expand Down