X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fpackaging%2Fpackaging.yaml;h=4d1c2b34a29d3953b4a82050c63474c077402d16;hb=d190af926c7c0ef098c635fdae5b62350babffcc;hp=a08fd2a8ea61731028457fd85fc539b88fbde1ac;hpb=84ab3b4befd7510ef7ef76ed9a872028479b304d;p=releng%2Fbuilder.git diff --git a/jjb/packaging/packaging.yaml b/jjb/packaging/packaging.yaml index a08fd2a8e..4d1c2b34a 100644 --- a/jjb/packaging/packaging.yaml +++ b/jjb/packaging/packaging.yaml @@ -77,6 +77,10 @@ name: CHANGELOG_EMAIL default: 'jenkins-donotreply@opendaylight.org' description: 'Email of person who defined RPM' + - string: + name: DEPLOY_TO_REPO + default: 'opendaylight-{stream}-epel-7-x86_64-devel' + description: 'Repository to deploy resulting package to' scm: - integration-gerrit-scm: @@ -95,7 +99,7 @@ global-settings-file: 'global-settings' settings-file: 'packaging-settings' mvn-version: '{mvn-version}' - repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel' + repo-id: '$DEPLOY_TO_REPO' group-id: '{group-id}' upload-files-dir: '{upload-files-dir}' maven-repo-url: '{maven-repo-url}' @@ -224,7 +228,7 @@ # NB: This will need to be updated as old builds expire - inject: # yamllint disable-line rule:line-length - properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.9.0-SNAPSHOT/karaf-0.9.0-20180620.055735-63.zip' + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.9.0-SNAPSHOT/karaf-0.9.0-20180626.171605-65.zip' - shell: !include-raw-escape: build-rpm.sh - install-test-uninstall-rpm @@ -235,20 +239,11 @@ - install-test-uninstall-rpm triggers: - - gerrit: - server-name: '{gerrit-server-name}' - trigger-on: - - comment-added-contains-event: - comment-contains-value: 'rpm-verify' - projects: - - project-compare-type: ANT - project-pattern: '{project}' - branches: - - branch-compare-type: ANT - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: 'packages/**' + - gerrit-trigger-patch-submitted: + gerrit-server-name: '{gerrit-server-name}' + project: '{project}' + branch: '{branch}' + files: 'packages/**' publishers: - lf-infra-publish @@ -299,7 +294,7 @@ # NB: This will need to be updated as old builds expire - inject: # yamllint disable-line rule:line-length - properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.8.3-SNAPSHOT/karaf-0.8.3-20180620.173319-5.zip' + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.8.3-SNAPSHOT/karaf-0.8.3-20180627.184938-10.zip' - shell: !include-raw-escape: build-rpm.sh - install-test-uninstall-rpm @@ -321,7 +316,7 @@ # NB: This will need to be updated as old builds expire - inject: # yamllint disable-line rule:line-length - properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.9.0-SNAPSHOT/karaf-0.9.0-20180620.055735-63.zip' + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.9.0-SNAPSHOT/karaf-0.9.0-20180626.171605-65.zip' - shell: !include-raw-escape: build-rpm.sh - install-test-uninstall-rpm