Git Product home page Git Product logo

openbuild's People

Contributors

doofy avatar lkiesow avatar

Watchers

 avatar  avatar  avatar

openbuild's Issues

handle missing config

when the config is missing the process dies like this:

[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:38 min
[INFO] Finished at: 2017-03-22T13:19:12+00:00
[INFO] Final Memory: 295M/670M
[INFO] ------------------------------------------------------------------------

Traceback (most recent call last):
File "/bin/openbuild-run", line 12, in
run()
File "/usr/lib/python2.7/site-packages/openbuild/commands.py", line 165, in run
publish(build, buildcfg, log)
File "/usr/lib/python2.7/site-packages/openbuild/commands.py", line 117, in publish
out, err = p.communicate()
UnboundLocalError: local variable 'p' referenced before assignment

offer command to reset active job

The build chain can run into a state where the database marked a job as running but the build process is gone. There is no way to recover except changing the value by hand inside the table.

removed untracked file before checkout

If the the commit of the running job leaves untracked files the process will die like this:

2017-03-22 14:29:31 ERROR [commands.py:178:run()]
Traceback (most recent call last):
File "/bin/openbuild-run", line 12, in
run()
File "/usr/lib/python2.7/site-packages/openbuild/commands.py", line 147, in run
git.clean()
File "/usr/lib/python2.7/site-packages/openbuild/git.py", line 49, in clean
raise OSError('Could not check out commit hash', err)
OSError: [Errno Could not check out commit hash] warning: failed to remove assemblies/dist-worker-encoding/pom.xml
warning: failed to remove assemblies/dist-worker-light/pom.xml
warning: failed to remove docs/rpmbuild/jetty.xml
warning: failed to remove docs/rpmbuild/opencast.logrotate
warning: failed to remove docs/rpmbuild/opencast.spec
warning: failed to remove docs/rpmbuild/org.apache.aries.transaction.cfg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.