s421818-mlworkshops/Jenkinsfile

16 lines
627 B
Plaintext
Raw Normal View History

2020-04-03 11:24:17 +02:00
pipeline {
2020-04-03 12:24:10 +02:00
agent { dockerfile true }
2020-04-03 11:24:17 +02:00
stages {
stage('Stage 1') {
steps {
2020-04-03 12:24:10 +02:00
sh 'node --version'
sh 'svn --version'
2020-04-03 11:55:53 +02:00
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s421818/s421818-mlworkshops.git']]])
2020-04-03 11:59:00 +02:00
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
2020-04-03 12:21:01 +02:00
sh('chmod 755 ./line_counter.sh')
2020-04-03 12:18:20 +02:00
sh('./line_counter.sh')
2020-04-03 12:11:39 +02:00
archiveArtifacts 'liczba_linii.txt'
2020-04-03 11:24:17 +02:00
}
}
}
}