This commit is contained in:
Edouard DUPIN 2023-01-10 00:16:33 +01:00
parent 3967bdd3a0
commit 1942bb7aa3

View File

@ -1,7 +1,7 @@
pipeline {
//agent any
agent {
docker { image 'archlinux:base-devel' }
docker { image 'openjdk:19-jdk-alpine' }
}
options {
timeout(time: 30, unit: 'MINUTES')
@ -19,7 +19,7 @@ pipeline {
stages {
stage('Configure environment') {
steps {
sh 'sudo pacman -S jdk-openjdk maven git'
sh 'apk add --no-cache maven git'
}
}
stage('save-evironment') {