File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ kosli attest sonar \
6262 --api-token yourAPIToken \
6363 --org yourOrgName \
6464
65- # report a SonarQube Server attestation about a trail using SonarWube's metadata, waiting for up to 10 minutes for scan processing :
65+ # report a SonarQube Server attestation about a trail using SonarWube's metadata, allowing for up to 10 retries :
6666kosli attest sonar \
6767 --name yourAttestationName \
6868 --flow yourFlowName \
@@ -71,7 +71,7 @@ kosli attest sonar \
7171 --sonar-working-dir yourSonarWorkingDirPath \
7272 --api-token yourAPIToken \
7373 --org yourOrgName \
74- --allow-wait 600
74+ --max-retries 10
7575
7676# report a SonarQube Cloud attestation for a specific branch about a trail using key/revision:
7777kosli attest sonar \
@@ -98,7 +98,7 @@ kosli attest sonar \
9898 --api-token yourAPIToken \
9999 --org yourOrgName \
100100
101- # report a SonarQube Cloud attestation about a trail with an attachment using Sonar's metadata, waiting for up to 10 minutes for scan processing :
101+ # report a SonarQube Cloud attestation about a trail with an attachment using Sonar's metadata, allowing for up to 5 retries :
102102kosli attest sonar \
103103 --name yourAttestationName \
104104 --flow yourFlowName \
@@ -108,7 +108,7 @@ kosli attest sonar \
108108 --attachment yourAttachmentPath \
109109 --api-token yourAPIToken \
110110 --org yourOrgName \
111- --allow-wait 600
111+ --max-retries 5
112112`
113113
114114func newAttestSonarCmd (out io.Writer ) * cobra.Command {
You can’t perform that action at this time.
0 commit comments