jenkins-job-builder/tests/publishers/fixtures/google_cloud_storage003.xml
Yolande Amate 895ceea792 Update google_cloud_storage to use convert_xml()
Update tests

Change-Id: Id3b65f58aac60f1ea43459fe14bba7456e8a1cf7
2017-07-25 21:37:02 +01:00

61 lines
3.0 KiB
XML

<?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>