Add Jenkinsfile
EnergonRelics/pipeline/head There was a failure building this commit
Details
EnergonRelics/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
b483684372
commit
b67ff18859
|
@ -0,0 +1,19 @@
|
||||||
|
pipeline {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'openjdk:8-jdk'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
sh './gradlew build'
|
||||||
|
}
|
||||||
|
post {
|
||||||
|
success {
|
||||||
|
archiveArtifacts artifacts: 'build/libs/*', fingerprint: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue