File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ pipeline
4242 }
4343 // Send results to GitHub PR only
4444 try {
45- if (! bypass_send_results_gh && env. CHANGE_ID ) {
45+ if (env. CHANGE_ID ) {
4646 pipelineFunctions. send_sonar_results_to_github(
4747 sonarCommitSha,
4848 staticAnalysisResult,
@@ -62,6 +62,25 @@ pipeline
6262 }
6363 }
6464 }
65+ stage(' Upload Artifacts' ) {
66+ steps {
67+ script {
68+ retry(3 ) {
69+ withDockerContainer(image : ' artifactory.silabs.net/gsdk-docker-production/gsdk_nomad_containers/gsdk_ubai:latest' ) {
70+ pipelineFunctions. actionWithRetry {
71+ def result = pipelineFunctions. upload_artifacts()
72+ commit_sha = result. commit_sha
73+ run_number = result. run_number
74+ bypass_send_results_gh = result. bypass_send_results
75+ pr_number = result. pr_number
76+ echo " commit_sha: ${ commit_sha} , run_number: ${ run_number} "
77+ buildDescription(" GitHub Workflow Run Number: ${ run_number} " )
78+ }
79+ }
80+ }
81+ }
82+ }
83+ }
6584 stage(' Execute CI Tests' )
6685 {
6786 steps {
You can’t perform that action at this time.
0 commit comments