Merge lp:~pfalcon/linaro-license-protection/reshuffle-files-merge-contents into lp:~linaro-automation/linaro-license-protection/trunk
Proposed by
Paul Sokolovsky
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 31 | ||||
Proposed branch: | lp:~pfalcon/linaro-license-protection/reshuffle-files-merge-contents | ||||
Merge into: | lp:~linaro-automation/linaro-license-protection/trunk | ||||
Diff against target: |
38 lines (+20/-10) 1 file modified
scripts/jenkins-post-www.sh (+20/-10) |
||||
To merge this branch: | bzr merge lp:~pfalcon/linaro-license-protection/reshuffle-files-merge-contents | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Tunnicliffe (community) | Approve | ||
Данило Шеган (community) | Needs Fixing | ||
Review via email: mp+88227@code.launchpad.net |
Description of the change
Fix for current build breakage (in artifact transfer), more in commit message.
To post a comment you must log in.
This is definitely an improvement over the existing approach so it could land as-is.
However, it still has a race-condition that might become even more harmful since the script will succeed and perhaps "rm -rf" stuff that was pushed to snapshots only in between the "cp" evaluation and "rm" execution. I think the best thing we could do is add a simple lock file to the begining of the script, and loop for a certain time hoping that the lock is cleared, and bail out otherwise.