From 3cbe02771d410a2711a75452d8cf755f54e9ada1 Mon Sep 17 00:00:00 2001 From: lm Date: Wed, 16 Apr 2014 13:47:40 +0800 Subject: [PATCH 1/2] [Jenkins][ci skip] Fix ftp home in upload_apk.sh --- tools/jenkins-scripts/upload_apk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/jenkins-scripts/upload_apk.sh b/tools/jenkins-scripts/upload_apk.sh index 8ede92b688..e4ec09e5cf 100644 --- a/tools/jenkins-scripts/upload_apk.sh +++ b/tools/jenkins-scripts/upload_apk.sh @@ -3,7 +3,7 @@ localfile=$1 remotefile=$2 -sftp redmine@10.10.11.15 << EOF +sftp $FTP_HOME << EOF put $localfile $remotefile bye EOF From b78c89d39b5e1a97cc24bdade1886a67ca17c711 Mon Sep 17 00:00:00 2001 From: lm Date: Wed, 16 Apr 2014 14:19:13 +0800 Subject: [PATCH 2/2] [Jenkins][ci skip] Fix ftp home in upload_apk.sh --- tools/jenkins-scripts/upload_apk.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/jenkins-scripts/upload_apk.sh b/tools/jenkins-scripts/upload_apk.sh index e4ec09e5cf..759e4d7cb2 100644 --- a/tools/jenkins-scripts/upload_apk.sh +++ b/tools/jenkins-scripts/upload_apk.sh @@ -1,10 +1,9 @@ -#!/bin/sh - -localfile=$1 +#!/bin/sh +calfile=$1 remotefile=$2 sftp $FTP_HOME << EOF put $localfile $remotefile bye EOF -echo "upload finished" \ No newline at end of file +echo "upload finished"