Zhang Xiaoxu 013c1a0835 Add support git publisher rebase before push
This change adds support for git publisher rebase before push. [0]

[0] https://plugins.jenkins.io/git/

Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
Change-Id: I3cb0eecbbee6c51433cb4e3b856a3165462f49d1
2022-01-28 11:57:41 +08:00

24 lines
613 B
YAML

publishers:
- git:
push-merge: true
push-only-if-success: false
force-push: true
tags:
- tag:
remote: tagremotename
name: tagname
message: "some tag message"
create-tag: true
update-tag: true
branches:
- branch:
remote: branchremotename
name: "some/branch"
rebase: true
notes:
- note:
remote: remotename
message: "some note to push"
namespace: notenamespace
replace-note: true