forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes#18454 from spxtr/e2e-gce
Add kubernetes-e2e-gce job to git
- Loading branch information
Showing
5 changed files
with
91 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Mail Watcher Plugin alerts the specified address whenever a job config is updated or deleted. | ||
- property: | ||
name: mail-watcher | ||
properties: | ||
- raw: | ||
xml: | | ||
<org.jenkinsci.plugins.mailwatcher.WatcherJobProperty plugin="mail-watcher-plugin@1.13"> | ||
<watcherAddresses>cloud-kubernetes-team@google.com</watcherAddresses> | ||
</org.jenkinsci.plugins.mailwatcher.WatcherJobProperty> | ||
- publisher: | ||
name: gcs-uploader | ||
publishers: | ||
- 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: | ||
name: log-parser | ||
publishers: | ||
- logparser: | ||
parse-rules: /jenkins-master-data/log_parser_rules.txt | ||
unstable-on-warning: false | ||
fail-on-error: false | ||
|
||
# There is a junit JJB tag, but it doesn't handle the flaky-test-handler plugin. | ||
- publisher: | ||
name: junit-publisher | ||
publishers: | ||
- raw: | ||
xml: | | ||
<hudson.tasks.junit.JUnitResultArchiver plugin="junit@1.9"> | ||
<testResults>_artifacts/junit*.xml</testResults> | ||
<keepLongStdio>true</keepLongStdio> | ||
<testDataPublishers> | ||
<de.esailors.jenkins.teststability.StabilityTestDataPublisher plugin="test-stability@1.0"/> | ||
<com.google.jenkins.flakyTestHandler.plugin.JUnitFlakyTestDataPublisher plugin="flaky-test-handler@1.0.1"/> | ||
<hudson.plugins.claim.ClaimTestDataPublisher plugin="claim@2.7"/> | ||
</testDataPublishers> | ||
<healthScaleFactor>100.0</healthScaleFactor> | ||
</hudson.tasks.junit.JUnitResultArchiver> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
- job-template: | ||
name: 'kubernetes-e2e-{suffix}' | ||
description: 'Run E2E tests on GCE using the latest successful build. Test owner: Build Cop.' | ||
logrotate: | ||
daysToKeep: 7 | ||
builders: | ||
- shell: | | ||
curl -fsS -o upload-to-gcs.sh --retry 3 "https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/upload-to-gcs.sh" && source upload-to-gcs.sh; rm -f upload-to-gcs.sh | ||
curl -fsS --retry 3 "https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/e2e.sh" | bash - | ||
properties: | ||
- mail-watcher | ||
publishers: | ||
- claim-build | ||
- email-ext | ||
- gcs-uploader | ||
- log-parser | ||
- junit-publisher | ||
triggers: | ||
- reverse: | ||
jobs: kubernetes-build | ||
result: success | ||
- timed: 'H/30 * * * *' | ||
wrappers: | ||
- ansicolor: | ||
colormap: xterm | ||
- timeout: | ||
timeout: 150 | ||
abort: true | ||
fail: true | ||
- timestamps | ||
- workspace-cleanup | ||
|
||
- project: | ||
name: kubernetes-e2e | ||
suffix: | ||
- 'gce' | ||
jobs: | ||
- 'kubernetes-e2e-{suffix}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters