s416226-mlworkshops/Jenkinsfile

13 lines
580 B
Groovy

pipeline {
agent any
stages {
stage('Stage 1') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416226/s416226-mlworkshops']]])
copyArtifacts filter: 'wikiniews_results.txt', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: 'wikinews_results.txt'
sh label: '', script: 'wc -l > output.txt'
archiveArtifacts 'output.txt'
}
}
}
}