public class EndevorDownloader extends AbstractDownloader
Constructor and Description |
---|
EndevorDownloader(EndevorConfiguration config)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getSource(hudson.model.Run<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspaceFilePath,
hudson.model.TaskListener listener,
File changelogFile)
Download the mainframe sources specified in the Jenkins configuration.
|
convertFilterPattern
public EndevorDownloader(EndevorConfiguration config)
config
- the EndevorConfiguration
to use for the downloadpublic boolean getSource(hudson.model.Run<?,?> build, hudson.Launcher launcher, hudson.FilePath workspaceFilePath, hudson.model.TaskListener listener, File changelogFile) throws InterruptedException, IOException
AbstractDownloader
getSource
in class AbstractDownloader
build
- the current running Jenkins buildlauncher
- the machine that the files will be checked out.workspaceFilePath
- a directory to check out the source code.listener
- build listenerchangelogFile
- upon a successful return, this file should capture the changelog. When there's no change, this file should
contain an empty entryboolean
if the build was successfulInterruptedException
- if an error in checking CLI compatibility, retrieving the environment or launching the CLI commandIOException
- if an error in checking CLI compatibility, retrieving the environment or launching the CLI commandCopyright © 2016–2023. All rights reserved.