system-config/modules/openstack_project/files/jenkins_job_builder/config/zuul.yaml
Clark Boylan 7075bbb146 Use console-log scp macro to copy build logs.
Previoulsy we had spelled out that the build logs should be copied when
there were other files to copy in order to avoid multiple SCP
connections. Now, in order to copy the entire console log, we need
multiple SCP connections anyways so go back to using the console-log
macros for simplicity and consistency.

Change-Id: I6e88d08f7eec945b907353ed90ac0d482b7a9c9a
Reviewed-on: https://review.openstack.org/12532
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-09-12 17:11:18 +00:00

42 lines
872 B
YAML

# This is a non-standard docs job because it uses SCP instead of FTP
- job:
name: zuul-docs
node: precise
triggers:
- zuul-post
builders:
- gerrit-git-prep
- docs
publishers:
- scp:
site: '173.203.107.207'
files:
- target: 'ci/zuul'
source: 'doc/build/html/**/*'
keep-hierarchy: true
- console-log-post
- job:
name: 'dev-zuul-coverage'
node: 'precise'
triggers:
- zuul
builders:
- gerrit-git-prep
- coverage
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
source: 'cover/**'
keep-hierarchy: true
copy-after-failure: true
- console-log-post