From 56279c815df0f50d35e8b4d7f345c124bd6b6f34 Mon Sep 17 00:00:00 2001 From: Tomasz Golabek Date: Thu, 13 Feb 2020 12:48:01 +0100 Subject: Fixes building docker images Standardized jjb configuration for building docker images Change-Id: I08668b64ad5f257361cc1a760d882f234259350a Issue-ID: AAF-995 Signed-off-by: Tomasz Golabek --- jjb/aaf/aaf-certservice.yaml | 56 +++++++++++++++++++------------------------- 1 file changed, 24 insertions(+), 32 deletions(-) (limited to 'jjb') diff --git a/jjb/aaf/aaf-certservice.yaml b/jjb/aaf/aaf-certservice.yaml index 92c538652..8efdb438f 100644 --- a/jjb/aaf/aaf-certservice.yaml +++ b/jjb/aaf/aaf-certservice.yaml @@ -2,42 +2,34 @@ - project: name: aaf-certservice project-name: 'aaf-certservice' - subproject: 'aaf-certservice-ws' - path: 'certService' - java-version: openjdk11 - jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java': - build-node: 'ubuntu1604-docker-v1-8c-8g' - docker-pom: 'pom.xml' - mvn-profile: 'docker' - - gerrit-maven-stage: - sign-artifacts: true - build-node: centos7-builder-4c-4g - maven-versions-plugin: true - mvn-pom: 'certService/pom.xml' - - gerrit-maven-docker-stage: - build-node: ubuntu1604-docker-v1-8c-8g - maven-versions-plugin: true - mvn-params: '-P docker -DskipTests=true' - container-public-registry: 'nexus3.onap.org:10001' - container-staging-registry: 'nexus3.onap.org:10003' - - '{project-name}-gerrit-release-jobs': - build-node: centos7-docker-8c-8g - - project: 'aaf/certservice' stream: - - 'master': - branch: 'master' + - 'master': + branch: 'master' + java-version: openjdk11 + project: 'aaf/certservice' mvn-settings: 'aaf-certservice-settings' - # due to a strange macro / variable translation problem this needs - # to be passed as a string block to properly get the properties - # correctly defined in the job - maven-deploy-properties: | - deployAtEnd=true files: '**' + maven-deploy-properties: | + deployAtEnd=true archive-artifacts: '' - build-node: 'ubuntu1604-docker-8c-8g' + build-node: ubuntu1604-docker-8c-8g + jobs: + - '{project-name}-{stream}-verify-java': + mvn-goals: 'clean install' + - '{project-name}-{stream}-merge-java': + mvn-goals: 'clean deploy' + - '{project-name}-gerrit-release-jobs': + build-node: centos7-docker-8c-8g + - gerrit-maven-stage: + sign-artifacts: true + build-node: centos7-docker-8c-8g + maven-versions-plugin: true + mvn-goals: 'clean deploy -P docker' + - gerrit-maven-docker-stage: + build-node: ubuntu1604-docker-8c-8g + container-public-registry: 'nexus3.onap.org:10001' + container-staging-registry: 'nexus3.onap.org:10003' + mvn-params: '-P docker -DskipTests=true -DskipNexusStagingDeployMojo=true -DskipDockerPush=false' - project: name: aaf-certservice-sonar -- cgit 1.2.3-korg