
By default script runned via ./ and path not exist, need run via bash Change-Id: I0e20c4d902d344635df32f4ca7ef016e094a3cd9
26 lines
577 B
YAML
26 lines
577 B
YAML
- job-template:
|
|
name: 'daily-log-publisher-{lab}'
|
|
defaults: global
|
|
builders:
|
|
- shell: |
|
|
git clone https://git.openstack.org/openstack/sahara-ci-config
|
|
$WORKSPACE/sahara-ci-config/slave-scripts/publish-logs.sh
|
|
triggers:
|
|
- timed: '50 5 * * *'
|
|
publishers:
|
|
- workspace-cleanup:
|
|
clean-if:
|
|
- success: true
|
|
- not-built: true
|
|
- aborted: true
|
|
node: 'lab-{lab}'
|
|
|
|
|
|
- project:
|
|
name: publisher
|
|
lab:
|
|
- 42
|
|
- 43
|
|
jobs:
|
|
- 'daily-log-publisher-{lab}'
|