Code Review
/
ci-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Revert "Set FDIONOMAD container hostname with job and node info."
[ci-management.git]
/
jjb
/
scripts
/
setup_executor_env.sh
diff --git
a/jjb/scripts/setup_executor_env.sh
b/jjb/scripts/setup_executor_env.sh
index
11de12c
..
4d3cb6e
100755
(executable)
--- a/
jjb/scripts/setup_executor_env.sh
+++ b/
jjb/scripts/setup_executor_env.sh
@@
-30,6
+30,7
@@
echo "$long_line"
echo "Executor Runtime Attributes:"
echo "OS: $OS_ID-$OS_VERSION_ID"
echo "Arch: $OS_ARCH"
+echo "Nomad Hostname: $(grep search /etc/resolv.conf | cut -d' ' -f2 | head -1)"
echo "Container ID: $(hostname)"
echo "$long_line"