Class BuildStrategyCredentialsProperty
java.lang.Object
hudson.model.AbstractDescribableImpl<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<com.cloudbees.hudson.plugins.folder.AbstractFolder<?>>
com.igalg.jenkins.plugins.multibranch.buildstrategy.BuildStrategyCredentialsProperty
- All Implemented Interfaces:
ExtensionPoint, Describable<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>, ReconfigurableDescribable<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
public class BuildStrategyCredentialsProperty
extends com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<com.cloudbees.hudson.plugins.folder.AbstractFolder<?>>
Project-scoped override for the credential used by branch build strategies
when they perform Git protocol operations (fetch, log) during branch scan.
The underlying strategies always talk Git, not REST. When the SCMSource credential is a REST-only API token (e.g. Atlassian API scoped token with an email username), Git HTTPS auth fails. Setting this property lets those strategies use a separate, Git-compatible credential without changing the SCMSource credential used for branch discovery.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class com.cloudbees.hudson.plugins.folder.AbstractFolderProperty
owner -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.cloudbees.hudson.plugins.folder.AbstractFolderProperty
getDescriptor, getHealthMetrics, getHealthReports, getItemContainerOverrides, getOwner, reconfigure, reconfigure, setOwner
-
Constructor Details
-
BuildStrategyCredentialsProperty
-
-
Method Details
-
getCredentialsId
-