Can't use env variables in top leve agent section
fsfw/fsfw/pipeline/pr-development This commit looks good Details

This commit is contained in:
Ulrich Mohr 2022-01-31 15:01:45 +01:00
parent b98127cea6
commit 5b968f7e5a
1 changed files with 2 additions and 3 deletions

View File

@ -1,11 +1,10 @@
pipeline { pipeline {
environment { environment {
DOCK_FILE_DIR = 'automation' BUILDDIR = 'build-tests'
BUILDDIR = 'build-tests'
} }
agent { agent {
dockerfile { dockerfile {
dir DOCK_FILE_DIR dir 'automation'
additionalBuildArgs '--no-cache' additionalBuildArgs '--no-cache'
reuseNode true reuseNode true
} }