From a1be582891aab91c6285370f2494cca674b7a93a Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 10 Jan 2023 00:02:11 +0100 Subject: [PATCH] test sub-docker --- .jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.jenkinsfile b/.jenkinsfile index ee4655a..3e6ac2b 100644 --- a/.jenkinsfile +++ b/.jenkinsfile @@ -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' } }