You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by po...@apache.org on 2016/07/13 21:13:56 UTC

incubator-tamaya git commit: Make script executable in Jenkins if a parameter is given.

Repository: incubator-tamaya
Updated Branches:
  refs/heads/master 7f07ff4a5 -> 8dd19ae9c


Make script executable in Jenkins if a parameter is given.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/8dd19ae9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/8dd19ae9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/8dd19ae9

Branch: refs/heads/master
Commit: 8dd19ae9c0805519eeda6a0513173824d408155c
Parents: 7f07ff4
Author: Phil Ottlinger <po...@apache.org>
Authored: Wed Jul 13 23:13:29 2016 +0200
Committer: Phil Ottlinger <po...@apache.org>
Committed: Wed Jul 13 23:13:29 2016 +0200

----------------------------------------------------------------------
 bin/fixSSLinMavenSite.sh | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/8dd19ae9/bin/fixSSLinMavenSite.sh
----------------------------------------------------------------------
diff --git a/bin/fixSSLinMavenSite.sh b/bin/fixSSLinMavenSite.sh
index 581cc52..e765d0a 100755
--- a/bin/fixSSLinMavenSite.sh
+++ b/bin/fixSSLinMavenSite.sh
@@ -15,7 +15,12 @@
 # specific language governing permissions and limitations
 # under the License.
 echo "Will replace http with https in the generated maven site ..."
-read -p "Please abort in case you haven't generated the site or press RETURN to continue."
-cd ../target/site
+if [ -z $1 ];
+	then
+	read -p "Please abort in case you haven't generated the site or press RETURN to continue.";
+else
+        echo "Assuming script is run on CI - starting to replace ...."
+fi
+cd ./target/site
 sed -i 's/"http:/"https:/g' *.html
 echo "DONE - please verify before pushing."