summaryrefslogtreecommitdiffstats
path: root/jjb/scripts/maven_push_functions.sh
diff options
context:
space:
mode:
authorEd Warnicke <hagbard@gmail.com>2016-06-17 17:24:47 +0000
committerEd Warnicke <hagbard@gmail.com>2016-06-17 17:26:22 +0000
commit6e8f5c9323fcc2898965975005ff4a42ff0fe83c (patch)
tree697cdabc6f6bb45570baae866a61c1bb0686b1d9 /jjb/scripts/maven_push_functions.sh
parent7d83439f84ccbcb54081e78c45cef63a5481a1c6 (diff)
Revert "Create script to automate deployment"
https://gerrit.fd.io/r/#/c/1606/ This reverts commit afd303bc155a27d1ddccfc8add7d510c731decf5. Change-Id: Ie169e3cad3433953d6f21064ec90b33d6b2dc49a Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'jjb/scripts/maven_push_functions.sh')
-rw-r--r--jjb/scripts/maven_push_functions.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/jjb/scripts/maven_push_functions.sh b/jjb/scripts/maven_push_functions.sh
index 5e964e076..2d6ae791f 100644
--- a/jjb/scripts/maven_push_functions.sh
+++ b/jjb/scripts/maven_push_functions.sh
@@ -49,8 +49,8 @@ function push_file ()
function push_jar ()
{
jarfile=$1
- repoId=${2:-"${BASEREPOID}snapshot"}
- url=${3:-"${BASEURL}snapshot"}
+ repoId="${BASEREPOID}snapshot"
+ url="${BASEURL}snapshot"
basefile=$(basename -s .jar "$jarfile")
artifactId=$(echo "$basefile" | cut -f 1 -d '-')
@@ -62,8 +62,8 @@ function push_jar ()
function push_deb ()
{
debfile=$1
- repoId=${2:-"fd.io.${REPO_NAME}"}
- url=${3:-"${BASEURL}${REPO_NAME}"}
+ repoId="fd.io.${REPO_NAME}"
+ url="${BASEURL}${REPO_NAME}"
basefile=$(basename -s .deb "$debfile")
artifactId=$(echo "$basefile" | cut -f 1 -d '_')
@@ -75,8 +75,8 @@ function push_deb ()
function push_rpm ()
{
rpmfile=$1
- repoId=${2:-"fd.io.${REPO_NAME}"}
- url=${3:-"${BASEURL}${REPO_NAME}"}
+ repoId="fd.io.${REPO_NAME}"
+ url="${BASEURL}${REPO_NAME}"
if grep -qE '\.s(rc\.)?rpm' <<<"$rpmfile"
then