Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BuildRequest changes #12

Conversation

jwgmeligmeyling
Copy link
Member

Throughout Devhub we use Integers to store the build timeout value, which can also be null. In the build server, we used ints which cause NullPointerExceptions for some input. These changes allow builds that do not specify a build timeout.

Another change in this PR is that the requester doesn't necessarily have to specify the branch name. For example when requesting a commit to be build, finding out to which branch it belongs can be difficult (we would have to add a command for the git server). Since we're already pulling all the branches, we can just checkout a commit to the head in the working directory when the branch name is unknown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant