1
0
Fork 0
mirror of https://github.com/Ellpeck/ActuallyAdditions.git synced 2025-01-06 00:37:42 +01:00
ActuallyAdditions/Jenkinsfile
2020-11-07 14:38:30 +01:00

35 lines
No EOL
522 B
Groovy

pipeline {
agent any
stages {
stage('Clean') {
steps {
sh './gradlew clean --no-daemon'
}
}
stage('Build') {
steps {
sh './gradlew build --no-daemon'
}
}
stage('Upload Artifacts') {
steps {
archiveArtifacts 'build/libs/**.jar'
}
}
stage('Publish') {
when {
branch '1.12.2'
}
steps {
sh './gradlew publish --no-daemon'
}
}
}
environment {
local_maven = '/var/www/maven'
}
}