mirror of
https://github.com/status-im/dappconnect-chat-sdk.git
synced 2025-01-12 23:14:53 +00:00
jenkinsfile: customize gitscm
Customize gitscm so the changelog is present when opening the PR. Signed-off-by: markoburcul <marko@status.im>
This commit is contained in:
parent
d24fedefb2
commit
8b35a6f2a8
18
apps/connector/Jenkinsfile
vendored
18
apps/connector/Jenkinsfile
vendored
@ -29,6 +29,24 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
stage('Checkout') {
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
checkout scmGit(
|
||||||
|
branches: scm.branches,
|
||||||
|
extensions: [
|
||||||
|
cloneOption(depth: 100, noTags: true, reference: '', shallow: true),
|
||||||
|
changelogToBranch(changelogBase(
|
||||||
|
compareRemote: 'origin',
|
||||||
|
compareTarget: CHANGE_TARGET
|
||||||
|
))
|
||||||
|
],
|
||||||
|
userRemoteConfigs: scm.userRemoteConfigs
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Check changes') {
|
stage('Check changes') {
|
||||||
when {
|
when {
|
||||||
changeset pattern: "apps/connector/**", comparator: "GLOB"
|
changeset pattern: "apps/connector/**", comparator: "GLOB"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user