github.com/jaylevin/jenkins-library@v1.230.4/resources/metadata/awsS3Upload.yaml (about)

     1  metadata:
     2    name: awsS3Upload
     3    description: "Uploads a specified file or directory into a given AWS S3 Bucket"
     4    longDescription: |
     5      Uploads a specified file or directory as S3 Objects into a given AWS S3 Bucket.
     6      In case a file is uploaded that is already contained in the S3 bucket, it will be overwritten with the latest version.
     7  spec:
     8    inputs:
     9      secrets:
    10        - name: awsCredentialsId
    11          description: Jenkins 'Secret Text' credentials ID containing the JSON file to authenticate to the AWS S3 Bucket
    12          type: jenkins
    13      params:
    14        - name: jsonCredentialsAWS
    15          description: JSON String Credentials to access AWS S3 Bucket
    16          type: string
    17          mandatory: true
    18          scope:
    19            - PARAMETERS
    20          secret: true
    21          resourceRef:
    22            - name: awsCredentialsId
    23              type: secret
    24        - name: filePath
    25          resourceRef:
    26            - name: commonPipelineEnvironment
    27              param: mtarFilePath
    28          type: string
    29          mandatory: true
    30          description: "Name/Path of the file which should be uploaded"
    31          scope:
    32            - PARAMETERS
    33            - STAGES
    34            - STEPS