Commit 2af262a3 authored by Gert Wollny's avatar Gert Wollny
Browse files

print tail of log if fail

parent 19dca8bc
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -11,6 +11,5 @@ build:
    - git checkout master 
    - git pull 
    # silence build to not exceed build log size of gitlab-ci
    - gbp buildpackage -uc -us 2>&1 >../build.log
    - tail -n 100 ../build.log
    - gbp buildpackage -uc -us 2>&1 >../build.log || tail -n 100 ../build.log