<?xml version="1.0" encoding="utf-8"?>
<project>
  <publishers>
    <com.google.jenkins.plugins.storage.GoogleCloudStorageUploader plugin="google-storage-plugin">
      <credentialsId>myCredentials</credentialsId>
      <uploads>
        <com.google.jenkins.plugins.storage.ExpiringBucketLifecycleManager>
          <bucketNameWithVars>gs://myBucket</bucketNameWithVars>
          <sharedPublicly>false</sharedPublicly>
          <forFailedJobs>false</forFailedJobs>
          <bucketObjectTTL>7</bucketObjectTTL>
          <module/>
        </com.google.jenkins.plugins.storage.ExpiringBucketLifecycleManager>
        <com.google.jenkins.plugins.storage.StdoutUpload>
          <bucketNameWithVars>gs://myBucket</bucketNameWithVars>
          <sharedPublicly>true</sharedPublicly>
          <forFailedJobs>true</forFailedJobs>
          <showInline>false</showInline>
          <pathPrefix>path/to/</pathPrefix>
          <logName>console.log</logName>
          <module/>
        </com.google.jenkins.plugins.storage.StdoutUpload>
        <com.google.jenkins.plugins.storage.ClassicUpload>
          <bucketNameWithVars>gs://myBucket</bucketNameWithVars>
          <sharedPublicly>false</sharedPublicly>
          <forFailedJobs>false</forFailedJobs>
          <showInline>false</showInline>
          <pathPrefix>path/to/</pathPrefix>
          <sourceGlobWithVars>target/*.war</sourceGlobWithVars>
          <module/>
        </com.google.jenkins.plugins.storage.ClassicUpload>
        <com.google.jenkins.plugins.storage.ExpiringBucketLifecycleManager>
          <bucketNameWithVars>gs://myBucket/artifacts/</bucketNameWithVars>
          <sharedPublicly>false</sharedPublicly>
          <forFailedJobs>false</forFailedJobs>
          <bucketObjectTTL>7</bucketObjectTTL>
          <module reference="../../com.google.jenkins.plugins.storage.ExpiringBucketLifecycleManager/module"/>
        </com.google.jenkins.plugins.storage.ExpiringBucketLifecycleManager>
        <com.google.jenkins.plugins.storage.StdoutUpload>
          <bucketNameWithVars>gs://myBucket/artifacts/</bucketNameWithVars>
          <sharedPublicly>false</sharedPublicly>
          <forFailedJobs>false</forFailedJobs>
          <showInline>true</showInline>
          <pathPrefix>path/to/</pathPrefix>
          <logName>console.log</logName>
          <module reference="../../com.google.jenkins.plugins.storage.StdoutUpload/module"/>
        </com.google.jenkins.plugins.storage.StdoutUpload>
        <com.google.jenkins.plugins.storage.ClassicUpload>
          <bucketNameWithVars>gs://myBucket/artifacts/</bucketNameWithVars>
          <sharedPublicly>true</sharedPublicly>
          <forFailedJobs>true</forFailedJobs>
          <showInline>true</showInline>
          <pathPrefix>path/to/</pathPrefix>
          <sourceGlobWithVars>target/*.war</sourceGlobWithVars>
          <module reference="../../com.google.jenkins.plugins.storage.ClassicUpload/module"/>
        </com.google.jenkins.plugins.storage.ClassicUpload>
      </uploads>
    </com.google.jenkins.plugins.storage.GoogleCloudStorageUploader>
  </publishers>
</project>
