Disable update stage
This commit is contained in:
parent
7bbff411e4
commit
5c166f2bba
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
|
@ -22,14 +22,14 @@ pipeline {
|
|||
discordSend description: "Build: ${BUILD_NUMBER}", showChangeset: true, result: currentBuild.currentResult, title: currentBuild.fullProjectName, webhookURL: env.discordwebhook
|
||||
}
|
||||
}
|
||||
stage('Copy to /mnt/updates/plugins') {
|
||||
when {
|
||||
branch 'main'
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
sh 'cp build/libs/*.jar /mnt/updates/plugins/'
|
||||
}
|
||||
}
|
||||
// stage('Copy to /mnt/updates/plugins') {
|
||||
// when {
|
||||
// branch 'main'
|
||||
// branch 'master'
|
||||
// }
|
||||
// steps {
|
||||
// sh 'cp build/libs/*.jar /mnt/updates/plugins/'
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user