diff --git a/.jenkinsfile b/.jenkinsfile index d4a9a0f..bcbdc0f 100644 --- a/.jenkinsfile +++ b/.jenkinsfile @@ -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') {