update Jenkinsfile
This commit is contained in:
parent
77a9ffc62e
commit
c09d1950a1
22
Jenkinsfile
vendored
22
Jenkinsfile
vendored
|
|
@ -1,8 +1,20 @@
|
|||
pipeline {
|
||||
stage('Checkout') {
|
||||
checkout scm
|
||||
}
|
||||
stage ('Build') {
|
||||
sh './gradlew build'
|
||||
agent any
|
||||
stages {
|
||||
stage('Gradle') {
|
||||
steps {
|
||||
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