From 12faa74b3d8d5248514b94261d55ca4b0d8ac433 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 3 Apr 2020 12:30:49 +0200 Subject: [PATCH] jenkinsfile --- Jenkinsfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index da9be7c..11e4f5c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,11 +1,14 @@ pipeline { agent { dockerfile true } stages { - stage('Test') { + stage('Stage 1') { steps { - sh 'node --version' - sh 'svn --version' + checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s421818/s421818-mlworkshops.git']]]) + copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() + sh('chmod 755 ./line_counter.sh') + sh('./line_counter.sh') + archiveArtifacts 'liczba_linii.txt' } } } -} \ No newline at end of file +} \ No newline at end of file