Just use raw Maven invocations when executing the Pipeline
This commit is contained in:
parent
18a2a88f39
commit
21732017b7
|
@ -1,15 +1,11 @@
|
|||
pipeline {
|
||||
agent {
|
||||
node {
|
||||
label 'linux'
|
||||
agent { docker 'maven:3-alpine' }
|
||||
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'mvn -e -B -U clean package'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'make'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue