forked from lix-project/hydra
support git branches as input in stead of only master branch
This commit is contained in:
parent
06dc6d8f86
commit
94634773b1
|
@ -218,13 +218,13 @@ sub fetchInputBuild {
|
|||
sub fetchInputGit {
|
||||
my ($db, $project, $jobset, $name, $type, $value) = @_;
|
||||
|
||||
my $uri = $value;
|
||||
(my $uri, my $branch) = split ' ', $value;
|
||||
$branch = defined $branch ? $branch : "master";
|
||||
|
||||
my $timestamp = time;
|
||||
my $sha256;
|
||||
my $storePath;
|
||||
|
||||
my $branch = "master";
|
||||
|
||||
# First figure out the last-modified revision of the URI.
|
||||
my $stdout; my $stderr;
|
||||
(my $res, $stdout, $stderr) = captureStdoutStderr(
|
||||
|
|
Loading…
Reference in a new issue