mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-29 16:19:29 +00:00
ci: pass REBASE=1 while running commitlint job
By passing REBASE=1 to the commitlint make target, the current checked out PR will be rebased on top of the parent branch. This should result in a linear history that commitlint can parse correctly. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
ffb4634ba5
commit
56d545c2e2
@ -41,7 +41,7 @@ node('cico-workspace') {
|
||||
if (params.ghprbTargetBranch != null) {
|
||||
git_since = "origin/${ghprbTargetBranch}"
|
||||
}
|
||||
sh "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@${CICO_NODE} 'cd /opt/build/go/src/github.com/ceph/ceph-csi && make containerized-test CONTAINER_CMD=podman TARGET=commitlint GIT_SINCE=${git_since}'"
|
||||
sh "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@${CICO_NODE} 'cd /opt/build/go/src/github.com/ceph/ceph-csi && make containerized-test CONTAINER_CMD=podman TARGET=commitlint GIT_SINCE=${git_since} REBASE=1'"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user