s442676-mlworkshops/Jenkinsfile

28 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/s442676/s442676-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 ./metryki.sh'
sh label: '', script: './metryki.sh'
archiveArtifacts 'WER.txt'
archiveArtifacts 'SSR.txt'
archiveArtifacts 'sredniaWER.txt'
archiveArtifacts 'wikiniews_results_WER.tsv'
}
}
}
}