You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by wf...@apache.org on 2015/08/25 04:29:48 UTC
aurora-packaging git commit: Replace realpath to get build working on
jenkins.
Repository: aurora-packaging
Updated Branches:
refs/heads/master 718acac91 -> 02a9b24f4
Replace realpath to get build working on jenkins.
Reviewed at https://reviews.apache.org/r/37743/
Project: http://git-wip-us.apache.org/repos/asf/aurora-packaging/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora-packaging/commit/02a9b24f
Tree: http://git-wip-us.apache.org/repos/asf/aurora-packaging/tree/02a9b24f
Diff: http://git-wip-us.apache.org/repos/asf/aurora-packaging/diff/02a9b24f
Branch: refs/heads/master
Commit: 02a9b24f4decc3146379c069209bd95566cd0d82
Parents: 718acac
Author: Bill Farner <wf...@apache.org>
Authored: Mon Aug 24 19:28:55 2015 -0700
Committer: Bill Farner <wf...@apache.org>
Committed: Mon Aug 24 19:28:55 2015 -0700
----------------------------------------------------------------------
build-artifact.sh | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/aurora-packaging/blob/02a9b24f/build-artifact.sh
----------------------------------------------------------------------
diff --git a/build-artifact.sh b/build-artifact.sh
index 263851c..bb24b36 100755
--- a/build-artifact.sh
+++ b/build-artifact.sh
@@ -34,6 +34,10 @@ IMAGE_NAME="aurora-$(basename $BUILDER_DIR)"
echo "Using docker image $IMAGE_NAME"
docker build -t "$IMAGE_NAME" "$BUILDER_DIR"
+function realpath {
+ echo "$(cd "$(dirname "$1")"; pwd)/$(basename "$1")"
+}
+
ARTIFACT_DIR="$(pwd)/dist/$BUILDER_DIR"
mkdir -p $ARTIFACT_DIR
docker run \