From 5a11da9ea4c90f73a8c060dc25fdf784b27e8248 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 12 Oct 2024 07:37:05 +0300 Subject: [PATCH] Fixing the build --- Dockerfile.jenkins | 1 + Jenkinsfile | 11 ++++------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Dockerfile.jenkins b/Dockerfile.jenkins index 2db1854..6dace57 100644 --- a/Dockerfile.jenkins +++ b/Dockerfile.jenkins @@ -2,3 +2,4 @@ FROM schemers/gauche RUN echo "deb http://ftp.de.debian.org/debian bookworm main" > /etc/apt/sources.list RUN dpkg --add-architecture i386 RUN apt update && apt install -y wine32 wine64 make wget + diff --git a/Jenkinsfile b/Jenkinsfile index 026775d..a29345d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,10 @@ pipeline { agent { - label 'agent2' + dockerfile { + filename 'Dockerfile.jenkins' + dir '.' + } } options { @@ -10,12 +13,6 @@ pipeline { stages { stage("Build") { - agent { - dockerfile { - filename 'Dockerfile.jenkins' - dir '.' - } - } steps { sh 'whoami' sh 'WINEPREFIX=${HOME}/.wine wine ./executables/nsis-3.10-setup.exe /S'