< Back

Invoke-JenkinsJobReload

Wed Jan 15, 2020 10:37 am

NAME Invoke-JenkinsJobReload



SYNOPSIS

Triggers a reload on a jenkins server





SYNTAX

Invoke-JenkinsJobReload [-Uri] <String> [[-Credential] <PSCredential>] [[-Crumb] <String>] [<CommonParameters>]





DESCRIPTION

Triggers a reload on a jenkins server, e.g. if the job configs are altered on disk.





PARAMETERS

-Uri <String>

The uri of the Jenkins server to trigger the reload on.



Required? true

Position? 2

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Credential <PSCredential>

Contains the credentials to use to authenticate with the Jenkins Master server.



Required? false

Position? 3

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Crumb <String>

Contains a Crumb to pass to the Jenkins Master Server if CSRF is enabled.



Required? false

Position? 4

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Invoke-JenkinsJobReload `

-Uri 'https://jenkins.contoso.com' \\`

-Credential (Get-Credential) \\`

-Verbose



Triggers a reload of the jenkins server 'https://jenkins.contoso.com'



RELATED LINKS