File tree Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -284,15 +284,10 @@ spec:
284
284
sh '''
285
285
source $CJE_ROOT/buildproperties.shsource
286
286
cp -r $logDir/* $CJE_ROOT/$DROP_DIR/$BUILD_ID/buildlogs
287
- rm -rf $logDir
288
287
rm -rf $CJE_ROOT/$DROP_DIR/$BUILD_ID/apitoolingreference
289
- cp $CJE_ROOT/buildproperties.txt $CJE_ROOT/$DROP_DIR/$BUILD_ID
290
- cp $CJE_ROOT/buildproperties.php $CJE_ROOT/$DROP_DIR/$BUILD_ID
291
- cp $CJE_ROOT/buildproperties.properties $CJE_ROOT/$DROP_DIR/$BUILD_ID
292
- cp $CJE_ROOT/buildproperties.shsource $CJE_ROOT/$DROP_DIR/$BUILD_ID
288
+ cp $CJE_ROOT/buildproperties.* $CJE_ROOT/$DROP_DIR/$BUILD_ID
293
289
cp $CJE_ROOT/$DROP_DIR/$BUILD_ID/buildproperties.* $CJE_ROOT/$EQUINOX_DROP_DIR/$BUILD_ID
294
290
'''
295
- archiveArtifacts '**/siteDir/**'
296
291
}
297
292
}
298
293
stage('Promote Eclipse platform'){
@@ -354,11 +349,13 @@ spec:
354
349
}
355
350
}
356
351
post {
352
+ always {
353
+ archiveArtifacts 'cje-production/siteDir/**'
354
+ }
357
355
failure {
358
356
emailext subject: "${RELEASE_VER} ${BUILD_TYPE}-Build: ${BUILD_IID} - BUILD FAILED",
359
357
body: "Please go to ${BUILD_URL}console and check the build failure.", mimeType: 'text/plain',
360
358
to: "${BUILD.mailingList}", from:'
[email protected] '
361
- archiveArtifacts "${CJE_ROOT}/siteDir/eclipse/downloads/drops4/${BUILD_IID}/gitLog.html, $CJE_ROOT/gitCache/eclipse.platform.releng.aggregator"
362
359
}
363
360
success {
364
361
emailext subject: "${RELEASE_VER} ${BUILD_TYPE}-Build: ${BUILD_IID} ${COMPARATOR_ERRORS_SUBJECT}",
Original file line number Diff line number Diff line change @@ -208,11 +208,6 @@ spec:
208
208
}
209
209
}
210
210
}
211
- stage('Archive artifacts'){
212
- steps {
213
- archiveArtifacts '**/siteDir/**'
214
- }
215
- }
216
211
stage('Promote Update Site'){
217
212
steps {
218
213
container('jnlp') {
@@ -227,6 +222,9 @@ spec:
227
222
}
228
223
}
229
224
post {
225
+ always {
226
+ archiveArtifacts 'cje-production/siteDir/**'
227
+ }
230
228
failure {
231
229
emailext body: "Please go to <a href='${BUILD_URL}console'>${BUILD_URL}console</a> and check the build failure.<br><br>",
232
230
subject: "${env.RELEASE_VER.trim()} P-Build: ${env.BUILD_IID.trim()} - BUILD FAILED",
You can’t perform that action at this time.
0 commit comments