OctopusDeploy / Library

| Public | A repository of step templates and other community-contributed extensions to Octopus Deploy
Other
171 stars 504 forks source link

Update Jenkins-Queue-Job Step Template #1533

Closed mspikes closed 4 months ago

mspikes commented 4 months ago

Background

This update adds additional options when calling the Jenkins /API endpoint that can be used to rate limit the Invoke-RestMethod calls. These calls fetch the URL for the build and depending on the Jenkins server load, may cause excessive consecutive calls while trying to get the build URL. There is also an added dimension of sleeping between calls.

Results

This change results in the option to have less calls to the jenkins /api endpoint while trying to get the build url, thus decreasing REST calls to the jenkins host.

Before

Number of calls prior the change Before

After

Number of calls after the change After

Pre-requisites

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.