diff --git a/Jenkinsfile b/Jenkinsfile index 22aef07..e88f1ef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -59,11 +59,10 @@ pipeline { } post { - agent { - label 'main' - } always { - cleanWs() + node('main') { + cleanWs() + } } }