22 lines
1.2 KiB
Groovy
22 lines
1.2 KiB
Groovy
pipeline {
|
|
agent { dockerfile true }
|
|
stages {
|
|
stage('1punkt') {
|
|
steps {
|
|
copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s364909/s364909-mlworkshops.git']]])
|
|
sh 'sh code.sh wikiniews_results.tsv output.txt'
|
|
archiveArtifacts 'output.txt'
|
|
}
|
|
}
|
|
stage('2punkty') {
|
|
steps {
|
|
copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s364909/s364909-mlworkshops.git']]])
|
|
sh 'sh code1.sh wikiniews_results.tmp.tsv reference.txt hipothesis.txt'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|