diff --git a/modules/openstack_project/files/jenkins_job_builder/config/devstack-gate.yaml b/modules/openstack_project/files/jenkins_job_builder/config/devstack-gate.yaml index ade251226a..9e2dbef4c7 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/devstack-gate.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/devstack-gate.yaml @@ -95,17 +95,6 @@ publishers: - devstack-logs - console-log - - scp: - site: 'static.openstack.org' - files: - - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' - source: '**/testr_results.html.gz' - keep-hierarchy: false - copy-after-failure: true - - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' - source: '**/subunit_log.txt.gz' - keep-hierarchy: false - copy-after-failure: true - devstack-complete - job: diff --git a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml index ef8f3d88ae..47d049da9c 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml @@ -269,6 +269,14 @@ source: 'logs/**' keep-hierarchy: true copy-after-failure: true + - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' + source: '**/testr_results.html.gz' + keep-hierarchy: false + copy-after-failure: true + - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' + source: '**/subunit_log.txt.gz' + keep-hierarchy: false + copy-after-failure: true - publisher: name: devstack-logs-periodic @@ -280,6 +288,14 @@ source: 'logs/**' keep-hierarchy: true copy-after-failure: true + - target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER' + source: '**/testr_results.html.gz' + keep-hierarchy: false + copy-after-failure: true + - target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER' + source: '**/subunit_log.txt.gz' + keep-hierarchy: false + copy-after-failure: true - publisher: name: devstack-complete