From dc6d9e530b1a6a3d3400972bf4f2c141692d1517 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Wed, 5 Jun 2019 14:24:56 -0400 Subject: Change build node to docker We are changing these jobs to use Docker maven plugin so they need to always build on a docker node. Changed the merge and release to support docker. These may fail until we get these reviews in: gerrit.onap.org/r/c/policy/drools-applications/+/89204 https://gerrit.onap.org/r/c/policy/drools-pdp/+/89203 Issue-ID: POLICY-969 Change-Id: Ic02ab24bf95325914e906bfc3c55be0d4947b94a Signed-off-by: Pamela Dragosh --- jjb/policy/policy-drools-applications.yaml | 20 ++++++++------------ jjb/policy/policy-drools-pdp.yaml | 20 ++++++++------------ 2 files changed, 16 insertions(+), 24 deletions(-) diff --git a/jjb/policy/policy-drools-applications.yaml b/jjb/policy/policy-drools-applications.yaml index 66bbb63fe..a22d85082 100644 --- a/jjb/policy/policy-drools-applications.yaml +++ b/jjb/policy/policy-drools-applications.yaml @@ -4,19 +4,15 @@ project-name: 'policy-drools-applications' jobs: - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-scm-mvn-script': - mvn-goals: 'clean deploy -B - -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' - script: - !include-raw-escape: 'drools-apps-docker-merge.sh' - - '{project-name}-{stream}-docker-java-version-shell-daily': + - '{project-name}-{stream}-merge-java': docker-pom: 'pom.xml' - mvn-goals: 'clean deploy -B - -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' - script: - !include-raw-escape: 'drools-apps-docker-release.sh' + mvn-profile: 'docker' + mvn-params: "-P docker" + - '{project-name}-{stream}-docker-version-java-daily': + docker-pom: 'pom.xml' + mvn-profile: 'docker' + mvn-params: '-P docker' disabled: true - build-node: ubuntu1604-docker-8c-8g project: 'policy/drools-applications' stream: @@ -25,7 +21,7 @@ mvn-settings: 'policy-drools-applications-settings' files: '**' archive-artifacts: '' - build-node: 'ubuntu1604-builder-4c-4g' + build-node: ubuntu1604-docker-8c-8g - project: name: policy-drools-applications-dublin diff --git a/jjb/policy/policy-drools-pdp.yaml b/jjb/policy/policy-drools-pdp.yaml index 0bb33b4b6..8e18ba557 100644 --- a/jjb/policy/policy-drools-pdp.yaml +++ b/jjb/policy/policy-drools-pdp.yaml @@ -4,19 +4,15 @@ project-name: 'policy-drools-pdp' jobs: - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-scm-mvn-script': - mvn-goals: 'clean deploy -B - -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' - script: - !include-raw-escape: 'include-raw-docker-merge.sh' - - '{project-name}-{stream}-docker-java-version-shell-daily': + - '{project-name}-{stream}-merge-java': docker-pom: 'pom.xml' - mvn-goals: 'clean deploy -B - -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' - script: - !include-raw-escape: 'include-raw-docker-release.sh' + mvn-profile: 'docker' + mvn-params: "-P docker" + - '{project-name}-{stream}-docker-version-java-daily': + docker-pom: 'pom.xml' + mvn-profile: 'docker' + mvn-params: '-P docker' disabled: true - build-node: ubuntu1604-docker-8c-8g project: 'policy/drools-pdp' stream: - 'master': @@ -24,7 +20,7 @@ mvn-settings: 'policy-drools-pdp-settings' files: '**' archive-artifacts: '' - build-node: 'ubuntu1604-builder-4c-4g' + build-node: ubuntu1604-docker-8c-8g - project: name: policy-drools-pdp-dublin -- cgit 1.2.3-korg