From e08b7cd8c2ffa33e46cb6f95457c4ad122b7351b Mon Sep 17 00:00:00 2001 From: s444417 Date: Thu, 24 Mar 2022 18:29:20 +0100 Subject: [PATCH] fix2 --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d46e519..e39ef09 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,12 +29,16 @@ pipeline { } } stage("Check out from version control") { - checkout scm + steps { + checkout scm + } } stage("Shell Script") { + steps { sh "chmod u+x ./startscript.sh" sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript.sh" archiveArtifacts 'data.txt' + } } } } \ No newline at end of file