Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "bugfix: malfunction of scenario equal check"
[releng.git]
/
jjb
/
global
/
releng-macros.yml
diff --git
a/jjb/global/releng-macros.yml
b/jjb/global/releng-macros.yml
index
5341db4
..
75fe8b3
100644
(file)
--- a/
jjb/global/releng-macros.yml
+++ b/
jjb/global/releng-macros.yml
@@
-150,7
+150,7
@@
branch-pattern: '**/{branch}'
file-paths:
- compare-type: 'ANT'
branch-pattern: '**/{branch}'
file-paths:
- compare-type: 'ANT'
- pattern: '
tests/**
'
+ pattern: '
{files}
'
skip-vote:
successful: true
failed: true
skip-vote:
successful: true
failed: true
@@
-164,6
+164,14
@@
users:
- 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e'
users:
- 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e'
+- wrapper:
+ name: build-timeout
+ wrappers:
+ - timeout:
+ timeout: '{timeout}'
+ timeout-var: 'BUILD_TIMEOUT'
+ fail: true
+
- wrapper:
name: fix-workspace-permissions
wrappers:
- wrapper:
name: fix-workspace-permissions
wrappers:
@@
-259,8
+267,11
@@
find "$local_path" | grep -e 'index.html$' -e 'pdf$' | \
sed -e "s|^$local_path| http://$gs_path|" >> gerrit_comment.txt
find "$local_path" | grep -e 'index.html$' -e 'pdf$' | \
sed -e "s|^$local_path| http://$gs_path|" >> gerrit_comment.txt
+# To take advantage of this macro, have your build write
+# out the file 'gerrit_comment.txt' with information to post
+# back to gerrit and include this macro in the list of builders.
- builder:
- builder:
- name: report-
docs-
build-result-to-gerrit
+ name: report-build-result-to-gerrit
builders:
- shell: |
#!/bin/bash
builders:
- shell: |
#!/bin/bash
@@
-407,14
+418,14
@@
builders:
- build-html-and-pdf-docs-output
- upload-under-review-docs-to-opnfv-artifacts
builders:
- build-html-and-pdf-docs-output
- upload-under-review-docs-to-opnfv-artifacts
- - report-
docs-
build-result-to-gerrit
+ - report-build-result-to-gerrit
- builder:
name: upload-merged-docs
builders:
- build-html-and-pdf-docs-output
- upload-generated-docs-to-opnfv-artifacts
- builder:
name: upload-merged-docs
builders:
- build-html-and-pdf-docs-output
- upload-generated-docs-to-opnfv-artifacts
- - report-
docs-
build-result-to-gerrit
+ - report-build-result-to-gerrit
- remove-old-docs-from-opnfv-artifacts
- builder:
- remove-old-docs-from-opnfv-artifacts
- builder:
@@
-489,3
+500,17
@@
unhealthy: 40
failing: 30
unhealthy: 40
failing: 30
+# The majority of the email-ext plugin options are set to the default
+# for this macro so they can be managed through Jenkins' global
+# settings.
+- publisher:
+ name: email-jenkins-admins-on-failure
+ publishers:
+ - email-ext:
+ content-type: text
+ attach-build-log: true
+ compress-log: true
+ always: false
+ failure: true
+ send-to:
+ - recipients