-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ on: | |
- 'feature/**' | ||
- 'fix/**' | ||
- 'docs/**' | ||
|
||
jobs: | ||
create_jenkins_branch: | ||
name: Creates jenkins/* branch if it does not exist | ||
|
@@ -37,8 +36,9 @@ jobs: | |
git config user.email [email protected] | ||
git checkout jenkins/${{ env.BRANCH_NAME }} | ||
git reset --hard origin/${{ env.BRANCH_NAME }} | ||
git checkout origin/JePL .sqa/config.yml .sqa/docker-compose.yml Jenkinsfile .git_credential_helper.sh | ||
printf "`cat Jenkinsfile`" "${{ env.BRANCH_NAME }}" > Jenkinsfile | ||
git checkout origin/JePL .sqa/config.yml .sqa/docker-compose.yml Jenkinsfile .git_credential_helper.sh patch.issue_116 | ||
git apply patch.issue_116 # FIXME Work around until https://github.com/indigo-dc/jenkins-pipeline-library/issues/116 is fixed | ||
printf "`cat Jenkinsfile`" "jenkins/${{ env.BRANCH_NAME }}" > Jenkinsfile | ||
git add Jenkinsfile | ||
git status | ||
git diff-index --quiet HEAD || (git commit -m "Added JePL configuration files" && git push -f) |