Modify Jenkinsfile
This commit is contained in:
parent
ff3abefa07
commit
30576f79d6
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -2,24 +2,16 @@ pipeline {
|
||||
agent { dockerfile true }
|
||||
|
||||
stages {
|
||||
stage('checkout: Check out from version control') {
|
||||
stage('Prepare environment') {
|
||||
steps {
|
||||
git 'https://git.wmi.amu.edu.pl/s416178/s416178-mlworkshops'
|
||||
}
|
||||
}
|
||||
stage('copyArtifacts') {
|
||||
steps {
|
||||
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
|
||||
}
|
||||
}
|
||||
stage('sh: Shell Script') {
|
||||
stage('Run script and save results') {
|
||||
steps {
|
||||
sh('chmod +x ./shell_script.sh')
|
||||
sh('./shell_script.sh wikiniews_results.tsv > result.log')
|
||||
}
|
||||
}
|
||||
stage('archiveArtifacts') {
|
||||
steps {
|
||||
archiveArtifacts 'result.log'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user