Class StdoutUpload

    • Constructor Detail

      • StdoutUpload

        @DataBoundConstructor
        public StdoutUpload​(@Nullable
                            String bucket,
                            @Nullable
                            UploadModule module,
                            String logName,
                            @Deprecated @Nullable
                            String bucketNameWithVars)
        Construct the Upload with the stock properties, and the additional information about how to name the build log file.
        Parameters:
        bucket - GCS bucket to upload build artifacts to.
        module - An UploadModule to use for execution.
        logName - Name of log file to store to GCS bucket.
        bucketNameWithVars - Deprecated format for bucket.
    • Method Detail

      • getLogName

        public String getLogName()
        Returns:
        The name to give the file we upload for the build log.
      • getDetails

        public String getDetails()
        Specified by:
        getDetails in class AbstractUpload
        Returns:
        Provide detail information summarizing this download for the GCS upload report.
      • forResult

        public boolean forResult​(Result result)
        Determine whether we should upload the pattern for the given build result.
        Overrides:
        forResult in class AbstractUpload
        Parameters:
        result - Result of the build run.
        Returns:
        Whether we should upload the pattern for the given build result.