|
@@ -704,6 +704,7 @@ pipeline {
|
|
|
}
|
|
|
environment {
|
|
|
DOCKER_BUILDKIT = '0'
|
|
|
+ DOCKER_DUT_DEBUG = '1'
|
|
|
SKIP_VALIDATION_TESTS = '1'
|
|
|
SOURCES_DRIVE = 'd'
|
|
|
SOURCES_SUBDIR = 'gopath'
|
|
@@ -737,6 +738,25 @@ pipeline {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ post {
|
|
|
+ always {
|
|
|
+ catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE', message: 'Failed to create bundles.tar.gz') {
|
|
|
+ powershell '''
|
|
|
+ $bundleName="windowsRS1-integration"
|
|
|
+ Write-Host -ForegroundColor Green "Creating ${bundleName}-bundles.zip"
|
|
|
+
|
|
|
+ # archiveArtifacts does not support env-vars to , so save the artifacts in a fixed location
|
|
|
+ Compress-Archive -Path "${env:TEMP}/CIDUT.out", "${env:TEMP}/CIDUT.err" -CompressionLevel Optimal -DestinationPath "${bundleName}-bundles.zip"
|
|
|
+ '''
|
|
|
+
|
|
|
+ archiveArtifacts artifacts: '*-bundles.zip', allowEmptyArchive: true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ cleanup {
|
|
|
+ sh 'make clean'
|
|
|
+ deleteDir()
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
stage('windowsRS5-process') {
|
|
|
when {
|
|
@@ -745,6 +765,7 @@ pipeline {
|
|
|
}
|
|
|
environment {
|
|
|
DOCKER_BUILDKIT = '0'
|
|
|
+ DOCKER_DUT_DEBUG = '1'
|
|
|
SKIP_VALIDATION_TESTS = '1'
|
|
|
SOURCES_DRIVE = 'd'
|
|
|
SOURCES_SUBDIR = 'gopath'
|
|
@@ -777,6 +798,25 @@ pipeline {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ post {
|
|
|
+ always {
|
|
|
+ catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE', message: 'Failed to create bundles.tar.gz') {
|
|
|
+ powershell '''
|
|
|
+ $bundleName="windowsRS5-integration"
|
|
|
+ Write-Host -ForegroundColor Green "Creating ${bundleName}-bundles.zip"
|
|
|
+
|
|
|
+ # archiveArtifacts does not support env-vars to , so save the artifacts in a fixed location
|
|
|
+ Compress-Archive -Path "${env:TEMP}/CIDUT.out", "${env:TEMP}/CIDUT.err" -CompressionLevel Optimal -DestinationPath "${bundleName}-bundles.zip"
|
|
|
+ '''
|
|
|
+
|
|
|
+ archiveArtifacts artifacts: '*-bundles.zip', allowEmptyArchive: true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ cleanup {
|
|
|
+ sh 'make clean'
|
|
|
+ deleteDir()
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|