From d1bcc91df4b2935dd2a0e917d47d12d64245dd01 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Wed, 27 Apr 2022 16:24:12 +0200 Subject: [PATCH] add delete file after the (simulate) deploy of all components --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9a9ba2c..ec515d6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -67,8 +67,9 @@ pipeline { def components = parseCSVList(deployList) assert 0 < components.size(): "No component found" for (component in components) { - println "$component" + println "Deploy on going of component: $component" } + new File(${DEPLOY_FILE}).delete(); } } }