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