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

Commit

Permalink
Updating install script
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed May 13, 2017
1 parent 1b21157 commit 3f63db7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jdk:
- oraclejdk8

before_install:
- ./setup-atlassian-sdk.sh
- ./setup-atlassian-sdk.sh `pwd`
- export PATH=opt/atlassian-plugin-sdk/bin:opt/atlassian-plugin-sdk/apache-maven-*/bin:$PATH
install:
- atlas-mvn -q install -Dbitbucket.version=4.4.0
Expand Down
8 changes: 7 additions & 1 deletion setup-atlassian-sdk.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/bin/bash
installdir=`pwd`

if [ "$1" -gt "-1" ]
then echo Give param, like /home/username
fi

installdir=$1
cd $1
wget https://marketplace.atlassian.com/download/plugins/atlassian-plugin-sdk-tgz
mkdir opt
tar -xvzf *plugin-sdk* -C opt
Expand Down

0 comments on commit 3f63db7

Please sign in to comment.