Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31263

S3 artifact variables are not expanded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • notification-plugin
    • None
    • Jenkins 1.635
      Notification Plugin 1.9
      S3 Publisher Plugin 0.8

      When using wildcards and variables in the S3 Publisher plugin's "Publish artifacts to S3 Bucket", the notification plugin does not expand these when posting its status update.

      For instance, with the following configuration

      Source: *.ipa
      Destination: my-bucket/${JOB_NAME}
      

      the S3 publisher expands these variables and places the files in the correct folders in the bucket, but the Notification plugin sends the raw value:

      {
        "artifacts": {
          "*.ipa": {
            "s3": "https://s3-us-east-1.amazonaws.com/my-bucket/${JOB_NAME}/jobs/test-job/19/*.ipa"
          }
        }
      }
      

      This makes the URL effectively useless for wildcards.

            Unassigned Unassigned
            mariusmarais Marius Marais
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: