s442676-mlworkshops/Jenkinsfile

31 lines
1.3 KiB
Plaintext
Raw Normal View History

2019-04-26 13:12:56 +02:00
pipeline {
2019-05-16 15:00:17 +02:00
agent { dockerfile true }
2019-04-26 13:12:56 +02:00
stages {
stage('Stage 1') {
steps {
echo 'Hello world!'
2019-04-26 14:02:32 +02:00
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
2019-04-26 13:59:58 +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-04-26 14:21:18 +02:00
sh label: '', script: 'chmod 755 ./kody.sh'
2019-04-26 14:12:10 +02:00
sh label: '', script: './kody.sh'
sh label: '', script: 'ls -l'
2019-05-16 15:35:27 +02:00
sh label: '', script: 'chmod 755 ./metryki.sh'
sh label: '', script: './metryki.sh'
archiveArtifacts 'sclite.txt'
2019-04-26 14:35:53 +02:00
archiveArtifacts 'plik1'
2019-04-26 14:20:17 +02:00
2019-04-26 14:09:11 +02:00
}
2019-04-26 13:12:56 +02:00
}
2019-05-16 18:01:52 +02:00
stage('Stage 2') {
steps {
echo 'Metryki'
2019-05-16 18:03:26 +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
}
}