Add auto update stage to Jenkinsfile
This commit is contained in:
1 parent
0464cf61d3
commit
f714cbef24
1 file changed
+9
Vendored
+9
@@ -16,5 +16,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/'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user