mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-26 05:28:33 +01:00
24 lines
359 B
Text
24 lines
359 B
Text
|
pipeline {
|
||
|
agent any
|
||
|
stages {
|
||
|
stage('Clean') {
|
||
|
steps {
|
||
|
sh 'chmod +x ./gradlew'
|
||
|
sh './gradlew clean --no-daemon'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
stage('Build') {
|
||
|
steps {
|
||
|
sh './gradlew build --no-daemon'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
stage('Upload Artifacts') {
|
||
|
steps {
|
||
|
archiveArtifacts 'build/libs/**.jar'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|