github.com/jfrog/frogbot@v1.1.1-0.20231221090046-821a26f50338/testdata/resources/bitbucket_server_run.sh (about) 1 #!/bin/bash 2 3 export BITBUCKET_VERSION=8.16.1 4 export BITBUCKET_HOME=${PWD}/bitbucketHome 5 6 # Download Bitbucket Server 7 curl -fLg https://www.atlassian.com/software/stash/downloads/binary/atlassian-bitbucket-$BITBUCKET_VERSION.tar.gz -O 8 9 # Extract Bitbucket Server 10 tar -xvzf atlassian-bitbucket-$BITBUCKET_VERSION.tar.gz 11 12 # Change directory to Bitbucket Server installation 13 cd atlassian-bitbucket-$BITBUCKET_VERSION 14 15 # Set Bitbucket home directory 16 ./bin/set-bitbucket-home.sh 17 18 # Start Bitbucket Server 19 ./bin/start-bitbucket.sh --no-search