Can't use env variables in top leve agent section
This commit is contained in:
parent
b98127cea6
commit
5b968f7e5a
3
automation/Jenkinsfile
vendored
3
automation/Jenkinsfile
vendored
@ -1,11 +1,10 @@
|
||||
pipeline {
|
||||
environment {
|
||||
DOCK_FILE_DIR = 'automation'
|
||||
BUILDDIR = 'build-tests'
|
||||
}
|
||||
agent {
|
||||
dockerfile {
|
||||
dir DOCK_FILE_DIR
|
||||
dir 'automation'
|
||||
additionalBuildArgs '--no-cache'
|
||||
reuseNode true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user