hopefully fixed jenkinsfile
This commit is contained in:
parent
822bb53727
commit
88b9eed8fd
@ -6,33 +6,33 @@ pipeline {
|
||||
description: 'Which build to use for copying artifacts',
|
||||
name: 'BUILD_SELECTOR')
|
||||
])])
|
||||
|
||||
stage('Clone repository') {
|
||||
steps {
|
||||
git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487176/ium_487176'
|
||||
}
|
||||
}
|
||||
stage('Copy Artifacts') {
|
||||
steps {
|
||||
script {
|
||||
projectName: 'z-s487176-create-dataset',
|
||||
fingerprintArtifacts: true,
|
||||
selector: buildParameter('BUILD_SELECTOR')
|
||||
stages {
|
||||
stage('Clone repository') {
|
||||
steps {
|
||||
git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487176/ium_487176'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Run script') {
|
||||
steps {
|
||||
sh 'sh datastats.sh'
|
||||
}
|
||||
post {
|
||||
always {
|
||||
archiveArtifacts artifacts: 'stats.txt', allowEmptyArchive: true
|
||||
stage('Copy Artifacts') {
|
||||
steps {
|
||||
script {
|
||||
projectName: 'z-s487176-create-dataset',
|
||||
fingerprintArtifacts: true,
|
||||
selector: buildParameter('BUILD_SELECTOR')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('Run script') {
|
||||
steps {
|
||||
sh 'sh datastats.sh'
|
||||
}
|
||||
post {
|
||||
always {
|
||||
archiveArtifacts artifacts: 'stats.txt', allowEmptyArchive: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user