Giter Site home page Giter Site logo

builder's People

Contributors

alexcreek avatar

Watchers

 avatar  avatar

builder's Issues

Add verification that the branch exists in the repo

Before attempting to build a project, verify that the branch exists in the repo.

2020-12-19 05:25:33 INFO Webhook recieved
2020-12-19 05:25:33 INFO Build started
2020-12-19 05:25:33 INFO Repository: https://github.com/alexcreek/remote.git
127.0.0.1 - - [19/Dec/2020 05:25:33] "POST /webhook HTTP/1.0" 200 -
2020-12-19 05:25:33 INFO Branch: build
2020-12-19 05:25:33 INFO Commit: 0000000000000000000000000000000000000000
2020-12-19 05:25:33 INFO Cloning https://github.com/alexcreek/remote.git into /tmp/tmp21yowl7m
2020-12-19 05:25:34 INFO Checking out branch build
Exception in thread Thread-9:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/code/builder/project.py", line 28, in run
    self.checkout()
  File "/code/builder/project.py", line 44, in checkout
    r.git.checkout(self.branch)
  File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.7/site-packages/git/cmd.py", line 551, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.7/site-packages/git/cmd.py", line 1020, in _call_process
    return self.execute(call, **exec_kwargs)
  File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.7/site-packages/git/cmd.py", line 831, in execute
    raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(1)
  cmdline: git checkout build
  stderr: 'error: pathspec 'build' did not match any file(s) known to git'

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.