public abstract class AbstractDownloader extends Object
Constructor and Description |
---|
AbstractDownloader() |
Modifier and Type | Method and Description |
---|---|
String |
convertFilterPattern(String filterPattern)
Converts the given filter pattern from a multi-line String to a comma-delimited string.
|
abstract 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.
|
public String convertFilterPattern(String filterPattern)
filterPattern
- the String
dataset filterString
of dataset filterspublic abstract boolean getSource(hudson.model.Run<?,?> build, hudson.Launcher launcher, hudson.FilePath workspaceFilePath, hudson.model.TaskListener listener, File changelogFile) throws InterruptedException, IOException
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.