X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fhc2vpp%2Fhc2vpp.yaml;h=adc9fab5f90e1160500abd1ce3f123f6eba540a2;hb=0be5e0b700dd8d47484a400eddff2e1875ccdd36;hp=55a37215018fc7fa518e95ae941f3472caaff8c5;hpb=d3b55f3e44aa273c7391fe6ae5f2e414e09b0779;p=ci-management.git diff --git a/jjb/hc2vpp/hc2vpp.yaml b/jjb/hc2vpp/hc2vpp.yaml index 55a372150..adc9fab5f 100644 --- a/jjb/hc2vpp/hc2vpp.yaml +++ b/jjb/hc2vpp/hc2vpp.yaml @@ -7,22 +7,27 @@ - 'hc2vpp-verify-image-{stream}-{os}' project: 'hc2vpp' os: - - ubuntu1404: - repo-os-part: 'ubuntu.trusty.main' - skip-site: 'false' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - skip-site: 'true' + skip-site: 'false' + skip-jar-deploy: 'false' - centos7: repo-os-part: 'centos7' skip-site: 'true' + skip-jar-deploy: 'true' stream: - master: branch: 'master' repo-stream-part: 'master' - - '1701': - branch: 'stable/1701' - repo-stream-part: 'stable.1701' + - '1801': + branch: 'stable/1801' + repo-stream-part: 'stable.1801' + - '1804': + branch: 'stable/1804' + repo-stream-part: 'stable.1804' + - '1807': + branch: 'stable/1807' + repo-stream-part: 'stable.1807' - job-template: name: 'hc2vpp-verify-{stream}-{os}' @@ -60,9 +65,6 @@ name: 'hc2vpp' branch: '{branch}' - prebuilders: - - shell: | - if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi maven: maven-name: 'mvn33-new' root-pom: 'pom.xml' @@ -128,9 +130,6 @@ unstable: true notbuilt: true - prebuilders: - - shell: | - if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi maven: maven-name: 'mvn33-new' root-pom: 'pom.xml' @@ -209,10 +208,6 @@ branch: '{stream}' - email-notification: email-prefix: '[hc2vpp]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - fdio-infra-shiplogs: maven-version: 'mvn33-new' @@ -233,13 +228,18 @@ project: '{project}' - os-parameter: os: '{os}' + - stream-parameter: + stream: '{stream}' - maven-project-parameter: maven: 'mvn33-new' - maven-exec: maven-version: 'mvn33-new' - - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - string: + name: SKIP_JAR_DEPLOY + default: '{skip-jar-deploy}' + description: "Skips deployment of hc2vpp jars if variable is set to true" scm: - git-scm: @@ -260,9 +260,8 @@ result: 'success' prebuilders: - - shell: | - if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi - + - shell: + !include-raw-escape: include-raw-hc2vpp-integration-prebuild.sh maven: maven-name: 'mvn33-new' root-pom: 'pom.xml' @@ -288,11 +287,19 @@ !include-raw-escape: - ../scripts/maven_push_functions.sh - include-raw-hc2vpp-pkg-push.sh + - shell: + !include-raw-escape: + - ../scripts/packagecloud_push.sh reporters: - findbugs publishers: - email-notification: email-prefix: '[hc2vpp]' + - maven-deploy: + id: '' + unique-version: true + deploy-unstable: false + release-env-var: SKIP_JAR_DEPLOY - fdio-infra-shiplogs: maven-version: 'mvn33-new'