Jenkins Remote Build - 2

Continuing previous article "Jenkins Remote Build".That mention the job can be triggered from URL directly.Under this premise is you've logged on Jenkins.In my sample that used Http Request Plugin then got the 403 error.So that we need passing the user credential with the request.

1.Getting User API Token


2.In the global settings where find the Http Request block then insert a user token records.

3.在建置工作使用Http Request來觸發遠方工作
3.Build job used Http Request to triggered a remote job.

Reference

Popular posts from this blog

VS2017-Build fail-FindDependenciesOfExternallyResolvedReferences

SQL Server pass parameter to Procedure

Jenkins- PowerShell include global config