From: Cristina Pauna Date: Fri, 10 May 2019 14:45:11 +0000 (+0300) Subject: [validation] Fix the slave-label X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=d6599fc6635db6e8d35e8b036a71f3f8f51a6875;p=ci-management.git [validation] Fix the slave-label Change the plugin used for docker build jobs. The jobs weren't scheduled properly when using the slave-label parameter. Also reduce the size of the slave for validation-{stream}-docker job as we don't need docker to be on the slave Change-Id: Ied06773d28fb8706a6072e744aa3c64cfba602f7 Signed-off-by: Cristina Pauna --- diff --git a/jjb/validation/validation-docker.yaml b/jjb/validation/validation-docker.yaml index 17f67d3..e7a5b63 100644 --- a/jjb/validation/validation-docker.yaml +++ b/jjb/validation/validation-docker.yaml @@ -36,14 +36,13 @@ name: 'validation-{stream}-docker' project-type: multijob disabled: '{obj:disabled}' + node: 'centos7-builder-2c-1g' parameters: - validation-job-parameters: project: '{project}' branch: '{branch}' stream: '{stream}' - slave_label: 'ubuntu1604-docker-8c-8g' - arch_tag: 'amd64' properties: - throttle: @@ -92,13 +91,15 @@ - job-template: name: 'validation-docker-build-{arch_tag}-{stream}' disabled: '{obj:disabled}' + node: '{slave_label}' + parameters: - validation-job-parameters: project: '{project}' branch: '{branch}' stream: '{stream}' - slave_label: '{slave_label}' arch_tag: '{arch_tag}' + properties: - build-blocker: use-build-blocker: true @@ -125,13 +126,13 @@ - job-template: name: 'validation-docker-manifest-{stream}' + node: 'ubuntu1604-docker-8c-8g' parameters: - validation-job-parameters: project: '{project}' branch: '{branch}' stream: '{stream}' - slave_label: 'ubuntu1604-docker-8c-8g' disabled: '{obj:disabled}' @@ -161,9 +162,3 @@ project: '{project}' stream: '{stream}' branch: '{branch}' - - label: - name: SLAVE_LABEL - default: '{slave_label}' - description: 'Slave label on Jenkins' - all-nodes: false - node-eligibility: 'ignore-offline'