From e0e423e4b79b81fc34b9b3c21ce92a20aee4a33f Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 3 Apr 2020 11:55:53 +0200 Subject: [PATCH] jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index bd2674d..330fc2c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ pipeline { stages { stage('Stage 1') { steps { - sh 'git checkout -f origin/master' + checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s421818/s421818-mlworkshops.git']]]) copyArtifacts filter: 'wikinews_results.txt', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() echo 'Hello world!' }