| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <project> |
| 3 | <publishers> |
| 4 | <com.google.jenkins.plugins.storage.GoogleCloudStorageUploader plugin="google-storage-plugin"> |
| 5 | <credentialsId>myCredentials</credentialsId> |
| 6 | <uploads> |
| 7 | <com.google.jenkins.plugins.storage.ExpiringBucketLifecycleManager> |
| 8 | <bucketNameWithVars>gs://myBucket</bucketNameWithVars> |
| 9 | <sharedPublicly>false</sharedPublicly> |
| 10 | <forFailedJobs>false</forFailedJobs> |
| 11 | <bucketObjectTTL>7</bucketObjectTTL> |
| 12 | <module/> |
| 13 | </com.google.jenkins.plugins.storage.ExpiringBucketLifecycleManager> |
| 14 | <com.google.jenkins.plugins.storage.StdoutUpload> |
| 15 | <bucketNameWithVars>gs://myBucket</bucketNameWithVars> |
| 16 | <sharedPublicly>true</sharedPublicly> |
| 17 | <forFailedJobs>true</forFailedJobs> |
| 18 | <showInline>false</showInline> |
| 19 | <pathPrefix>path/to/</pathPrefix> |
| 20 | <logName>console.log</logName> |
| 21 | <module/> |
| 22 | </com.google.jenkins.plugins.storage.StdoutUpload> |
| 23 | <com.google.jenkins.plugins.storage.ClassicUpload> |
| 24 | <bucketNameWithVars>gs://myBucket</bucketNameWithVars> |
| 25 | <sharedPublicly>false</sharedPublicly> |
| 26 | <forFailedJobs>false</forFailedJobs> |
| 27 | <showInline>false</showInline> |
| 28 | <pathPrefix>path/to/</pathPrefix> |
| 29 | <sourceGlobWithVars>target/*.war</sourceGlobWithVars> |
| 30 | <module/> |
| 31 | </com.google.jenkins.plugins.storage.ClassicUpload> |
| 32 | <com.google.jenkins.plugins.storage.ExpiringBucketLifecycleManager> |
| 33 | <bucketNameWithVars>gs://myBucket/artifacts/</bucketNameWithVars> |
| 34 | <sharedPublicly>false</sharedPublicly> |
| 35 | <forFailedJobs>false</forFailedJobs> |
| 36 | <bucketObjectTTL>7</bucketObjectTTL> |
| 37 | <module reference="../../com.google.jenkins.plugins.storage.ExpiringBucketLifecycleManager/module"/> |
| 38 | </com.google.jenkins.plugins.storage.ExpiringBucketLifecycleManager> |
| 39 | <com.google.jenkins.plugins.storage.StdoutUpload> |
| 40 | <bucketNameWithVars>gs://myBucket/artifacts/</bucketNameWithVars> |
| 41 | <sharedPublicly>false</sharedPublicly> |
| 42 | <forFailedJobs>false</forFailedJobs> |
| 43 | <showInline>true</showInline> |
| 44 | <pathPrefix>path/to/</pathPrefix> |
| 45 | <logName>console.log</logName> |
| 46 | <module reference="../../com.google.jenkins.plugins.storage.StdoutUpload/module"/> |
| 47 | </com.google.jenkins.plugins.storage.StdoutUpload> |
| 48 | <com.google.jenkins.plugins.storage.ClassicUpload> |
| 49 | <bucketNameWithVars>gs://myBucket/artifacts/</bucketNameWithVars> |
| 50 | <sharedPublicly>true</sharedPublicly> |
| 51 | <forFailedJobs>true</forFailedJobs> |
| 52 | <showInline>true</showInline> |
| 53 | <pathPrefix>path/to/</pathPrefix> |
| 54 | <sourceGlobWithVars>target/*.war</sourceGlobWithVars> |
| 55 | <module reference="../../com.google.jenkins.plugins.storage.ClassicUpload/module"/> |
| 56 | </com.google.jenkins.plugins.storage.ClassicUpload> |
| 57 | </uploads> |
| 58 | </com.google.jenkins.plugins.storage.GoogleCloudStorageUploader> |
| 59 | </publishers> |
| 60 | </project> |