summaryrefslogtreecommitdiffstats
path: root/jjb/global-macros.yaml
AgeCommit message (Collapse)AuthorFilesLines
2018-05-07Remove hardcoded maven.test.skipJessica Wagantall1-1/+0
Remove hardcoded maven.test.skip=true property from maven-docker-push-daily macro. Rather than adding this property as part of the builder, we need to pass it as a "mvn-params" from the project's JJB template. This change will allow teams to manage the Dmaven.test.skip or DskipTests properties better. Change-Id: I6f5aaa35dc95255af8e1e228354e74a3463646d0 Issue-ID: CIMAN-159 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-05-07Add mvn-params for docker jobsJessica Wagantall1-1/+1
Add mvn-params optional parameter for docker daily job templates. Change-Id: I13f34380539e6b7180ebbc93d649115afbe2aca2 Issue-ID: CIMAN-158 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-04-03Update format of postbuildscript callJeremy Phelps1-22/+20
Change-Id: Ice34595c329330a038c267d9577d8054bf8c5e0a Issue-ID: CIMAN-153 Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2018-03-28Add mvn-params to verify-javaJessica Wagantall1-0/+8
'{project-name}-{stream}-verify-java' needs an option to provide mvn-parameters to the builder step. Add mvn-params parameter to the job. Change-Id: Ib3ff4bfe487223270dcae508f4dbbfab880de178 Issue-ID: CIMAN-152 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-03-21Adding support to use golang jenkins pluginKiran Kamineni1-0/+9
Jenkins server has the golang plugin installed for version 1.10. Modifying the template to use that so that future template definitions do not need to download golang each time. This reduces total build time and network bandwidth usage. Issue-ID: AAF-184 Change-Id: Ib91f4fb8aa8845bd20d98ba636dffcadf34da297 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-03-19Add tests to SDC merge jobJessica Wagantall1-0/+15
Do not skip tests for sdc-merge-java job Change-Id: Ic3e3022f0a4d8b9c7863d9fd184da9aa363d323e Issue-ID: SDC-1142 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-03-09Configure PyPI releasesVanessa Rene Valderrama1-0/+8
This changes adds the following functionality for PyPI releases - macros - A PyPI server macro - scripts - A script to build artifacts - A script to publish artifacts - templates - Templates for release - jobs - Jobs for release - Nexus3 staging - Nexus3 release - PyPI index will be added at a later date Issue-ID: CIMAN-137 Change-Id: I53522ed2fa2f462afebaac94c44fa2a9979e9c2a Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2017-08-24Refactor docker push script to accept image nameGary Wu1-0/+10
Change-Id: If465a45ac93fca37adf07ca94e5d7ac925a808db Issue-id: CIMAN-23 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-07-17Introduction of the checkstyle pluginJulienBe1-0/+38
Issue: CLAMP-2 Change-Id: Ic027d6aef676feb4e69bdba291c546fedfbacc3a Signed-off-by: JulienBe <jb379x@att.com>
2017-07-12Fix scm macro to checkout submodules recursivelyJeremy Phelps1-1/+2
Change-Id: I1997db80fbcdc6f039533696daac3d7f55397f93 JIRA: CIMAN-4 Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2017-07-12Checkout submodules recursively.Jeremy Phelps1-0/+1
Change-Id: Ief3b0584cc25b9036b6a5e1e5d4f8c41cb754349 JIRA: CIMAN-4 Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2017-06-06CLM: Update CLM scanner job templateJessica Wagantall1-6/+0
- Remove check-clm global macro - Isolate mvn goals in a separate variable - Update build-days-to-keep Issue: RELENG-150 Change-Id: I153cacbaef288ee8fbb1498b958b31d5457663f1 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-06-06CLM: Added CLM scanner job templateJessica Wagantall1-0/+6
This template will be used in jenkins per project to perform code scans in nexus-iq server Issue: RELENG-150 Change-Id: I93f7209c752748abcf1314ba3dfd2a1e112dc639 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-04-25global-macros: Enabling timestamps for output logsJessica Wagantall1-0/+1
Having timestamps can help with debugging logs Change-Id: If9193da4b2f4b5f0d889802a375f644159ae539e Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-04-06Make sure that shiplogs gets a maven-versionAndrew Grimberg1-1/+1
The infra-shiplogs macro needs a maven-version parameter passed to it to properly operate Change-Id: I284b9db1e21a0e3b84b109ddd86b3aafc023c79c Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2017-03-28Change nexus3 url from ecomp to onapJeremy Phelps1-4/+4
Change-Id: I8474346c8c37e2c25abc8a426e82cbad38bd656c Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2017-03-16Scrub infra templates and macros of ecompAndrew Grimberg1-4/+4
Change-Id: I1f7c6e89ee67710f77ff22d219c28adc2a9cee72 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2017-03-16Update Gerrit credentialsAndrew Grimberg1-6/+6
Scrubbing ecomp from the username for the Jenkins to Gerrit connection Change-Id: Ia1ad35111bd2a3bed38549851917fb055d176a4a Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2017-03-13Use ReverseBuildTrigger I/O BuildResultTriggerAnaël Closson1-6/+4
ReverseBuildPlugin seems to be available on jenkins server while BuildResultTrigger isn't. As the needed feature of BuildResult can be found in ReverseBuild, let's use it instead of installing a new plugin. Change-Id: I8f0ace82e817ea3e0f061a6a177a97990adca4fb Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-03-10New template and mso job for maven site stagingAnaël Closson1-0/+10
Change-Id: I83f431355970c48e126289c04f7c908921b7de63 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-24Force maven to install in java jobs using scriptsAndrew Grimberg1-0/+9
The *version2* java jobs execute scripts that need ${MVN} to actually operate properly. As these scripts are happening before the standard maven build step maven is not installed yet. Ergo, we need an empty maven build step that makes sure that it's installed. Change-Id: I5a0979fdffa87f695b1bc575e24b04097889ea59 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2017-02-24Move all maven definitions to variablesAndrew Grimberg1-2/+2
* Make sure that the maven version is not hard coded into any templates or macros * Set a global default maven version so that projects do not need to define it unless they need a different version from the default Change-Id: Ifd7dfe2e521fd88b52de96a00a3ef63953d4f682 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2017-02-16Adding manual trigger for daily jobsJulienBe1-0/+18
Change-Id: Iff6bec25c09d0e066dab9add56ce5743bf6737b3 Signed-off-by: JulienBe <jb379x@att.com>
2017-02-16No $ for jjb parametersAnaël Closson1-2/+2
Change-Id: I5b667d9f6beaa74ab467018b2dfef7d13d32187a Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-16Using profile for docker image buildAnaël Closson1-2/+2
Change-Id: I858f4dc73a3d11932526d116e2f291fac08a684c Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-15Perform docker login before pusing imagesAnaël Closson1-0/+5
Change-Id: I626e230ccf0d7892f7f6d41881dd49b806212651 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-15Removing profile option from docker jobsAnaël Closson1-2/+2
Change-Id: I6716b2dda7ac3f1dcb892ee239728b2713049a26 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-10Add docker image building & pushAnaël Closson1-1/+32
Change-Id: I1e52ac81b8381b888fc2bc52075f6edc9e0e6d05 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-08Add script verify and multi-scm script verifyAndrew Grimberg1-1/+18
* Add example templates for doing verify jobs that use a script instead of maven * Add new 'git-extra-project' macro for doing git checkouts that are not the base project checkout. These _must_ be checked out to a specified subdirectory * Add example template that does two git checkouts Change-Id: I522da87d591ee819a8fd67c22e25906b851a581e Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2017-01-30Initial ci-management uploadAndrew Grimberg1-0/+284
* Configure initial jobs and validate Jenkins environment * Do not hook up packer build jobs at this time Change-Id: I1818e8680d215318410f6beff5af054db03e7fa1 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>