Skip to content

Commit 297db4f

Browse files
felladrinroboquat
authored andcommitted
Use different folders for the Stable and EAP JetBrains IDE used by the Dev Server from backend-plugin
1 parent ec95237 commit 297db4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/ide/jetbrains/backend-plugin/launch-dev-server.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ do
2222
esac
2323
done
2424

25-
TEST_BACKEND_DIR=/workspace/ide-backend
25+
TEST_BACKEND_DIR="/workspace/ide-backend-$JB_QUALIFIER"
2626
if [ ! -d "$TEST_BACKEND_DIR" ]; then
2727
mkdir -p $TEST_BACKEND_DIR
2828
if [[ $JB_QUALIFIER == "stable" ]]; then
@@ -31,8 +31,8 @@ if [ ! -d "$TEST_BACKEND_DIR" ]; then
3131
PRODUCT_TYPE="release,rc,eap"
3232
fi
3333
(cd $TEST_BACKEND_DIR &&
34-
echo "Downloading the ${JB_QUALIFIER} version of IntelliJ IDEA..." &&
35-
curl -sSLo backend.tar.gz "https://download.jetbrains.com/product?type=${PRODUCT_TYPE}&distribution=linux&code=IIU" &&
34+
echo "Downloading the $JB_QUALIFIER version of IntelliJ IDEA..." &&
35+
curl -sSLo backend.tar.gz "https://download.jetbrains.com/product?type=$PRODUCT_TYPE&distribution=linux&code=IIU" &&
3636
tar -xf backend.tar.gz --strip-components=1 &&
3737
rm backend.tar.gz)
3838
fi

0 commit comments

Comments
 (0)