summaryrefslogtreecommitdiffstats
path: root/jjb/global/releng-macros.yml
AgeCommit message (Collapse)AuthorFilesLines
2016-12-24Add YAMLLint for static checkKingPoo1-0/+33
JIRA: OCTO-160 Current CI commit gate is simple, just have flake8 check in part of projects, it's better to apply more check tools to more projects. Yaml files could be checked by YAMLLint when the project is configed in releng. YAMLLint does not only check for syntax validity, but for weirdnesses like key repetition and cosmetic problems such as lines length, trailing spaces, indentation, etc. Change-Id: Ie90afd4a07ad10cc723f31efd35e5605f765583c Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-12-19fix git-scm-gerrit by adding $GERRIT_REFSPECRyota MIBU1-0/+1
Change-Id: I5ead532eb282cea6da683fefe7ad850e3889a263 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-19fix ssh-credentials to static paramRyota MIBU1-5/+1
Change-Id: I1f11e5db53f8902ce16cab00452d8d350fd7081e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-19clean scm defenitionsRyota MIBU1-15/+18
This patch makes sure we use 2 types of scm, and allows us to specify them by adding one line in job-templates. - git-scm # for daily jobs and merge jobs - git-scm-gerrit # for verify jobs [New] Change-Id: Iddc8a5e0e115193c7081a6d6c53da209900e95c8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-11-29Rearrange Releng Job and Parameter FilesTrevor Bramwell1-0/+357
Individual project jobs can now be tested using: jenkins-jobs test -r jjb/global:jjb/$project - Rename '.yaml' files to '.yml' so they get checked by the verify-releng.sh script, and update the script to include checking of '.yaml' files. - Move parameter and macro files under new 'global' directory. Change-Id: I6b74f5d8af2bced3256a7f4a33983df5310511a2 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>