Class ZDevUploadPlugin
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
com.zimperium.plugins.zDevJenkinsUploadPlugin.ZDevUploadPlugin
- All Implemented Interfaces:
ExtensionPoint,Describable<Publisher>,BuildStep,SimpleBuildStep
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final intstatic final Stringstatic final Integerstatic final Resultstatic final Stringstatic final intstatic final intstatic final Stringstatic final Stringstatic final intFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionZDevUploadPlugin(Boolean useOwnConsoleInfo, String endpoint, String clientId, Secret clientSecret, Boolean useProxy, String sourceFile, String excludedFile, Boolean waitForReport, ZDevUploadPlugin.ReportFormat reportFormat, String reportFileName, String teamName, Integer reportTimeoutMinutes) -
Method Summary
Modifier and TypeMethodDescriptionvoidperform(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) voidsetClientId(String clientId) voidsetClientSecret(Secret clientSecret) voidsetEndpoint(String endpoint) voidsetExcludedFile(String excludedFile) voidsetReportFileName(String reportFileName) voidsetReportFormat(ZDevUploadPlugin.ReportFormat reportFormat) voidsetReportTimeoutMinutes(Integer reportTimeoutMinutes) voidsetSourceFile(String sourceFile) voidsetTeamName(String teamName) voidsetUseOwnConsoleInfo(Boolean useOwnConsoleInfo) voidsetUseProxy(Boolean useProxy) voidsetWaitForReport(Boolean waitForReport) Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Field Details
-
toolId
- See Also:
-
toolName
- See Also:
-
checkInterval
public static final long checkInterval- See Also:
-
connectionTimeout
public static final int connectionTimeout- See Also:
-
writeTimeout
public static final int writeTimeout- See Also:
-
readTimeout
public static final int readTimeout- See Also:
-
DEFAULT_STEP_RESULT
-
MAX_FILES_UPLOAD
public static final int MAX_FILES_UPLOAD- See Also:
-
DEFAULT_REPORT_FILE
- See Also:
-
DEFAULT_TEAM_NAME
- See Also:
-
DEFAULT_REPORT_TIMEOUT_MINUTES
-
-
Constructor Details
-
ZDevUploadPlugin
@DataBoundConstructor public ZDevUploadPlugin(Boolean useOwnConsoleInfo, String endpoint, String clientId, Secret clientSecret, Boolean useProxy, String sourceFile, String excludedFile, Boolean waitForReport, ZDevUploadPlugin.ReportFormat reportFormat, String reportFileName, String teamName, Integer reportTimeoutMinutes)
-
-
Method Details
-
setUseOwnConsoleInfo
-
getUseOwnConsoleInfo
-
setEndpoint
-
getEndpoint
-
setClientId
-
getClientId
-
setClientSecret
-
getClientSecret
-
setUseProxy
-
getUseProxy
-
setSourceFile
-
getSourceFile
-
setExcludedFile
-
getExcludedFile
-
setWaitForReport
-
getWaitForReport
-
setReportFormat
-
getReportFormat
-
setReportFileName
-
getReportFileName
-
setTeamName
-
getTeamName
-
setReportTimeoutMinutes
-
getReportTimeoutMinutes
-
perform
public void perform(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Publisher>- Overrides:
getDescriptorin classRecorder
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep
-