mirror of
https://github.com/lubuntu-team/ci-tooling.git
synced 2025-05-04 14:11:29 +00:00
Safely handle not being able to push; if we've made it this far, it should pass anyway.
This commit is contained in:
parent
7d3aa8f9ae
commit
2b178685a0
@ -55,7 +55,7 @@ cd {{ NAME }}
|
|||||||
git checkout {{ DEFAULT_BRANCH }}
|
git checkout {{ DEFAULT_BRANCH }}
|
||||||
git checkout -b {{ PACKAGING_BRANCH }} || git checkout {{ PACKAGING_BRANCH }}
|
git checkout -b {{ PACKAGING_BRANCH }} || git checkout {{ PACKAGING_BRANCH }}
|
||||||
git merge --ff-only {{ DEFAULT_BRANCH }}
|
git merge --ff-only {{ DEFAULT_BRANCH }}
|
||||||
git push --set-upstream origin {{ PACKAGING_BRANCH }}
|
git push --set-upstream origin {{ PACKAGING_BRANCH }} || echo "cannot push"
|
||||||
</command>
|
</command>
|
||||||
</hudson.tasks.Shell>
|
</hudson.tasks.Shell>
|
||||||
</builders>
|
</builders>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user