1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-02-21 19:48:53 +02:00

Update maxWaitTime timeout for WhiteSource (#3284)

* Update scanPolling.go

Changing maxWaitTime from 15 to 30 to overcome WhiteSource results reflection in the backend issue.

* Update configHelper.go

* Reset configHelper changes to fix PR 3284

 Committer: raghunathd8

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
Co-authored-by: raghunathd8 <root@docker-evaluation.openstack.eu-nl-1.cloud.sap>
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
This commit is contained in:
Raghunath Deshpande 2022-01-20 12:14:00 +01:00 committed by GitHub
parent f88a979896
commit af4bc6e989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ func pollProjectStatus(projectToken string, scanTime time.Time, sys whitesourceP
scanTime: scanTime,
maxAge: 20 * time.Second,
timeBetweenPolls: 20 * time.Second,
maxWaitTime: 15 * time.Minute,
maxWaitTime: 30 * time.Minute,
}
return blockUntilProjectIsUpdated(projectToken, sys, options)
}