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