Can't use env variables in top leve agent section
This commit is contained in:
parent
b98127cea6
commit
5b968f7e5a
5
automation/Jenkinsfile
vendored
5
automation/Jenkinsfile
vendored
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user