Added Jenkinsfile
All checks were successful
spigotresourcesync/pipeline/head This commit looks good
All checks were successful
spigotresourcesync/pipeline/head This commit looks good
This commit is contained in:
parent
cfe2575b3c
commit
6bb54c5cdb
26
Jenkinsfile
vendored
Normal file
26
Jenkinsfile
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
pipeline {
|
||||
agent {
|
||||
kubernetes {
|
||||
cloud 'rsys-devel'
|
||||
defaultContainer 'maven'
|
||||
inheritFrom 'maven'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage("validate") {
|
||||
steps {
|
||||
sh "mvn validate"
|
||||
}
|
||||
}
|
||||
stage("test") {
|
||||
steps {
|
||||
sh "mvn test"
|
||||
}
|
||||
}
|
||||
stage("deploy") {
|
||||
steps {
|
||||
sh "mvn package"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user