Skip to content
This repository was archived by the owner on Jun 9, 2021. It is now read-only.

Commit 3f63db7

Browse files
committed
Updating install script
1 parent 1b21157 commit 3f63db7

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jdk:
44
- oraclejdk8
55

66
before_install:
7-
- ./setup-atlassian-sdk.sh
7+
- ./setup-atlassian-sdk.sh `pwd`
88
- export PATH=opt/atlassian-plugin-sdk/bin:opt/atlassian-plugin-sdk/apache-maven-*/bin:$PATH
99
install:
1010
- atlas-mvn -q install -Dbitbucket.version=4.4.0

setup-atlassian-sdk.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#!/bin/bash
2-
installdir=`pwd`
2+
3+
if [ "$1" -gt "-1" ]
4+
then echo Give param, like /home/username
5+
fi
6+
7+
installdir=$1
8+
cd $1
39
wget https://marketplace.atlassian.com/download/plugins/atlassian-plugin-sdk-tgz
410
mkdir opt
511
tar -xvzf *plugin-sdk* -C opt

0 commit comments

Comments
 (0)