Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
michelu89 committed Feb 5, 2024
1 parent 6801f5d commit f60d11b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ pipeline {
while (status == 'IN_PROGRESS') {
sleep(time: 1, unit: 'MINUTES')
response = sh(script: "curl -s https://cbi.eclipse.org/macos/xcrun/${uuid}/status", returnStdout: true).trim()
status = response.find(/"status"\s*:\s*"([^"]+)/)[1]
def inProgressResponse = jsonSlurper.parseText(response)
uuid = inProgressResponse.uuid
status = inProgressResponse.notarizationStatus.status
}

if (status != 'COMPLETE') {
Expand Down

0 comments on commit f60d11b

Please sign in to comment.