You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pipelines don't use AbstractProject and AbstractBuild. Instead, they use
WorkflowJob and WorkflowRun. The common ancestors are Job and Run.
Implement the code in terms of Job and Run.
In some cases, Job doesn't provide the needed API. However, both
AbstractProject and WorkflowJob implement ParameterizedJob interface,
which provides the required functionality.
Require the job to implement ParameterizedJob.
TODO:
Task.getDefaultAuthenticationOf() is deprecated.
Consider using CredentialsMatchers.firstOrDefault().
Check the return value of getCredentials() for null.
Original patch by Robert Hencke <[email protected]>
0 commit comments