s421818-mlworkshops/Jenkinsfile
2020-04-03 12:30:49 +02:00

14 lines
568 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Stage 1') {
steps {
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'
}
}
}
}