@Extension public class DatadogSCMListener extends SCMListener
SCMListener
with Jenkins which allows us to create
the "Checkout successful" event.ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
DatadogSCMListener() |
Modifier and Type | Method and Description |
---|---|
void |
onCheckout(Run<?,?> build,
SCM scm,
FilePath workspace,
TaskListener listener,
File changelogFile,
SCMRevisionState pollingBaseline)
Invoked right after the source code for the build has been checked out.
|
all, onChangeLogParsed, onChangeLogParsed, register, unregister
public void onCheckout(Run<?,?> build, SCM scm, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState pollingBaseline) throws Exception
onCheckout
in class SCMListener
build
- - Current buildscm
- - Configured SCMworkspace
- - Current workspacelistener
- - Current build listenerchangelogFile
- - ChangelogpollingBaseline
- - PollingException
- if an error is encounteredCopyright © 2016–2023. All rights reserved.