Skip to content

Commit 3ca6048

Browse files
committed
Change --allow-wait flag in example commands for docs
1 parent 092feaf commit 3ca6048

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cmd/kosli/attestSonar.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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:
6666
kosli 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:
7777
kosli 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:
102102
kosli 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

114114
func newAttestSonarCmd(out io.Writer) *cobra.Command {

0 commit comments

Comments
 (0)