geforkt von Mirrors/Velocity
Add initial Jenkinsfile
Dieser Commit ist enthalten in:
Ursprung
b26a17e587
Commit
32f8b4f97f
22
Jenkinsfile
vendored
Normale Datei
22
Jenkinsfile
vendored
Normale Datei
@ -0,0 +1,22 @@
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'gradle:jdk8-slim'
|
||||
}
|
||||
|
||||
}
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh './gradlew shadowJar'
|
||||
archiveArtifacts 'build/libs/*.jar'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh './gradlew test'
|
||||
junit 'build/test-results/test/*.xml'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren