X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopnfv%2Fopnfv-docker.yml;h=6c68acb4a8c2cd7de5019f41b02434a0e9defc82;hb=bf3f0a58b5ddf71a85eee8cf48088dde0292c784;hp=c16e33edadf4811a2ddc71383c8c21e16da9acec;hpb=2a315ee3d2523b55618e93c0ba546b7b28cdddf9;p=releng.git diff --git a/jjb/opnfv/opnfv-docker.yml b/jjb/opnfv/opnfv-docker.yml index c16e33eda..6c68acb4a 100644 --- a/jjb/opnfv/opnfv-docker.yml +++ b/jjb/opnfv/opnfv-docker.yml @@ -8,12 +8,12 @@ project: - 'functest' - - 'yardstick' - 'storperf' - 'qtip' jobs: - '{project}-docker-build-push-{stream}' + - 'yardstick-docker-build-push-{stream}' stream: - master: @@ -27,24 +27,19 @@ - job-template: name: '{project}-docker-build-push-{stream}' - node: ericsson-build - disabled: false parameters: - project-parameter: project: '{project}' - - string: - name: GIT_BASE - default: "https://gerrit.opnfv.org/gerrit/$PROJECT" - description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW." + - 'ericsson-build-defaults' - string: name: PUSH_IMAGE default: "true" description: "To enable/disable pushing the image to Dockerhub." - string: name: BASE_VERSION - default: "brahmaputra.0" + default: "brahmaputra.1" description: "Base version to be used." - string: name: DOCKER_REPO_NAME @@ -71,3 +66,46 @@ triggers: - pollscm: cron: "*/30 * * * *" + +- job-template: + name: 'yardstick-docker-build-push-{stream}' + + disabled: false + + parameters: + - project-parameter: + project: 'yardstick' + - 'ericsson-build-defaults' + - string: + name: PUSH_IMAGE + default: "true" + description: "To enable/disable pushing the image to Dockerhub." + - string: + name: BASE_VERSION + default: "brahmaputra.2" + description: "Base version to be used." + - string: + name: DOCKER_REPO_NAME + default: "opnfv/yardstick" + description: "Dockerhub repo to be pushed to." + - string: + name: UPDATE_LATEST_STABLE + default: "false" + description: "This will update the latest_stable image only." + - string: + name: STABLE_TAG + description: "If above option is true, this is the tag to be pulled." + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: '{branch}' + + builders: + - shell: + !include-raw-escape: ./opnfv-docker.sh + + triggers: + - pollscm: + cron: "*/30 * * * *"