s442676-mlworkshops/Jenkinsfile

28 lines
1.0 KiB
Plaintext
Raw Normal View History

2019-04-26 13:12:56 +02:00
pipeline {
2019-05-16 18:40:07 +02:00
agent { dockerfile true }
2019-04-26 13:12:56 +02:00
stages {
stage('Stage 1') {
steps {
2019-05-16 18:40:07 +02:00
echo 'Hello world!'
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
2019-05-16 19:07:37 +02:00
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s442676/s442676-mlworkshops.git']]])
2019-05-16 18:40:07 +02:00
sh label: '', script: 'chmod 755 ./kody.sh'
sh label: '', script: './kody.sh'
sh label: '', script: 'ls -l'
archiveArtifacts 'plik1'
}
2019-04-26 13:12:56 +02:00
}
2019-05-16 18:40:07 +02:00
2019-05-16 18:01:52 +02:00
stage('Stage 2') {
steps {
echo 'Metryki'
2019-05-16 19:11:31 +02:00
sh label: '', script: 'chmod 755 ./metryki.sh'
sh label: '', script: './metryki.sh'
2019-05-16 18:01:52 +02:00
archiveArtifacts 'WER.txt'
archiveArtifacts 'SSR.txt'
archiveArtifacts 'sredniaWER.txt'
archiveArtifacts 'wikiniews_results_WER.tsv'
}
}
2019-04-26 13:12:56 +02:00
}
}