Package io.jenkins.plugins.mergify
Class JobMetadata
java.lang.Object
io.jenkins.plugins.mergify.JobMetadata
- All Implemented Interfaces:
Action,ModelObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRepositoryURL(String name, String url) voidsetCommonSpanAttributes(io.opentelemetry.api.trace.Span span) voidsetSCMCheckoutInfoFromBuildData(Run<?, ?> run) voidsetSCMCheckoutInfoFromEnvs(EnvVars envVars) voidsetSCMCheckoutInfoFromGitSCM(hudson.plugins.git.GitSCM gitSCM, org.jenkinsci.plugins.gitclient.GitClient client) voidsetSpanContext(io.opentelemetry.api.trace.SpanContext spanContext)
-
Constructor Details
-
JobMetadata
-
-
Method Details
-
setSpanContext
public void setSpanContext(io.opentelemetry.api.trace.SpanContext spanContext) -
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
setCommonSpanAttributes
public void setCommonSpanAttributes(io.opentelemetry.api.trace.Span span) -
addRepositoryURL
-
setSCMCheckoutInfoFromEnvs
-
setSCMCheckoutInfoFromBuildData
-
setSCMCheckoutInfoFromGitSCM
public void setSCMCheckoutInfoFromGitSCM(hudson.plugins.git.GitSCM gitSCM, org.jenkinsci.plugins.gitclient.GitClient client) throws InterruptedException - Throws:
InterruptedException
-