git://git.exim.org
/
buildfarm-client.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
61093b4
)
Add send information about the farm client revision back to the server
author
Heiko Schlittermann (HS12-RIPE)
<hs@schlittermann.de>
Thu, 3 Nov 2016 08:18:30 +0000
(09:18 +0100)
committer
Heiko Schlittermann (HS12-RIPE)
<hs@schlittermann.de>
Fri, 4 Nov 2016 07:10:34 +0000
(08:10 +0100)
run_build
patch
|
blob
|
history
diff --git
a/run_build
b/run_build
index e8ec50a62014aabc175d6c6fea2789bef8e9a926..952e4a91207cd88d41e03ea31716e5ab05367b00 100755
(executable)
--- a/
run_build
+++ b/
run_build
@@
-1428,6
+1428,11
@@
sub get_script_config_dump
orig_env => $orig_env,
};
delete $conf->{secret};
orig_env => $orig_env,
};
delete $conf->{secret};
+
+ if ($conf->{scm} eq 'git') {
+ chomp($conf->{farm}{revision} = `git describe --tags --always --dirty=+`);
+ }
+
$Data::Dumper::Sortkeys = 1;
return Data::Dumper->Dump([$conf],['Script_Config']);
}
$Data::Dumper::Sortkeys = 1;
return Data::Dumper->Dump([$conf],['Script_Config']);
}