mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-06-01 19:23:36 +02:00
bleh
This commit is contained in:
parent
b0b6ea5a54
commit
f7f87f4bab
35
Jenkinsfile
vendored
Normal file
35
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
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 'master'
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh './gradlew publish --no-daemon'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
environment {
|
||||||
|
local_maven = '/var/www/maven'
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue