jenkins-job-builder/tests/publishers/fixtures/google_cloud_storage003.yaml
Jeff Grafton d7c6fd8ea8 Update Google Cloud Storage publisher
https://github.com/jenkinsci/google-storage-plugin/pull/12 added an
option to allow uploaded objects (such as the build log) to be viewed
inline in web browsers, rather than forcing them to be downloaded.

This commit adds support for this option.

Change-Id: Iae09db42d2c2f69add31f9de7819a22fe1cc1c6e
2016-05-02 13:59:23 -07:00

33 lines
1.2 KiB
YAML

publishers:
- google-cloud-storage:
credentials-id: 'myCredentials'
uploads:
- expiring-elements:
bucket-name: 'gs://myBucket'
days-to-retain: 7
- build-log:
log-name: 'console.log'
storage-location: 'gs://myBucket'
share-publicly: 'true'
upload-for-failed-jobs: 'true'
show-inline: 'false'
strip-prefix: 'path/to/'
- classic:
file-pattern: 'target/*.war'
storage-location: 'gs://myBucket'
strip-prefix: 'path/to/'
- expiring-elements:
bucket-name: 'gs://myBucket/artifacts/'
days-to-retain: 7
- build-log:
log-name: 'console.log'
storage-location: 'gs://myBucket/artifacts/'
strip-prefix: 'path/to/'
- classic:
file-pattern: 'target/*.war'
storage-location: 'gs://myBucket/artifacts/'
share-publicly: 'true'
upload-for-failed-jobs: 'true'
show-inline: 'true'
strip-prefix: 'path/to/'