Skip to content

Commit

Permalink
[CI] runbld is now deprecated (#22862)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Dec 3, 2020
1 parent 3530e9e commit 3f94970
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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}"){
Expand Down Expand Up @@ -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: '.')
}
Expand Down

0 comments on commit 3f94970

Please sign in to comment.