Skip to content

Commit c08a2eb

Browse files
committed
fix: Do not archive images and metadata
in the triggering, but only the triggered job
1 parent d1eaee9 commit c08a2eb

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
@@ -111,8 +111,12 @@ pipeline {
111111
}
112112
post {
113113
always {
114-
archiveArtifacts artifacts: 'gluon/output/images/**/*', fingerprint: true
115-
archiveArtifacts artifacts: 'gluon/output/meta/**/*', fingerprint: true
114+
script {
115+
if (params.GLUON_TARGET != 'ALL') {
116+
archiveArtifacts artifacts: 'gluon/output/images/**/*', fingerprint: true
117+
archiveArtifacts artifacts: 'gluon/output/meta/**/*', fingerprint: true
118+
}
119+
}
116120
}
117121
}
118122
}

0 commit comments

Comments
 (0)