diff --git a/modules/openstack_project/files/jenkins_job_builder/config/ceilometer.yaml b/modules/openstack_project/files/jenkins_job_builder/config/ceilometer.yaml index ee5596b20e..85ecb8afd1 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/ceilometer.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/ceilometer.yaml @@ -21,6 +21,9 @@ - gerrit-git-prep - python26-essex + publishers: + - console-log + # >= precise does not have python2.6 node: oneiric @@ -48,4 +51,7 @@ - gerrit-git-prep - python27-essex + publishers: + - console-log + node: oneiric 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 1ccf553712..b9a2fd05b1 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 @@ -59,6 +59,16 @@ publishers: - archive: artifacts: logs/* + - scp: + site: 'static.openstack.org' + files: + - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' + source: 'logs/*' + keep-hierarchy: true + copy-after-failure: true + - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' + copy-console: true + copy-after-failure: true - trigger-parameterized-builds: - project: devstack-update-complete when: complete @@ -128,6 +138,16 @@ publishers: - archive: artifacts: logs/* + - scp: + site: 'static.openstack.org' + files: + - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' + source: 'logs/*' + keep-hierarchy: true + copy-after-failure: true + - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' + copy-console: true + copy-after-failure: true - trigger-parameterized-builds: - project: devstack-update-complete when: complete @@ -192,6 +212,16 @@ publishers: - archive: artifacts: logs/* + - scp: + site: 'static.openstack.org' + files: + - target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER' + source: 'logs/*' + keep-hierarchy: true + copy-after-failure: true + - target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER' + copy-console: true + copy-after-failure: true - trigger-parameterized-builds: - project: devstack-update-complete when: complete @@ -256,6 +286,16 @@ publishers: - archive: artifacts: logs/* + - scp: + site: 'static.openstack.org' + files: + - target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER' + source: 'logs/*' + keep-hierarchy: true + copy-after-failure: true + - target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER' + copy-console: true + copy-after-failure: true - trigger-parameterized-builds: - project: devstack-update-complete when: complete diff --git a/modules/openstack_project/files/jenkins_job_builder/config/gerrit.yaml b/modules/openstack_project/files/jenkins_job_builder/config/gerrit.yaml index cb69026db6..64541516d9 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/gerrit.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/gerrit.yaml @@ -30,6 +30,7 @@ site: 'nova.openstack.org' warfile: 'gerrit-war/target/gerrit*.war' target: 'tarballs/ci/test/' + - console-log - job: @@ -59,6 +60,8 @@ postbuilders: - gerrit-postrun + publishers: + - console-log - job: name: gerrit-package @@ -92,3 +95,4 @@ site: 'nova.openstack.org' warfile: 'gerrit-war/target/gerrit*.war' target: 'tarballs/ci/' + - console-log diff --git a/modules/openstack_project/files/jenkins_job_builder/config/horizon.yaml b/modules/openstack_project/files/jenkins_job_builder/config/horizon.yaml index ae229d7f0f..e29ccf0e7b 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/horizon.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/horizon.yaml @@ -21,3 +21,6 @@ builders: - gerrit-git-prep - selenium + + publishers: + - console-log 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 1653804bb7..a82709996e 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml @@ -107,8 +107,9 @@ artifacts: 'dist/*.tar.gz' - scp: site: '{site}' - source: 'dist/*.tar.gz' - target: 'tarballs/{project}/' + files: + - target: 'tarballs/{project}/' + source: 'dist/*.tar.gz' - publisher: name: war @@ -117,8 +118,9 @@ artifacts: '{warfile}' - scp: site: '{site}' - source: '{warfile}' - target: '{target}' + files: + - target: '{target}' + source: '{warfile}' - publisher: name: pep8 @@ -139,3 +141,24 @@ max: 1 unstable: 1 pattern: '**/pylint.txt' + +- publisher: + name: console-log + publishers: + - scp: + site: 'static.openstack.org' + files: + - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' + copy-console: true + copy-after-failure: true + + +- publisher: + name: console-log-periodic + publishers: + - scp: + site: 'static.openstack.org' + files: + - target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER' + copy-console: true + copy-after-failure: true diff --git a/modules/openstack_project/files/jenkins_job_builder/config/openstack-ci-puppet.yaml b/modules/openstack_project/files/jenkins_job_builder/config/openstack-ci-puppet.yaml index 4631d6d734..4fc458a63e 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/openstack-ci-puppet.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/openstack-ci-puppet.yaml @@ -16,3 +16,6 @@ - gerrit-git-prep - puppet-syntax - pyflakes + + publishers: + - console-log diff --git a/modules/openstack_project/files/jenkins_job_builder/config/openstack-publish-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/openstack-publish-jobs.yaml index b53ec97e6a..666edca78d 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/openstack-publish-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/openstack-publish-jobs.yaml @@ -30,6 +30,7 @@ target: 'developer/{name}' remove-prefix: 'doc/build/html' excludes: '' + - console-log - job-template: @@ -62,6 +63,7 @@ - tarball: project: '{name}' site: '{tarball-publisher-site}' + - console-log - job-group: diff --git a/modules/openstack_project/files/jenkins_job_builder/config/pypi-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/pypi-jobs.yaml index 9cc5313fab..1aae8a0727 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/pypi-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/pypi-jobs.yaml @@ -33,6 +33,7 @@ - tarball: project: '{name}' site: '{tarball-publisher-site}' + - console-log - job-template: @@ -58,6 +59,7 @@ - tarball: project: '{name}' site: '{tarball-publisher-site}' + - console-log - job-group: diff --git a/modules/openstack_project/files/jenkins_job_builder/config/python-bitrot-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/python-bitrot-jobs.yaml index 738f477cf5..deededd997 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/python-bitrot-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/python-bitrot-jobs.yaml @@ -20,6 +20,9 @@ builders: - python26 + publishers: + - console-log-periodic + scm: - git: url: 'git://github.com/{github-org}/{name}.git' @@ -52,6 +55,9 @@ builders: - python27 + publishers: + - console-log-periodic + scm: - git: url: 'git://github.com/{github-org}/{name}.git' @@ -83,6 +89,9 @@ builders: - docs + publishers: + - console-log-periodic + scm: - git: url: 'git://github.com/{github-org}/{name}.git' diff --git a/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml index 612d26e106..aaf6cf2b37 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml @@ -22,7 +22,8 @@ - coverage publishers: - - coverage + - coverage + - console-log node: '{node}' @@ -52,6 +53,7 @@ publishers: - pep8 + - console-log node: '{node}' @@ -81,6 +83,7 @@ publishers: - pylint + - console-log node: '{node}' @@ -108,6 +111,9 @@ - gerrit-git-prep - python26 + publishers: + - console-log + # >= precise does not have python2.6 node: oneiric @@ -141,6 +147,9 @@ - gerrit-git-prep - python27 + publishers: + - console-log + node: '{node}' @@ -166,6 +175,9 @@ builders: - gerrit-git-prep + publishers: + - console-log + node: '{node}' @@ -192,6 +204,9 @@ - gerrit-git-prep - docs + publishers: + - console-log + node: '{node}' @@ -220,6 +235,9 @@ - gerrit-git-prep - pyflakes + publishers: + - console-log + - job-group: name: python-jobs @@ -231,3 +249,4 @@ - 'gate-{name}-python27' - 'gate-{name}-docs' # pyflakes isn't standard + # pylint isn't standard diff --git a/modules/openstack_project/files/jenkins_job_builder/config/zuul.yaml b/modules/openstack_project/files/jenkins_job_builder/config/zuul.yaml index 184b53c339..9b9830674f 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/zuul.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/zuul.yaml @@ -27,6 +27,8 @@ publishers: - scp: site: '173.203.107.207' - source: 'doc/build/html/**/*' - target: 'ci/zuul' - keep-hierarchy: true + files: + - target: 'ci/zuul' + source: 'doc/build/html/**/*' + keep-hierarchy: true + - console-log