From cebb4b25669fdd22b5eb2838e27d2571f7fc2f42 Mon Sep 17 00:00:00 2001 From: LNSD Date: Tue, 25 Oct 2022 15:39:43 +0000 Subject: [PATCH] deploy: 7ec3505c15fb86457240fafcbe855818d54ab17d --- ci/Jenkinsfile.prs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ci/Jenkinsfile.prs b/ci/Jenkinsfile.prs index 2f3926dc4..041a5b540 100644 --- a/ci/Jenkinsfile.prs +++ b/ci/Jenkinsfile.prs @@ -53,8 +53,8 @@ pipeline { v1changed = versionWasChanged('v1') v2changed = versionWasChanged('v2') /* TODO: Re-add caching of Nim compiler. */ - nix.shell("make V=${params.VERBOSITY} update", pure: false) - nix.shell("make V=${params.VERBOSITY} deps", pure: false) + nix.shell("make ${params.MAKEFLAGS} V=${params.VERBOSITY} update", pure: false) + nix.shell("make ${params.MAKEFLAGS} V=${params.VERBOSITY} deps", pure: false) } } } stage('Binaries') { @@ -62,13 +62,13 @@ pipeline { stage('V1') { when { expression { v1changed } } steps { script { - nix.shell("make V=${params.VERBOSITY} v1") + nix.shell("make ${params.MAKEFLAGS} NIMFLAGS=\"${params.NIMFLAGS}\" V=${params.VERBOSITY} v1") } } } stage('V2') { when { expression { v2changed } } steps { script { - nix.shell("make V=${params.VERBOSITY} v2") + nix.shell("make ${params.MAKEFLAGS} NIMFLAGS=\"${params.NIMFLAGS}\" V=${params.VERBOSITY} v2") } } } } @@ -79,13 +79,13 @@ pipeline { stage('V1') { when { expression { v1changed } } steps { script { - nix.shell("make V=${params.VERBOSITY} test1") + nix.shell("make ${params.MAKEFLAGS} NIMFLAGS=\"${params.NIMFLAGS}\" V=${params.VERBOSITY} test1") } } } stage('V2') { when { expression { v2changed } } steps { script { - nix.shell("make V=${params.VERBOSITY} test2") + nix.shell("make ${params.MAKEFLAGS} NIMFLAGS=\"${params.NIMFLAGS}\" V=${params.VERBOSITY} test2") } } } }