Skip to content

Commit

Permalink
[TEMP|REMOVE] test pushing to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Jan 8, 2024
1 parent 1e83a48 commit b61dabf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ concurrency:

on:
push:
branches: [ master ]
branches:
- master
- 'test-lfs-pushing'
pull_request:
branches: [ master ]
branches:
- master
- 'test-lfs-pushing'

jobs:
event_file:
Expand Down
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -318,14 +318,14 @@ pipeline {
echo "newSWTNativesTag: ${newSWTNativesTag}"
sh """
# Check for the master-branch as late as possible to have as much of the same behaviour as possible
if [[ '${BRANCH_NAME}' == master ]] || [[ '${BRANCH_NAME}' =~ R[0-9]+_[0-9]+(_[0-9]+)?_maintenance ]]; then
if [[ '${BRANCH_NAME}' == 'PR-956' ]] || [[ '${BRANCH_NAME}' =~ R[0-9]+_[0-9]+(_[0-9]+)?_maintenance ]]; then
if [[ ${params.skipCommit} != true ]]; then
#Don't rebase and just fail in case another commit has been pushed to the master/maintanance branch in the meantime
pushd eclipse.platform.swt
git push origin HEAD:refs/heads/${BRANCH_NAME}
git push origin refs/tags/${newSWTNativesTag}
git push -f origin HEAD:refs/heads/test-lfs-pushing
#git push origin refs/tags/${newSWTNativesTag}
popd
exit 0
Expand Down

0 comments on commit b61dabf

Please sign in to comment.