test sub-docker

This commit is contained in:
Edouard DUPIN 2023-01-10 00:02:11 +01:00
parent e0d97328b1
commit a1be582891

View File

@ -1,5 +1,8 @@
pipeline {
agent any
//agent any
agent {
docker { image 'archlinux:base-devel' }
}
options {
timeout(time: 30, unit: 'MINUTES')
disableConcurrentBuilds abortPrevious: true
@ -27,6 +30,7 @@ pipeline {
}
stage('(prod) Build') {
steps {
sh 'pacman -S jdk-openjdk maven'
sh 'mvn install'
}
}