Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload build log after running custom GCS scripts #21590

Merged
merged 1 commit into from
Feb 19, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 9 additions & 9 deletions hack/jenkins/job-configs/global.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@
- publisher:
name: gcs-uploader
publishers:
# Use the plugin for the build log, since it isn't available on Jenkins slaves.
- google-cloud-storage:
credentials-id: kubernetes-jenkins
uploads:
- build-log:
log-name: build-log.txt
storage-location: gs://kubernetes-jenkins/logs/$JOB_NAME/$BUILD_NUMBER
share-publicly: true
upload-for-failed-jobs: true
# Use our script for build artifacts, since it's more flexible.
- postbuildscript:
builders:
Expand Down Expand Up @@ -58,6 +49,15 @@
- shell: './upload-finished.sh ABORTED'
script-only-if-succeeded: False
script-only-if-failed: False
# Use the plugin for the build log, since it isn't available on Jenkins slaves.
- google-cloud-storage:
credentials-id: kubernetes-jenkins
uploads:
- build-log:
log-name: build-log.txt
storage-location: gs://kubernetes-jenkins/logs/$JOB_NAME/$BUILD_NUMBER
share-publicly: true
upload-for-failed-jobs: true

# Default log parser rules.
- publisher:
Expand Down