Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • deb-build-jobs deb-build-jobs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • deb-build-jobsdeb-build-jobs
  • Issues
  • #54
Closed
Open
Issue created Jan 24, 2020 by Guido Gunther@guido.gunther💤Owner

blessed-builds: don't try to upload failed builds

see e.g. http://localhost:8080/job/Builds/job/debs/job/deb-mozjs60-amber-phone-staging-aarch64/2/console

when a build fails like

I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: Cleaning COW directory
I: forking: rm -rf /var/cache/pbuilder/build/cow.15260
gbp:error: 'git-pbuilder --jobs=auto -nc --build=full -sa' failed: it exited with 1
[Pipeline] echo
Script returned 1. Aborting build.

but then the upload step tries to pick up the pieces:

Running on Jenkins in /var/lib/jenkins/workspace/Builds/debs/deb-mozjs60-amber-phone-staging-aarch64@2
[Pipeline] {
[Pipeline] sh
...
+ + echo ./*.changes
wc -w
+ [ 1 -ne 1 ]
+ ls ./*.changes
ls: cannot access './*.changes': No such file or directory
+ changes_file=
[Pipeline] echo
Script returned 2. Aborting build.

and only this makes the pipeline stop. The pipeline should have stopped after the first build failure.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking