Class ClassicUpload

    • Constructor Detail

      • ClassicUpload

        @DataBoundConstructor
        public ClassicUpload​(String bucket,
                             @Nullable
                             UploadModule module,
                             String pattern,
                             @Deprecated @Nullable
                             String bucketNameWithVars,
                             @Deprecated @Nullable
                             String sourceGlobWithVars)
        Construct the classic upload implementation from the base properties and the glob for matching files.
        Parameters:
        bucket - GCS bucket to upload files to.
        module - Helper class for connecting to the GCS API.
        pattern - The glob of files to upload, which potentially contains unresolved symbols, such as $JOB_NAME and $BUILD_NUMBER.
        bucketNameWithVars - Deprecated format for bucket.
        sourceGlobWithVars - Deprecated. Old name kept for deserialization.
    • Method Detail

      • getDetails

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

        public String getPattern()
        Returns:
        The glob of files to upload, which potentially contains unresolved symbols, such as $JOB_NAME and $BUILD_NUMBER.