Jenkins copy model & results path fix
This commit is contained in:
parent
4cad8f26ee
commit
3be030ad58
@ -13,9 +13,11 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('Copy artifacts') {
|
stage('Copy artifacts') {
|
||||||
steps {
|
steps {
|
||||||
git branch: '${params.BRANCH}', url: 'https://git.wmi.amu.edu,pl/s478841/ium_478841/${BRANCH}/', selector: buildParameter('BUILD_SELECTOR')
|
git branch: '${params.BRANCH_NAME}', url: 'https://git.wmi.amu.edu,pl/s478841/ium_478841.git'
|
||||||
|
|
||||||
copyArtifacts filter: 'data/*test*', fingerprintArtifacts: true, projectName: 's478841-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
copyArtifacts filter: 'data/*test*', fingerprintArtifacts: true, projectName: 's478841-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||||
copyArtifacts filter: 'evaluation_results.txt', projectName: 's478841-evaluation/develop/', optional: true
|
copyArtifacts filter: 'data/*model*', fingerprintArtifacts: true, projectName: 's478841-training/${BRANCH_NAME}', selector: buildParameter('BUILD_SELECTOR')
|
||||||
|
copyArtifacts filter: 'evaluation_results.csv', projectName: 's478841-evaluation/${BRANCH_NAME}/', optional: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Evaluate model') {
|
stage('Evaluate model') {
|
||||||
@ -26,8 +28,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Archive artifacts') {
|
stage('Archive artifacts') {
|
||||||
steps {
|
steps {
|
||||||
archiveArtifacts 'evaluation_results.txt', onlyIfSuccessful: true
|
archiveArtifacts '*data/evaluation_results.csv', onlyIfSuccessful: true
|
||||||
archiveArtifacts 'plots.png', onlyIfSuccessful: true
|
archiveArtifacts '*data/plots.png', onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user