summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-java.yaml
AgeCommit message (Collapse)AuthorFilesLines
2020-07-28Migrate to jdk11Anil Belur1-0/+4
Set java-version with update-java-alternatives Issue-ID: CIMAN-33 IT-20226 Change-Id: I0cab91778350093845a4e938e5b7e2c0bf301d53 Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2020-06-11Fix Clamp merge jobsebdet1-0/+5
Add the missing npmrc file injection so that the clamp merge job is able to upload the Npm package on nexus3 Issue-ID: CLAMP-865 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ib85c8e7926529cbadedad002be41db9e78088a1c
2020-03-31Migrate to ubuntu1804-dockerJessica Wagantall1-1/+1
Migrate the rest of the jobs from ubuntu1604-docker to ubuntu1804-docker Remove unused nodes Issue-ID: CIMAN-373 Change-Id: Idec34497cec90f650336cdd2dcfc8aaae2bcd2ec Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-11-25Add new integration-pairwise JJB for DACE-SDK TestContainerspwielebs1-0/+19
Issue-ID: INT-1370 Signed-off-by: Piotr Wielebski <piotr.wielebski@nokia.com> Change-Id: Id03647b6fa05309d08f3fcdcc0cd1a8234ae092b Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
2019-11-08Add java-alternatives in jobsJessica Wagantall1-0/+6
Allow lf-update-java-alternatives for verify and merge jobs so that teams can configure a different JDK version. Using JDK8 by default Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: Ifd73d0598ef562695ead7147c8c27b1951bde405
2019-10-24Remove unused templates [1]Jessica Wagantall1-306/+0
This is a change towards CD/CI cleanup and optimization Issue-ID: CIMAN-339 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I51506d2c50d3def65b5002357f04621b8e2b96ed
2019-09-13Add config to docker loginCristina Pauna1-3/+3
Currently the docker login conditional builder from java-merge job is missing the settings file with the credentials [1]. Moved the builder after the configuration files are set. [1] https://jenkins.onap.org/job/policy-docker-amd64-master-merge-java/5/console Issue-ID: CIMAN-217 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com> Change-Id: I3aa441e5baef6aad1c9e2ade051e5b0bfc0c0030
2019-09-11Add docker login to java-merge jobCristina Pauna1-0/+6
Add a conditional step for docker login to java-merge job. The condition is to do the login only if the project name has its architecture in it, which happens only when the job is called from a mult-arch job. Issue-ID: CIMAN-217 Change-Id: Ibe03f0899f1dbf1c428ed77befbcbc07557c7e50 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2019-09-10Remove docker login from java-merge jobEric Ball1-3/+0
This builder breaks jobs that do not have docker credentials setup. Due to the number of jobs that currently do not support this, it would be better to make this conditional, or create a separate job. Change-Id: If08e128c627d964ec4bd7c9346067ada59773ba0 Issue-ID: CIMAN-217 Signed-off-by: Eric Ball <eball@linuxfoundation.org>
2019-09-10Revert "Revert "Add multiplatform jobs for policy docker images""Bengt Thuree1-0/+79
This reverts commit 764bb8283a5cbf93ca9cbb8e2dd9760e783f9a78. Re-enables the multiplatform jobs for policy docker images. Signed-off-by: Bengt Thuree <bthuree@linuxfoundation.org> Issue-ID: CIMAN-217 Change-Id: I34b81f193e6286792ace75be2a64f1a8ed19c9d8
2019-09-06Revert "Add multiplatform jobs for policy docker images"Jessica Wagantall1-79/+0
This reverts commit 866558d317feb1171c4a40d9ff63f9dc99cd4a6d. Looks like this commit is causing build failures in jjb during the merge: ci-management-jjb-merge/1756/console.log.gz Change-Id: I4384ab0a5ef50b2551efb19bc41bc9b000a8748e Issue-ID: CIMAN-217 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-09-06Add multiplatform jobs for policy docker imagesPaul Vaduva1-0/+79
Add three global templates needed to build multiarch images: - {project-name}-docker-manifest-{stream}: creates a docker manifest list with images for multiple architectures by calling docker_push_manifest.sh - {project-name}-multiarch-docker-stage-{stream}: multijob that uses the global-jjb template {project-name}-maven-docker-stage-{stream} to produce staging images for each supported arch and a manifest list for them - {project-name}-multiarch-{stream}-merge-java: multijob that uses the existing {project-name}-{stream}-merge-java template to produce snapshot images for each suppported arch and a manifest list for them The policy/docker project jobs are modified to use the new multiarch templates. All images are now pushed to DockerHub instead of Nexus (as Nexus lacks support for docker manifest list). Cancel the triggers for child jobs, as they will be triggered by the parent multiarch job. For the jobs that build images, use registry registry-1.docker.io as a workaround for [1]. Enable the multiarch jobs only for the master branch for now. [1] https://github.com/fabric8io/docker-maven-plugin/issues/838 Issue-ID: CIMAN-217 Change-Id: Ibd00d24bb70ef51f761005016b7baea4ef66a0a5 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com> Signed-off-by: Cristina Pauna <cristina.pauna@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2019-09-03Merge "Fix APPC GC Maven Merge Job"Jessica Wagantall1-0/+6
2019-09-03Fix APPC GC Maven Merge JobHoua Yang1-0/+6
Add JAVA and MVN opts set for merge job. Issue-ID: CIMAN-33 Signed-off-by: Houa Yang <hyang@contractor.linuxfoundation.org> Change-Id: I4bc2730aa96aa0ca39c81b50112449e5b18145f2
2019-09-03Allow vars in verify jobJessica Wagantall1-1/+3
Allow verify-java inject additional env variables. Allow TESTCONTAINERS_RYUK_DISABLED=true in dcaegen2 verify job. Change-Id: I9dc9dffd084e1f7a43dbe6521fb698aa9b242219 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-08-30Fix APPC GC Maven issuesJessica Wagantall1-0/+6
APPC needs both JAVA and MVN opts set to: -Xmx4000m -XX:MaxPermSize=256m Add support for local java verify job. Issue-ID: CIMAN-33 Change-Id: I76a82a05ec66b6d8584471685ec9e72df0bb8de4 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-04-05Allow version.properties pathJessica Wagantall1-1/+2
dcaegen2-services sub components need to be kept managed by several version.properties files. We need to make sure the release job is able to take a path for them. Issue-ID: CIMAN-249 Change-Id: I6ecb09f8a548bf24193974b1c023d30370f2b24d Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-02-01Allow sdc docker base build jobs to run on arm64Paul Vaduva1-1/+1
Parameterize {project-name}-{stream}-sdc-merge-java to allow for build node selection Change-Id: Ic7410ece9f101b309ab6200c645d9052c1b2080b Issue-ID: CIMAN-235 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2018-12-11Allow docker-version-java to specify nodePaul Vaduva1-1/+1
Allow {project-name}-{stream}-docker-version-java-daily to allow a specific build-node to be able to run these jobs using the ARM architecture nodes. All current projects using this job will stay unchaged and will still run their builds on ubuntu1604-docker-8c-8g. Change-Id: If3e5c77b1e80c1dd86a676c920ac0ecb7d93d562 Issue-ID: CIMAN-219 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2018-11-27Allow docker-java to specify nodeJessica Wagantall1-1/+1
Allow {project-name}-{stream}-docker-java-version-shell-daily to allow a specific build-node to be able to run these jobs using the ARM architecture nodes. All current projects using this job will stay unchaged and will still run their builds on ubuntu1604-docker-8c-8g. Change-Id: Iba2032d80038d5b4d4ef3a73900c89866a896918 Issue-ID: CIMAN-219 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-11-08Allow docker-java to specify nodeJessica Wagantall1-1/+1
Allow {project-name}-{stream}-docker-java-properties-daily to allow a specific build-node to be able to run these jobs using the ARM architecture nodes. All current projects using this job already run on ubuntu1604-docker-8c-8g. Change-Id: I4870fd36be3c66532be06079d181e2191c4ec72c Issue-ID: CIMAN-219 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-11-08Allow docker-java to specify nodeJessica Wagantall1-1/+1
Allow {project-name}-{stream}-docker-java-daily to allow a specific build-node to be able to run these jobs using the ARM architecture nodes. All current projects using this job will stay unchaged and will still run their builds on ubuntu1604-docker-8c-8g. Change-Id: I36dd81f3de10a1f40d3c1aabe7d379475f78d6c8 Issue-ID: CIMAN-219 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-11-08Allow aai-docker to specify nodeJessica Wagantall1-1/+1
Allow {project-name}-{stream}-aai-docker-java-daily to allow a specific build-node to be able to run these jobs using the ARM architecture nodes. All current projects using this job will stay unchaged and will still run their builds on ubuntu1604-docker-8c-8g. Change-Id: Iba61122be8645f5b8cb500c5bd823ff17d2a3fcb Issue-ID: CIMAN-219 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-10-22Fix global-templates unstable jobsJessica Wagantall1-7/+18
Add lf-infra-pre-build build step in local global-templates to successfully install lftools and avoid unstable jobs. Change-Id: I1a41e121b810371c1be987aaafec3c4b0aaa5e89 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-09-28Spread out the scheduling of Daily jobsGary Wu1-14/+14
Spread the scheduling of Daily jobs throughout the day to reduce resource contention. Change-Id: I2b2606b4022c1d9f882bfe95b439b021b17f362e Issue-ID: INT-586 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-09-14Add mvn-params to merge-java jobJessica Wagantall1-1/+2
Some projects like policy-distribution need to make reference to a specific pom file profile for performing the merge. Allowing to pass a profile name as optional parameter "mvn-params" Change-Id: Ic91685c0f8d571f636bbf1f4477625e1470daae3 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-09Merge "Refactor docker java jobs"Jessica Wagantall1-442/+26
2018-08-07Add {subproject}-docker-java-shell-dailyJessica Wagantall1-0/+69
Add subproject version of docker-java-shell-daily needed by OOF team. Change-Id: Icaaef803e2206d372877754abc1d976eec2066b4 Issue-ID: CIMAN-188 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-07Make build-node configurableJessica Wagantall1-1/+1
{project-name}-{stream}-docker-java-shell-daily job needs to have the build-node parameter configurable. This way, the projects will be able to select the long live instance as build-node for their job. For the rest of the projects using this template, the build-node variable is set to the previous default value. Change-Id: Ie3722050870a04b0c2ca3108f6b526c7ac855def Issue-ID: CIMAN-188 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-07Refactor docker java jobsGary Wu1-442/+26
Remove some more unused docker java jobs and refactor the rest. Change-Id: I0c570f3b739cc8a1f7117846201b810b26df7172 Issue-ID: CIMAN-187 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-08-06Refactor java jobsGary Wu1-273/+18
Change-Id: I33de2951f249c5d5816c2b2ab1512c0c5b0c5b4f Issue-ID: CIMAN-187 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-08-06Refactor java verify jobsGary Wu1-127/+2
Change-Id: Iecf1891cfa85d056f62fc8b842a901da1de0dee1 Issue-ID: CIMAN-187 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-08-06Remove unused job templatesGary Wu1-398/+0
Change-Id: I0b68e57b7a68167c4fad240aa82eced97c657ea6 Issue-ID: CIMAN-187 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-07-18New job templates to use dedicated docker VMGary Wu1-0/+155
Change-Id: I71db40496427a290db2d51f62d1f2015a2c512a3 Issue-ID: INT-588 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-05-07Add mvn-params for docker jobsJessica Wagantall1-0/+12
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-18Increase timeout for sdc-mergeJessica Wagantall1-0/+1
Increase timeout for sdc-merge-java job to 120 minutes. Change-Id: I509fa4345bb569324873064738d40a3aa73962c8 Issue-ID: SDC-1142 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-04-04Mariadb docker used for ittestsac25501-1/+3
Clamp has a bunch it tests which needs a mariadb docker container. Recent changes on availability of the DOCKER_REGISTRY env variable force the registry to 'nexus3.onap.org' instead of docker.io. This patch corrects both behaviors by setting 'nexus3.onap.org:10001 instead' Issue-ID: CLAMP-150 Change-Id: I30a980c89755df05b8ec5f4aa0258031f4270bde Signed-off-by: ac2550 <ac2550@intl.att.com>
2018-03-30Fix files param for profile jobsJessica Wagantall1-2/+2
verify-profile and verify-merge jobs should use the files parameter properly from the jjb templates and not default to use **. Change-Id: Ie62b832fb8abe292e72c51bb79c8b9d1919efca2 Issue-ID: CIMAN-152 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-03-28Add mvn-params to verify-javaJessica Wagantall1-1/+3
'{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-20Add release-version-java-shell-dailyJessica Wagantall1-0/+86
Add release-version-java-shell-daily to support shell scripts which is needed by vfc/nfvo/driver/vnfm/svnfm Change-Id: I4f3b5af777ee7cd7e2de57200e7932591f660d82 Issue-ID: CIMAN-65 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-03-19Add tests to SDC merge jobJessica Wagantall1-1/+1
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-16Fix disable flag for global-templatesJessica Wagantall1-19/+19
Change-Id: I3d94aae1f40d2820dad180a13e62090136744b67 Issue-ID: CIMAN-128 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-03-09Remove stage-site-java templateJessica Wagantall1-79/+0
Remove stage-site-java JJB template as we no longer will be using or updating the maven settings files. Change-Id: I5aa610328613ccd24fdfa5c64a14950b926dc5c8 Issue-ID: CIMAN-144 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-02-12Add disable flag to daily jobsJessica Wagantall1-8/+19
Change-Id: I283dc6741520f718b82f4a355e057ccec6ba26c9 Issue-ID: CIMAN-128 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-02-01Remove release-version-java-daily-no-sonarJessica Wagantall1-163/+0
gerrit-maven-sonar is now in place to run all the Sonar scans. "release-version-java-daily-no-sonar" and "release-version-java-daily" templates are exactly the same after removing the sonar goals. Issue-ID: CIMAN-126 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: If89f2c8a484c28271aa7b634ab7e6b3f064d63fb
2018-02-01Remove release-java-daily-no-sonar templatesJessica Wagantall1-140/+0
gerrit-maven-sonar is now in place to run all the Sonar scans. "release-java-daily-no-sonar" and "release-java-daily" templates are exactly the same after removing the sonar goals. Change-Id: Ie017c98e9d57ee31371f4a2ab47796febaf6f3dd Issue-ID: CIMAN-126 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-02-01Move projects to gerrit-maven-sonarJessica Wagantall1-15/+9
The current Sonar goal in release-version-java-daily has a lot of issues when running for projects in more than one branch. Remove sonar task from release-version-java-daily and use global-jjb gerrit-maven-sonar job instead. Change-Id: I9a20b68f4539e227ceab4063edb2df429cf60afb Issue-ID: CIMAN-126 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-12-21Improve jjb global template documentationJessica Wagantall1-61/+217
Add more details to the global java and python templates Change-Id: Ieca6eb48406a369e0da707e3ccb662c649a5d1d7 Issue-ID: CIMAN-122 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-10-26Merge "Add {subproject}-docker-java-version job"Jeremy Phelps1-0/+143
2017-10-26Add {subproject}-docker-java-version jobZhaoxing1-0/+143
Allow subprojects to build docker separately Issue-Id: VFC-509 Change-Id: I3c9c8ba8b461d5fe35c79d1187ffdb7190c20700 Signed-off-by: Zhaoxing <meng.zhaoxing1@zte.com.cn>