jenkins-job-builder/tests/publishers/fixtures/google_cloud_storage003.yaml

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/'