Skip to content

Commit 37e26d0

Browse files
committed
Add hostname information at exit (#211)
1 parent 1c2f481 commit 37e26d0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

aliBuild

+4-2
Original file line numberDiff line numberDiff line change
@@ -1260,16 +1260,18 @@ if __name__ == "__main__":
12601260
else:
12611261
err = execute("/bin/bash -e -x %s/build.sh 2>&1" % scriptDir)
12621262

1263-
dieOnError(err, format("Error while executing %(sd)s/build.sh\n"
1263+
dieOnError(err, format("Error while executing %(sd)s/build.sh on `%(h)s'.\n"
12641264
"Log can be found in %(w)s/BUILD/%(p)s-latest/log",
1265+
h=socket.gethostname(),
12651266
sd=scriptDir,
12661267
w=abspath(args.workDir),
12671268
p=spec["package"]))
12681269

12691270
syncHelper.syncToRemote(p, spec)
1270-
info(format("Build successfully completed. "
1271+
info(format("Build successfully completed on `%(h)s'.\n"
12711272
"Your software installation is at:"
12721273
"\n\n%(wp)s",
1274+
h=socket.gethostname(),
12731275
wp=abspath(join(args.workDir, args.architecture))))
12741276
for x in develPkgs:
12751277
info(format("\nBuild directory for package %(p)s is %(w)s/BUILD/%(p)s-latest/%(p)s",

0 commit comments

Comments
 (0)