s434576-mlworkshops/Jenkinsfile

29 lines
969 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Stage 1') {
steps {
copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
stage('Stage 2') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s441391/s441391-mlworkshops']]])
}
}
stage('Stage 3') {
steps {
sh label: '', script: 'wc -l wikiniews_results.tsv > wyniki.txt'
}
}
stage('Stage 4') {
steps {
archiveArtifacts 'wyniki.txt'
}
}
}
}