update Jenkinsfile
This commit is contained in:
parent
77a9ffc62e
commit
c09d1950a1
22
Jenkinsfile
vendored
22
Jenkinsfile
vendored
|
|
@ -1,8 +1,20 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
stage('Checkout') {
|
agent any
|
||||||
checkout scm
|
stages {
|
||||||
}
|
stage('Gradle') {
|
||||||
stage ('Build') {
|
steps {
|
||||||
sh './gradlew build'
|
sh './gradlew build'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Archive') {
|
||||||
|
steps {
|
||||||
|
archiveArtifacts artifacts: 'build/libs/', followSymlinks: false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('discord') {
|
||||||
|
steps {
|
||||||
|
discordSend description: "Build: ${BUILD_NUMBER}", showChangeset: true, result: currentBuild.currentResult, title: currentBuild.fullProjectName, webhookURL: 'https://discord.com/api/webhooks/1006621409151295529/aK-0Q5kwVI3OxSkpIcVoT7rvnW4ntHkhqVYRiX09i4bj8onE384-eFg_OWR6zWsm-_46'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user