s442673-mlworkshops/Jenkinsfile

30 lines
1.0 KiB
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Stage 1') {
steps {
echo 'Hello world!'
copyArtifacts 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/s442673/s442673-mlworkshops.git']]])
sh label: '', script: 'chmod 755 ./kody.sh'
sh label: '', script: './kody.sh'
sh label: '', script: 'ls -l'
archiveArtifacts 'plik1'
}
}
stage('Stage 2') {
steps {
echo 'Metryki'
sh label: '', script: 'chmod 755 ./kody-metryki.sh'
sh label: '', script: './kody-metryki.sh'
archiveArtifacts 'WER.txt'
archiveArtifacts 'SSR.txt'
archiveArtifacts 'sredniaWER.txt'
archiveArtifacts 'wikiniews_results_WER.tsv'
}
}
}
}