Created
March 7, 2016 13:19
-
-
Save marcelbirkner/9b133f800d7d3fc5d828 to your computer and use it in GitHub Desktop.
Revisions
-
marcelbirkner created this gist
Mar 7, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ #!/bin/sh PROPERTY_FILE=apps.properties function getProperty { PROP_KEY=$1 PROP_VALUE=`cat $PROPERTY_FILE | grep "$PROP_KEY" | cut -d'=' -f2` echo $PROP_VALUE } echo "# Reading property from $PROPERTY_FILE" REPOSITORY_URL=$(getProperty "nexus.repository.url")