run link-logs builder first

The builders are run sequentially and short circuited. So if a job fails
we used to loose the link to the logs, but a failed job is the main
reason why someone would try to access the jenkins console log directly.

Confirmed this patch hits all cases of link-logs using 'git grep -B1 link-logs'

Change-Id: I74bc87b706c13624a1b34d0a0335c3a167ff8e34
This commit is contained in:
Joe Gordon 2014-03-11 15:46:51 -07:00 committed by Jeremy Stanley
parent 67a9b1c5ff
commit 494c07ec99
13 changed files with 53 additions and 53 deletions

View File

@ -9,6 +9,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -32,7 +33,6 @@
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs

View File

@ -9,6 +9,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -30,7 +31,6 @@
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs

View File

@ -9,6 +9,7 @@
- timestamps
builders:
- link-logs
- experimental-devstack-checkout
- shell: |
#!/bin/bash -xe
@ -19,7 +20,6 @@
export RE_EXEC=true
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -36,6 +36,7 @@
- timestamps
builders:
- link-logs
- experimental-devstack-checkout
- shell: |
#!/bin/bash -xe
@ -45,7 +46,6 @@
export DEVSTACK_GATE_TEMPEST_FULL=1
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -62,6 +62,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -85,7 +86,6 @@
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -102,6 +102,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -115,7 +116,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -132,6 +132,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -145,7 +146,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -162,6 +162,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -176,7 +177,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -194,6 +194,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -208,7 +209,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -226,6 +226,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -242,7 +243,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -260,6 +260,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -274,7 +275,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -292,6 +292,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -307,7 +308,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -325,6 +325,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -338,7 +339,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -356,6 +356,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -371,7 +372,6 @@
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -389,6 +389,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -405,7 +406,6 @@
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -423,6 +423,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -437,7 +438,6 @@
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -455,6 +455,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -468,7 +469,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -486,6 +486,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -500,7 +501,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -518,6 +518,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -531,7 +532,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -548,6 +548,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -562,7 +563,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -580,6 +580,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -595,7 +596,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -613,6 +613,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -627,7 +628,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -645,6 +645,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -660,7 +661,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -678,6 +678,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -687,7 +688,6 @@
export DEVSTACK_GATE_GRENADE=1
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -705,6 +705,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -715,7 +716,6 @@
export DEVSTACK_GATE_GRENADE_FORWARD=1
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -733,6 +733,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -743,7 +744,6 @@
export DEVSTACK_GATE_NEUTRON=1
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -761,6 +761,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -772,7 +773,6 @@
export DEVSTACK_GATE_GRENADE_FORWARD=1
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -790,6 +790,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -800,7 +801,6 @@
export DEVSTACK_GATE_GRENADE_PARTIAL_NCPU=1
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -818,6 +818,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -832,7 +833,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -850,6 +850,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -864,7 +865,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -882,6 +882,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -897,7 +898,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -915,6 +915,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -927,7 +928,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -945,6 +945,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -957,7 +958,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -975,6 +975,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -987,7 +988,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -1005,6 +1005,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -1019,7 +1020,6 @@
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs

View File

@ -4,6 +4,7 @@
node: '{node}'
builders:
- link-logs
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
@ -11,7 +12,6 @@
export GITBASE=${{TEMPDIR}}/git
export LP_STATS=n
bash ./do-it.sh
- link-logs
publishers:
- console-log

View File

@ -9,6 +9,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -49,7 +50,6 @@
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs

View File

@ -9,8 +9,8 @@
- timestamps
builders:
- update-pypi-mirror
- link-logs
- update-pypi-mirror
publishers:
- console-log
@ -27,8 +27,8 @@
- timestamps
builders:
- update-pypi-mirror
- link-logs
- update-pypi-mirror
publishers:
- console-log
@ -45,8 +45,8 @@
- timestamps
builders:
- update-pypi-mirror
- link-logs
- update-pypi-mirror
publishers:
- console-log
@ -63,8 +63,8 @@
- timestamps
builders:
- update-pypi-mirror
- link-logs
- update-pypi-mirror
publishers:
- console-log
@ -81,8 +81,8 @@
- timestamps
builders:
- update-pypi-mirror
- link-logs
- update-pypi-mirror
publishers:
- console-log
@ -99,8 +99,8 @@
- timestamps
builders:
- update-pypi-mirror
- link-logs
- update-pypi-mirror
publishers:
- console-log

View File

@ -9,6 +9,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -37,7 +38,6 @@
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs

View File

@ -9,6 +9,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -30,7 +31,6 @@
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs

View File

@ -9,6 +9,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -25,7 +26,6 @@
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
@ -36,9 +36,9 @@
node: proposal
builders:
- link-logs
- gerrit-git-prep
- shell: /usr/local/jenkins/slave_scripts/propose_requirements_update.sh
- link-logs
publishers:
- console-log

View File

@ -9,6 +9,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -31,7 +32,6 @@
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs

View File

@ -9,6 +9,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -30,7 +31,6 @@
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs

View File

@ -9,6 +9,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -32,7 +33,6 @@
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs

View File

@ -9,6 +9,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -25,7 +26,6 @@
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- scp:
@ -48,6 +48,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -64,7 +65,6 @@
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- scp:
@ -87,6 +87,7 @@
- timestamps
builders:
- link-logs
- devstack-checkout
- shell: |
#!/bin/bash -xe
@ -103,7 +104,6 @@
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- scp: