aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wfar...@apache.org
Subject aurora-packaging git commit: Replace realpath to get build working on jenkins.
Date Tue, 25 Aug 2015 02:29:48 GMT
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 <wfarner@apache.org>
Authored: Mon Aug 24 19:28:55 2015 -0700
Committer: Bill Farner <wfarner@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 \


Mime
View raw message