Correction install SDK not working
This commit is contained in:
parent
98ba1f3d88
commit
9b6fb43390
@ -8,5 +8,5 @@ docker run --detach \
|
||||
--restart unless-stopped \
|
||||
jenkins/jenkins:lts
|
||||
|
||||
docker cp install-sdk.sh jenkins:/root/install-sdk.sh
|
||||
docker cp docker/install-sdk.sh jenkins:/root/install-sdk.sh
|
||||
docker exec jenkins "/root/install-sdk.sh"
|
||||
|
@ -4,8 +4,8 @@ wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip -P /ro
|
||||
unzip /root/sdk-tools-linux-4333796.zip -d /root/
|
||||
rm /root/sdk-tools-linux-4333796.zip
|
||||
|
||||
yes | ./tools/bin/sdkmanager --licenses
|
||||
yes | ./tools/bin/sdkmanager "platforms;android-28" --sdk_root=/opt/android-sdk
|
||||
yes | /root/tools/bin/sdkmanager --licenses
|
||||
yes | /root/tools/bin/sdkmanager "platforms;android-28" --sdk_root=/opt/android-sdk
|
||||
|
||||
apt-get update
|
||||
apt-get install -y curl
|
||||
|
Loading…
Reference in New Issue
Block a user