Indentation
This commit is contained in:
parent
6c4e83d454
commit
692a11fd3b
|
@ -13,7 +13,11 @@ use File::stat;
|
||||||
use File::Path;
|
use File::Path;
|
||||||
|
|
||||||
our @ISA = qw(Exporter);
|
our @ISA = qw(Exporter);
|
||||||
our @EXPORT = qw(fetchInput evalJobs checkBuild inputsToArgs captureStdoutStderr getReleaseName getBuildLog addBuildProducts restartBuild scmPath);
|
our @EXPORT = qw(
|
||||||
|
fetchInput evalJobs checkBuild inputsToArgs captureStdoutStderr
|
||||||
|
getReleaseName getBuildLog addBuildProducts restartBuild scmPath
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
sub scmPath {
|
sub scmPath {
|
||||||
return getHydraPath . "/scm" ;
|
return getHydraPath . "/scm" ;
|
||||||
|
@ -319,7 +323,7 @@ sub fetchInputGit {
|
||||||
}
|
}
|
||||||
|
|
||||||
# git pull + check rev
|
# git pull + check rev
|
||||||
chdir $clonePath or die $!;
|
chdir $clonePath or die $!; # !!! urgh, shouldn't do a chdir
|
||||||
(my $res, $stdout, $stderr) = captureStdoutStderr(600,
|
(my $res, $stdout, $stderr) = captureStdoutStderr(600,
|
||||||
("git", "pull"));
|
("git", "pull"));
|
||||||
die "Error pulling latest change git repo at `$uri':\n$stderr" unless $res;
|
die "Error pulling latest change git repo at `$uri':\n$stderr" unless $res;
|
||||||
|
@ -397,6 +401,7 @@ sub fetchInputGit {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sub fetchInputBazaar {
|
sub fetchInputBazaar {
|
||||||
my ($db, $project, $jobset, $name, $type, $value, $checkout) = @_;
|
my ($db, $project, $jobset, $name, $type, $value, $checkout) = @_;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue