summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-java.yaml
AgeCommit message (Collapse)AuthorFilesLines
2023-12-01CI: Disable daily jobsJessica Wagantall1-10/+0
As discussed in the TSC, we are removing daily cron jobs. Teams can individually revert back to using their cron if found really needed. - Merge jobs can be retriggered using "remerge" comment. - Sonar jobs will run @weekly and using "run-sonar" comment. - Stage jobs can be retriggered using "stage-release" comment. Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I9f3302d892f8df72ff831e4ddefca935c0f99f1e
2023-05-03Refactor: Cleanup for pre-commitAndrew Grimberg1-1063/+1063
Change-Id: I322d72428f094f75f065d02f179a71958f36c875 Issue-ID: CIMAN-33 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2023-05-03Refactor: Cleanup for pre-commitAndrew Grimberg1-1065/+1065
Change-Id: Iae33b5bd575ba40f4ecdceea4443aa4dc8b4a6cd Issue-ID: CIMAN-33 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2023-04-18Refactor!: JJB code comply with updates to v5.xAnil Belur1-9/+9
Update global-jjb v0.86.0, this updates the minimal version of JJB to v5.0.2. Issue-ID: CIMAN-33 Change-Id: I26089604b401a8b486d752a4780b1981788d19ad Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2021-01-14Deprecate infra-shiplogs macroJessica Wagantall1-24/+14
We should be using lf-infra-publish as a publisher macro. This global-jjb macro performs a job-cost run that we need to report for all jobs. Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: Iff43723322ac7eb92f1e9e93e49dfe9595af6450
2021-01-13Use lf-infra-wrappers merge-javaJessica Wagantall1-1/+2
The merge-java job is using an unupdated wrapper macro which does not add the npmrc into the build environment. Update to the one in global-jjb. Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I23f9e7e8370f354d5048ef60bbf8a298f73e6052
2020-10-22Remove deprecated release jobJessica Wagantall1-69/+0
release-java-daily is a deprecated job replaced by maven-stage (global-jjb). Portal already uses maven-stage which makes this job redundant. Change-Id: I5b284c6ab2ec9d256b41f9135110f623c4242174 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-10-05Update docker local templateJessica Wagantall1-0/+3
aai sepcific template was missing the choose jdk alternatives step. Added now. Change-Id: I8227c0a7c468ff560d3abf1b844a1ab917f27e69 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-09-16Fix the merge jobsebdet1-0/+2
Fix the merge job that does not use jdk 11 Issue-ID: SDC-2725 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I3bb72a6ca40efa738b7bce16d842c3c6454d6edb
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>