Update Jenkinsfile
This commit is contained in:
parent
78af9730aa
commit
a1b20d9270
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
@ -2,9 +2,24 @@ pipeline {
|
|||||||
agent any
|
agent any
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Hello') {
|
stage('checkout: Check out from version control') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Hello World'
|
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: './s416178-mlworkshops'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('sh: Shell Script') {
|
||||||
|
steps {
|
||||||
|
sh('./s416178-mlworkshops/shell_script.sh')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('archiveArtifacts') {
|
||||||
|
steps {
|
||||||
|
archiveArtifacts './s416178-mlworkshops/result.log'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user