Skip to content

Commit 60ce288

Browse files
committed
fix: Do not archive images and metadata
in the triggering, but only the triggered job
1 parent 61142a3 commit 60ce288

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Jenkinsfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,12 @@ pipeline {
107107
}
108108
post {
109109
always {
110-
archiveArtifacts artifacts: 'gluon/output/images/**/*', fingerprint: true
111-
archiveArtifacts artifacts: 'gluon/output/meta/**/*', fingerprint: true
110+
script {
111+
if (params.GLUON_TARGET != 'ALL') {
112+
archiveArtifacts artifacts: 'gluon/output/images/**/*', fingerprint: true
113+
archiveArtifacts artifacts: 'gluon/output/meta/**/*', fingerprint: true
114+
}
115+
}
112116
}
113117
}
114118
}

0 commit comments

Comments
 (0)