Merge remote-tracking branch 'origin/devops' into feature/task-30-docker
Some checks failed
Hedgehog_server/ServerMonitorBot/pipeline/head There was a failure building this commit
Some checks failed
Hedgehog_server/ServerMonitorBot/pipeline/head There was a failure building this commit
This commit is contained in:
15
Jenkinsfile
vendored
Normal file
15
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
pipeline {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'maven'
|
||||||
|
args '-v /root/.m2:/root/.m2'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
sh 'mvn -B -DskipTests clean package'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user