diff --git a/Jenkinsfile b/Jenkinsfile index b8dfaa7c246..f5e003046e1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,12 +2,6 @@ @Library('apm@current') _ -import groovy.transform.Field -/** - This is required to store the stashed id with the test results to be digested with runbld -*/ -@Field def stashedTestReports = [:] - pipeline { agent { label 'ubuntu-18 && immutable' } environment { @@ -146,11 +140,6 @@ COMMIT=${env.GIT_BASE_COMMIT} VERSION=${env.VERSION}-SNAPSHOT""") archiveArtifacts artifacts: 'packaging.properties' } - always { - deleteDir() - unstashV2(name: 'source', bucket: "${JOB_GCS_BUCKET}", credentialsId: "${JOB_GCS_CREDENTIALS}") - runbld(stashedTestReports: stashedTestReports, project: env.REPO) - } cleanup { // Required to enable the flaky test reporting with GitHub. Workspace exists since the post/always runs earlier dir("${BASE_DIR}"){ @@ -461,7 +450,7 @@ def archiveTestOutput(Map args = [:]) { returnStatus: true, script: 'rm -rf ve || true; find . -type d -name vendor -exec rm -r {} \\;') } else { log(level: 'INFO', text: 'Delete folders that are causing exceptions (See JENKINS-58421) is disabled for Windows.') } - junitAndStore(allowEmptyResults: true, keepLongStdio: true, testResults: args.testResults, stashedTestReports: stashedTestReports, id: args.id) + junit(allowEmptyResults: true, keepLongStdio: true, testResults: args.testResults) if (args.upload) { tarAndUploadArtifacts(file: "test-build-artifacts-${args.id}.tgz", location: '.') }