test sub-docker
This commit is contained in:
parent
e0d97328b1
commit
a1be582891
@ -1,5 +1,8 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
//agent any
|
||||||
|
agent {
|
||||||
|
docker { image 'archlinux:base-devel' }
|
||||||
|
}
|
||||||
options {
|
options {
|
||||||
timeout(time: 30, unit: 'MINUTES')
|
timeout(time: 30, unit: 'MINUTES')
|
||||||
disableConcurrentBuilds abortPrevious: true
|
disableConcurrentBuilds abortPrevious: true
|
||||||
@ -27,6 +30,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('(prod) Build') {
|
stage('(prod) Build') {
|
||||||
steps {
|
steps {
|
||||||
|
sh 'pacman -S jdk-openjdk maven'
|
||||||
sh 'mvn install'
|
sh 'mvn install'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user