c6a65ca219366a0dfd1da475a4173fbb1f507ed1
[releng.git] / jjb / global / releng-macros.yml
1 ---
2 # Releng macros
3 #
4 # NOTE: make sure macros are listed in execution ordered.
5 #
6 # 1. parameters/properties
7 # 2. scm
8 # 3. triggers
9 # 4. wrappers
10 # 5. prebuilders (maven only, configured like Builders)
11 # 6. builders (maven, freestyle, matrix, etc..)
12 # 7. postbuilders (maven only, configured like Builders)
13 # 8. publishers/reporters/notifications
14
15 - parameter:
16     name: project-parameter
17     parameters:
18       - string:
19           name: PROJECT
20           default: '{project}'
21           description: "JJB configured PROJECT parameter to identify an opnfv Gerrit project"
22       - string:
23           name: GS_BASE
24           default: artifacts.opnfv.org/$PROJECT
25           description: "URL to Google Storage."
26       - string:
27           name: GS_BASE_PROXY
28           default: build.opnfv.org/artifacts.opnfv.org/$PROJECT
29           description: "URL to Google Storage proxy"
30       - string:
31           name: BRANCH
32           default: '{branch}'
33           description: "JJB configured BRANCH parameter (e.g. master, stable/danube)"
34       - string:
35           name: GERRIT_BRANCH
36           default: '{branch}'
37           description: "JJB configured GERRIT_BRANCH parameter (deprecated)"
38       - string:
39           name: GERRIT_REFSPEC
40           default: 'refs/heads/{branch}'
41           description: "Default refspec needed for manually triggering."
42
43 - property:
44     name: logrotate-default
45     properties:
46       - build-discarder:
47           days-to-keep: 60
48           num-to-keep: 200
49           artifact-days-to-keep: 60
50           artifact-num-to-keep: 200
51
52 - scm:
53     name: git-scm
54     scm:
55       - git: &git-scm-defaults
56           credentials-id: '$SSH_CREDENTIAL_ID'
57           url: '$GIT_BASE'
58           branches:
59             - 'origin/$BRANCH'
60           timeout: 15
61
62 - scm:
63     name: git-scm-gerrit
64     scm:
65       - git:
66           choosing-strategy: 'gerrit'
67           refspec: '$GERRIT_REFSPEC'
68           <<: *git-scm-defaults
69 - scm:
70     name: git-scm-with-submodules
71     scm:
72       - git:
73           credentials-id: '$SSH_CREDENTIAL_ID'
74           url: '$GIT_BASE'
75           refspec: ''
76           branches:
77             - 'refs/heads/{branch}'
78           skip-tag: true
79           wipe-workspace: true
80           submodule:
81             recursive: true
82             timeout: 20
83
84 - scm:
85     name: git-scm-openstack
86     scm:
87       - git: &git-scm-openstack-defaults
88           url: '$GIT_BASE'
89           branches:
90             - 'origin/$BRANCH'
91           timeout: 15
92
93 - trigger:
94     name: 'daily-trigger-disabled'
95     triggers:
96       - timed: ''
97
98 - trigger:
99     name: 'weekly-trigger-disabled'
100     triggers:
101       - timed: ''
102
103 - trigger:
104     name: gerrit-trigger-patchset-created
105     triggers:
106       - gerrit:
107           server-name: 'gerrit.opnfv.org'
108           trigger-on:
109             - patchset-created-event:
110                 exclude-drafts: 'false'
111                 exclude-trivial-rebase: 'false'
112                 exclude-no-code-change: 'false'
113             - draft-published-event
114             - comment-added-contains-event:
115                 comment-contains-value: 'recheck'
116             - comment-added-contains-event:
117                 comment-contains-value: 'reverify'
118           projects:
119             - project-compare-type: 'ANT'
120               project-pattern: '{project}'
121               branches:
122                 - branch-compare-type: 'ANT'
123                   branch-pattern: '**/{branch}'
124               file-paths:
125                 - compare-type: 'ANT'
126                   pattern: '{files}'
127           skip-vote:
128             successful: false
129             failed: false
130             unstable: false
131             notbuilt: false
132
133 - trigger:
134     name: gerrit-trigger-change-merged
135     triggers:
136       - gerrit:
137           server-name: 'gerrit.opnfv.org'
138           trigger-on:
139             - change-merged-event
140             - comment-added-contains-event:
141                 comment-contains-value: 'remerge'
142           projects:
143             - project-compare-type: 'ANT'
144               project-pattern: '{project}'
145               branches:
146                 - branch-compare-type: 'ANT'
147                   branch-pattern: '**/{branch}'
148               file-paths:
149                 - compare-type: 'ANT'
150                   pattern: '{files}'
151
152 - trigger:
153     name: gerrit-trigger-tag-created
154     triggers:
155       - gerrit:
156           server-name: 'gerrit.opnfv.org'
157           trigger-on:
158             - ref-updated-event
159           projects:
160             - project-compare-type: 'ANT'
161               project-pattern: '{project}'
162               branches:
163                 - branch-compare-type: 'ANT'
164                   branch-pattern: 'refs/tags/**'
165
166 - trigger:
167     name: 'experimental'
168     triggers:
169       - gerrit:
170           server-name: 'gerrit.opnfv.org'
171           trigger-on:
172             - comment-added-contains-event:
173                 comment-contains-value: 'check-experimental'
174           projects:
175             - project-compare-type: 'ANT'
176               project-pattern: '{project}'
177               branches:
178                 - branch-compare-type: 'ANT'
179                   branch-pattern: '**/{branch}'
180               file-paths:
181                 - compare-type: 'ANT'
182                   pattern: '{files}'
183           skip-vote:
184             successful: true
185             failed: true
186             unstable: true
187             notbuilt: true
188
189 - wrapper:
190     name: ssh-agent-wrapper
191     wrappers:
192       - ssh-agent-credentials:
193           users:
194             - 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e'
195
196 - wrapper:
197     name: build-timeout
198     wrappers:
199       - timeout:
200           timeout: '{timeout}'
201           timeout-var: 'BUILD_TIMEOUT'
202           fail: true
203
204 - wrapper:
205     name: fix-workspace-permissions
206     wrappers:
207       - pre-scm-buildstep:
208           - shell: |
209              #!/bin/bash
210              sudo chown -R $USER:$USER $WORKSPACE || exit 1
211
212 - builder:
213     name: upload-under-review-docs-to-opnfv-artifacts
214     builders:
215       - shell: |
216           #!/bin/bash
217           set -o errexit
218           set -o pipefail
219           set -o xtrace
220           export PATH=$PATH:/usr/local/bin/
221
222           [[ $GERRIT_CHANGE_NUMBER =~ .+ ]]
223           [[ -d docs/_build/ ]] || exit 0
224
225           echo
226           echo "###########################"
227           echo "UPLOADING DOCS UNDER REVIEW"
228           echo "###########################"
229           echo
230
231           gs_base="artifacts.opnfv.org/$PROJECT/review"
232           gs_path="$gs_base/$GERRIT_CHANGE_NUMBER"
233           local_path="upload/$GERRIT_CHANGE_NUMBER"
234
235           mkdir -p upload
236           mv docs/_build/html/ "$local_path"
237           gsutil -m cp -r "$local_path" "gs://$gs_base"
238
239           gsutil -m setmeta \
240               -h "Content-Type:text/html" \
241               -h "Cache-Control:private, max-age=0, no-transform" \
242               "gs://$gs_path"/**.html > /dev/null 2>&1
243
244           echo "Document link(s):" >> gerrit_comment.txt
245           find "$local_path" | grep -e 'index.html$' -e 'pdf$' | \
246               sed -e "s|^$local_path|    http://$gs_path|" >> gerrit_comment.txt
247
248 # To take advantage of this macro, have your build write
249 # out the file 'gerrit_comment.txt' with information to post
250 # back to gerrit and include this macro in the list of builders.
251 - builder:
252     name: report-build-result-to-gerrit
253     builders:
254       - shell: |
255           #!/bin/bash
256           set -o errexit
257           set -o pipefail
258           set -o xtrace
259           export PATH=$PATH:/usr/local/bin/
260           if [[ -e gerrit_comment.txt ]] ; then
261               echo
262               echo "posting review comment to gerrit..."
263               echo
264               cat gerrit_comment.txt
265               echo
266               ssh -p 29418 gerrit.opnfv.org \
267                   "gerrit review -p $GERRIT_PROJECT \
268                    -m '$(cat gerrit_comment.txt)' \
269                    $GERRIT_PATCHSET_REVISION \
270                    --notify NONE"
271           fi
272
273 - builder:
274     name: remove-old-docs-from-opnfv-artifacts
275     builders:
276       - shell: |
277           #!/bin/bash
278           set -o errexit
279           set -o pipefail
280           set -o xtrace
281           export PATH=$PATH:/usr/local/bin/
282
283           [[ $GERRIT_CHANGE_NUMBER =~ .+ ]]
284
285           gs_path="artifacts.opnfv.org/$PROJECT/review/$GERRIT_CHANGE_NUMBER"
286
287           if gsutil ls "gs://$gs_path" > /dev/null 2>&1 ; then
288               echo
289               echo "Deleting Out-of-dated Documents..."
290               gsutil -m rm -r "gs://$gs_path"
291           fi
292           gs_path="artifacts.opnfv.org/review/$GERRIT_CHANGE_NUMBER"
293
294           if gsutil ls "gs://$gs_path" > /dev/null 2>&1 ; then
295               echo
296               echo "Deleting Out-of-dated Documents..."
297               gsutil -m rm -r "gs://$gs_path"
298           fi
299
300 - builder:
301     name: lint-python-code
302     builders:
303       - shell: |
304           #!/bin/bash
305           set -o errexit
306           set -o pipefail
307           set -o xtrace
308           export PATH=$PATH:/usr/local/bin/
309
310           virtualenv -p python2.7 $WORKSPACE/releng_flake8
311           source $WORKSPACE/releng_flake8/bin/activate
312
313           # install python packages
314           pip install "flake8==2.6.2"
315
316           # generate and upload lint log
317           echo "Running flake8 code on $PROJECT ..."
318
319           # Get number of flake8 violations. If none, this will be an
320           # empty string: ""
321           FLAKE_COUNT="$(find . \
322               -path './releng_flake8' -prune -o \
323               -path './.tox' -prune -o \
324               -type f -name "*.py" -print | \
325               xargs flake8 --exit-zero -qq --count 2>&1)"
326
327           # Ensure we start with a clean environment
328           rm -f lint.log
329
330           if [ ! -z $FLAKE_COUNT ]; then
331             echo "Flake8 Violations: $FLAKE_COUNT" > lint.log
332             find . \
333                 -path './releng_flake8' -prune -o \
334                 -path './.tox' -prune -o \
335                 -type f -name "*.py" -print | \
336                 xargs flake8 --exit-zero --first >> violation.log
337             SHOWN=$(wc -l violation.log | cut -d' ' -f1)
338             echo -e "First $SHOWN shown\n---" >> lint.log
339             cat violation.log >> lint.log
340             sed -r -i '4,$s/^/ /g' lint.log
341             rm violation.log
342           fi
343
344           deactivate
345
346 - builder:
347     name: report-lint-result-to-gerrit
348     builders:
349       - shell: |
350           #!/bin/bash
351           set -o errexit
352           set -o pipefail
353           set -o xtrace
354           export PATH=$PATH:/usr/local/bin/
355
356           # If no violations were found, no lint log will exist.
357           if [[ -e lint.log ]] ; then
358               echo -e "\nposting linting report to gerrit...\n"
359
360               cat lint.log
361               echo
362
363               ssh -p 29418 gerrit.opnfv.org \
364                   "gerrit review -p $GERRIT_PROJECT \
365                    -m \"$(cat lint.log)\" \
366                    $GERRIT_PATCHSET_REVISION \
367                    --notify NONE"
368
369               exit 1
370           fi
371
372 - builder:
373     name: upload-review-docs
374     builders:
375       - upload-under-review-docs-to-opnfv-artifacts
376       - report-build-result-to-gerrit
377
378 - builder:
379     name: check-bash-syntax
380     builders:
381       - shell: "find . -name '*.sh' | xargs bash -n"
382
383 - builder:
384     name: lint-yaml-code
385     builders:
386       - shell: |
387           #!/bin/bash
388           set -o errexit
389           set -o pipefail
390           set -o xtrace
391           export PATH=$PATH:/usr/local/bin/
392
393           # install python packages
394           sudo pip install "yamllint==1.8.2"
395
396           # generate and upload lint log
397           echo "Running yaml code on $PROJECT ..."
398
399           # Get list of yaml files
400           YAML_FILES=$(git --no-pager diff --diff-filter=MCRAT --name-only HEAD^1 | egrep "ya?ml$") || true
401
402           #If YAML_FILES is none exit with 0
403           if [ -z "$YAML_FILES" ]; then
404               exit 0
405           fi
406
407           # Ensure we start with a clean environment
408           rm -f yaml-violation.log lint.log
409
410           # Yamllint files only in patchset
411           for yamlfile in $YAML_FILES; do
412             yamllint $yamlfile >> yaml-violation.log || true
413           done
414
415           if [ -s "yaml-violation.log" ]; then
416             SHOWN=$(grep -c -v "^$" yaml-violation.log)
417             echo -e "First $SHOWN shown\n---" > lint.log
418             cat yaml-violation.log >> lint.log
419             sed -r -i '4,$s/^/ /g' lint.log
420           fi
421
422 - builder:
423     name: clean-workspace
424     builders:
425       - shell: |
426           #!/bin/bash
427           set -o errexit
428           set -o nounset
429           set -o pipefail
430           sudo /bin/rm -rf "$WORKSPACE"
431
432 - builder:
433     name: clean-workspace-log
434     builders:
435       - shell: |
436           find $WORKSPACE -type f -name '*.log' | xargs rm -f
437
438 - builder:
439     name: track-begin-timestamp
440     builders:
441       - shell: |
442           echo "export TIMESTAMP_START="\'`date '+%Y-%m-%d %H:%M:%S.%3N'`\' > $WORKSPACE/installer_track.sh
443
444 - publisher:
445     name: archive-artifacts
446     publishers:
447       - archive:
448           artifacts: '{artifacts}'
449           allow-empty: true
450           fingerprint: true
451           latest-only: true
452
453 - publisher:
454     name: publish-coverage
455     publishers:
456       - cobertura:
457           report-file: "coverage.xml"
458           only-stable: "true"
459           health-auto-update: "false"
460           stability-auto-update: "false"
461           zoom-coverage-chart: "true"
462           targets:
463             - files:
464                 healthy: 10
465                 unhealthy: 20
466                 failing: 30
467             - method:
468                 healthy: 50
469                 unhealthy: 40
470                 failing: 30
471
472 # The majority of the email-ext plugin options are set to the default
473 # for this macro so they can be managed through Jenkins' global
474 # settings.
475 - publisher:
476     name: email-jenkins-admins-on-failure
477     publishers:
478       - email-ext:
479           content-type: text
480           attach-build-log: true
481           compress-log: true
482           always: false
483           failure: true
484           send-to:
485             - recipients
486
487 # Email PTL publishers
488 - email_ptl_defaults: &email_ptl_defaults
489     name: 'email_ptl_defaults'
490     content-type: text
491     attach-build-log: true
492     attachments: '*.log'
493     compress-log: true
494     always: true
495     subject: '{subject}'
496
497 - publisher: &email_apex_ptl_defaults
498     name: 'email-apex-ptl'
499     publishers:
500       - email-ext:
501           <<: *email_ptl_defaults
502           recipients: >
503             trozet@redhat.com
504 - publisher:
505     name: 'email-apex-os-net-config-ptl'
506     <<: *email_apex_ptl_defaults
507 - publisher:
508     name: 'email-apex-puppet-tripleo-ptl'
509     <<: *email_apex_ptl_defaults
510 - publisher:
511     name: 'email-apex-tripleo-heat-templates-ptl'
512     <<: *email_apex_ptl_defaults
513
514 - publisher:
515     name: 'email-armband-ptl'
516     publishers:
517       - email-ext:
518           <<: *email_ptl_defaults
519           recipients: >
520             bob.monkman@arm.com
521
522 - publisher:
523     name: 'email-auto-ptl'
524     publishers:
525       - email-ext:
526           <<: *email_ptl_defaults
527           recipients: >
528             tina.tsou@arm.com
529
530 - publisher:
531     name: 'email-availability-ptl'
532     publishers:
533       - email-ext:
534           <<: *email_ptl_defaults
535           recipients: >
536             fuqiao@chinamobile.com
537
538 - publisher:
539     name: 'email-bamboo-ptl'
540     publishers:
541       - email-ext:
542           <<: *email_ptl_defaults
543           recipients: >
544             donaldh@cisco.com
545
546 - publisher:
547     name: 'email-barometer-ptl'
548     publishers:
549       - email-ext:
550           <<: *email_ptl_defaults
551           recipients: >
552             aasmith@redhat.com
553
554 - publisher:
555     name: 'email-bottlenecks-ptl'
556     publishers:
557       - email-ext:
558           <<: *email_ptl_defaults
559           recipients: >
560             gabriel.yuyang@huawei.com
561
562 - publisher:
563     name: 'email-calipso-ptl'
564     publishers:
565       - email-ext:
566           <<: *email_ptl_defaults
567           recipients: >
568             korlev@cisco.com
569
570 - publisher:
571     name: 'email-clover-ptl'
572     publishers:
573       - email-ext:
574           <<: *email_ptl_defaults
575           recipients: >
576             stephen.wong1@huawei.com
577
578 - publisher: &email_compass4nfv_ptl_defaults
579     name: 'email-compass4nfv-ptl'
580     publishers:
581       - email-ext:
582           <<: *email_ptl_defaults
583           recipients: >
584             chigang@huawei.com
585 - publisher:
586     name: 'email-compass-containers-ptl'
587     <<: *email_compass4nfv_ptl_defaults
588
589 - publisher:
590     name: 'email-conductor-ptl'
591     publishers:
592       - email-ext:
593           <<: *email_ptl_defaults
594           recipients: >
595             limingjiang@huawei.com
596
597 - publisher:
598     name: 'email-container4nfv-ptl'
599     publishers:
600       - email-ext:
601           <<: *email_ptl_defaults
602           recipients: >
603             jiaxuan@chinamobile.com
604
605 - publisher:
606     name: 'email-copper-ptl'
607     publishers:
608       - email-ext:
609           <<: *email_ptl_defaults
610           recipients: >
611             aimeeu.opensource@gmail.com
612
613 - publisher:
614     name: 'email-cperf-ptl'
615     publishers:
616       - email-ext:
617           <<: *email_ptl_defaults
618           recipients: >
619             matt.welch@intel.com
620
621 - publisher:
622     name: 'email-daisy-ptl'
623     publishers:
624       - email-ext:
625           <<: *email_ptl_defaults
626           recipients: >
627             hu.zhijiang@zte.com.cn
628
629 - publisher:
630     name: 'email-doctor-ptl'
631     publishers:
632       - email-ext:
633           <<: *email_ptl_defaults
634           recipients: >
635             r-mibu@cq.jp.nec.com
636
637 - publisher:
638     name: 'email-domino-ptl'
639     publishers:
640       - email-ext:
641           <<: *email_ptl_defaults
642           recipients: >
643             ulas.kozat@huawei.com
644
645 - publisher:
646     name: 'email-dovetail-ptl'
647     publishers:
648       - email-ext:
649           <<: *email_ptl_defaults
650           recipients: >
651             hongbo.tianhongbo@huawei.com
652
653 - publisher:
654     name: 'email-dpacc-ptl'
655     publishers:
656       - email-ext:
657           <<: *email_ptl_defaults
658           recipients: >
659             denglingli@chinamobile.com
660
661 - publisher:
662     name: 'email-enfv-ptl'
663     publishers:
664       - email-ext:
665           <<: *email_ptl_defaults
666           recipients: >
667             JBuchanan@advaoptical.com
668
669 - publisher:
670     name: 'email-escalator-ptl'
671     publishers:
672       - email-ext:
673           <<: *email_ptl_defaults
674           recipients: >
675             kong.wei2@zte.com.cn
676
677 - publisher:
678     name: 'email-fastpathmetrics-ptl'
679     publishers:
680       - email-ext:
681           <<: *email_ptl_defaults
682           recipients: >
683             maryam.tahhan@intel.com
684
685 - publisher:
686     name: 'email-fds-ptl'
687     publishers:
688       - email-ext:
689           <<: *email_ptl_defaults
690           recipients: >
691             fbrockne@cisco.com
692
693 - publisher:
694     name: 'email-fuel-ptl'
695     publishers:
696       - email-ext:
697           <<: *email_ptl_defaults
698           recipients: >
699             gelkinbard@mirantis.com
700
701 - publisher:
702     name: 'email-functest-ptl'
703     publishers:
704       - email-ext:
705           <<: *email_ptl_defaults
706           recipients: >
707             cedric.ollivier@orange.com
708
709 - publisher:
710     name: 'email-ipv6-ptl'
711     publishers:
712       - email-ext:
713           <<: *email_ptl_defaults
714           recipients: >
715             bh526r@att.com
716
717 - publisher:
718     name: 'email-joid-ptl'
719     publishers:
720       - email-ext:
721           <<: *email_ptl_defaults
722           recipients: >
723             artur.tyloch@canonical.com
724
725 - publisher:
726     name: 'email-kvmfornfv-ptl'
727     publishers:
728       - email-ext:
729           <<: *email_ptl_defaults
730           recipients: >
731             raghuveer.reddy@intel.com
732
733 - publisher:
734     name: 'email-models-ptl'
735     publishers:
736       - email-ext:
737           <<: *email_ptl_defaults
738           recipients: >
739             bs3131@att.com
740
741 - publisher:
742     name: 'email-moon-ptl'
743     publishers:
744       - email-ext:
745           <<: *email_ptl_defaults
746           recipients: >
747             ruan.he@orange.com
748
749 - publisher:
750     name: 'email-multisite-ptl'
751     publishers:
752       - email-ext:
753           <<: *email_ptl_defaults
754           recipients: >
755             joehuang@huawei.com
756
757 - publisher:
758     name: 'email-netready-ptl'
759     publishers:
760       - email-ext:
761           <<: *email_ptl_defaults
762           recipients: >
763             georg.kunz@ericsson.com
764
765 - publisher:
766     name: 'email-nfvbench-ptl'
767     publishers:
768       - email-ext:
769           <<: *email_ptl_defaults
770           recipients: >
771             ahothan@cisco.com
772
773 - publisher:
774     name: 'email-octopus-ptl'
775     publishers:
776       - email-ext:
777           <<: *email_ptl_defaults
778           recipients: >
779             ulrich.kleber@huawei.com
780
781 - publisher:
782     name: 'email-onosfw-ptl'
783     publishers:
784       - email-ext:
785           <<: *email_ptl_defaults
786           recipients: >
787             su.wei@huawei.com
788
789 - publisher:
790     name: 'email-openretriever-ptl'
791     publishers:
792       - email-ext:
793           <<: *email_ptl_defaults
794           recipients: >
795             jiaxuan@chinamobile.com
796
797 - publisher:
798     name: 'email-opera-ptl'
799     publishers:
800       - email-ext:
801           <<: *email_ptl_defaults
802           recipients: >
803             Yingjun.li@huawei.com
804
805 - publisher:
806     name: 'email-opnfvdocs-ptl'
807     publishers:
808       - email-ext:
809           <<: *email_ptl_defaults
810           recipients: >
811             sofia.wallin@ericsson.com
812
813 - publisher:
814     name: 'email-orchestra-ptl'
815     publishers:
816       - email-ext:
817           <<: *email_ptl_defaults
818           recipients: >
819             giuseppe.carella@fokus.fraunhofer.de
820
821 - publisher:
822     name: 'email-ovn4nfv-ptl'
823     publishers:
824       - email-ext:
825           <<: *email_ptl_defaults
826           recipients: >
827             trinath.somanchi@gmail.com
828
829 - publisher:
830     name: 'email-ovno-ptl'
831     publishers:
832       - email-ext:
833           <<: *email_ptl_defaults
834           recipients: >
835             wsmackie@juniper.net
836
837 - publisher:
838     name: 'email-ovsnfv-ptl'
839     publishers:
840       - email-ext:
841           <<: *email_ptl_defaults
842           recipients: >
843             MarkD.Graymark.d.gray@intel.com
844
845 - publisher:
846     name: 'email-parser-ptl'
847     publishers:
848       - email-ext:
849           <<: *email_ptl_defaults
850           recipients: >
851             shang.xiaodong@zte.com.cn
852
853 - publisher: &email_pharos_ptl_defaults
854     name: 'email-pharos-ptl'
855     publishers:
856       - email-ext:
857           <<: *email_ptl_defaults
858           recipients: >
859             jack.morgan@intel.com
860 - publisher:
861     name: 'email-pharos-tools-ptl'
862     <<: *email_pharos_ptl_defaults
863
864 - publisher:
865     name: 'email-promise-ptl'
866     publishers:
867       - email-ext:
868           <<: *email_ptl_defaults
869           recipients: >
870             kunzmann@docomolab-euro.com
871
872 - publisher:
873     name: 'email-qtip-ptl'
874     publishers:
875       - email-ext:
876           <<: *email_ptl_defaults
877           recipients: >
878             wu.zhihui1@zte.com.cn
879
880 - publisher: &email_releng_ptl_defaults
881     name: 'email-releng-ptl'
882     publishers:
883       - email-ext:
884           <<: *email_ptl_defaults
885           recipients: >
886             fatih.degirmenci@ericsson.com
887 - publisher:
888     name: 'email-releng-anteater-ptl'
889     <<: *email_releng_ptl_defaults
890 - publisher:
891     name: 'email-releng-testresults-ptl'
892     publishers:
893       - email-ext:
894           <<: *email_ptl_defaults
895           recipients: >
896             fatih.degirmenci@ericsson.com
897             feng.xiaowei@zte.com.cn
898 - publisher:
899     name: 'email-releng-utils-ptl'
900     <<: *email_releng_ptl_defaults
901 - publisher:
902     name: 'email-releng-xci-ptl'
903     <<: *email_releng_ptl_defaults
904
905 - publisher:
906     name: 'email-samplevnf-ptl'
907     publishers:
908       - email-ext:
909           <<: *email_ptl_defaults
910           recipients: >
911             deepak.s@intel.com
912
913 - publisher:
914     name: 'email-sdnvpn-ptl'
915     publishers:
916       - email-ext:
917           <<: *email_ptl_defaults
918           recipients: >
919             tim.irnich@ericsson.com
920
921 - publisher:
922     name: 'email-securityscanning-ptl'
923     publishers:
924       - email-ext:
925           <<: *email_ptl_defaults
926           recipients: >
927             lhinds@redhat.com
928
929 - publisher:
930     name: 'email-sfc-ptl'
931     publishers:
932       - email-ext:
933           <<: *email_ptl_defaults
934           recipients: >
935             ManuelBuilmbuil@suse.com
936
937 - publisher:
938     name: 'email-snaps-ptl'
939     publishers:
940       - email-ext:
941           <<: *email_ptl_defaults
942           recipients: >
943             s.pisarski@cablelabs.com
944
945 - publisher:
946     name: 'email-stor4nfv-ptl'
947     publishers:
948       - email-ext:
949           <<: *email_ptl_defaults
950           recipients: >
951             shane.wang@intel.com
952
953 - publisher:
954     name: 'email-storperf-ptl'
955     publishers:
956       - email-ext:
957           <<: *email_ptl_defaults
958           recipients: >
959             mark.beierl@emc.com
960
961 - publisher:
962     name: 'email-ves-ptl'
963     publishers:
964       - email-ext:
965           <<: *email_ptl_defaults
966           recipients: >
967             bryan.sullivan@att.com
968
969 - publisher:
970     name: 'email-vswitchperf-ptl'
971     publishers:
972       - email-ext:
973           <<: *email_ptl_defaults
974           recipients: >
975             sridhar.rao@spirent.com
976
977 - publisher:
978     name: 'email-yardstick-ptl'
979     publishers:
980       - email-ext:
981           <<: *email_ptl_defaults
982           recipients: >
983             ross.b.brattain@intel.com
984
985 - publisher:
986     name: 'report-provision-result'
987     publishers:
988       - postbuildscript:
989           script-only-if-succeeded: true
990           builders:
991             - shell: |
992                 echo "export PROVISION_RESULT=SUCCEED" >> $WORKSPACE/installer_track.sh
993                 echo "export INSTALLER={installer}" >> $WORKSPACE/installer_track.sh
994             - shell:
995                 !include-raw-escape: installer-report.sh
996       - postbuildscript:
997           script-only-if-failed: true
998           builders:
999             - shell: |
1000                 echo "export PROVISION_RESULT=FAIL" >> $WORKSPACE/installer_track.sh
1001                 echo "export INSTALLER={installer}" >> $WORKSPACE/installer_track.sh
1002             - shell:
1003                 !include-raw-escape: installer-report.sh