Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
my-test-group
TestAppCiNew
Commits
2ccfd8d0
Commit
2ccfd8d0
authored
Nov 27, 2025
by
jayed nahian
Browse files
fix-33
parent
185a84f7
Pipeline
#8115
failed with stage
in 2 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2ccfd8d0
...
...
@@ -41,17 +41,14 @@ deploy_job:
-
rm -rf ./.gradle/6.8.3/executionHistory/executionHistory.lock
-
echo "sdk.dir=/Users/tltestuser/Library/Android/sdk" > local.properties
-
./gradlew assembleRelease
# - find ./app/build/outputs/apk/release -type f -name "*.apk"
# - cd app/build/outputs/apk/release
-
cd /app/build/outputs/apk/debug
# List all APKs to verify location
-
find ./app/build/outputs/apk -type f -name "*.apk"
# Store APK path in variable
-
APK_DIR="./app/build/outputs/apk/release"
-
cd $APK_DIR
# Rename and copy
-
mv app-release.apk $APK_NAME_PREFIX"_"$VERSION_NAME"_"$(date '+%d%B').apk
# - mv app-x86-*.apk $APK_NAME_PREFIX"_"$VERSION_NAME"_"$(date '+%d%B')_x86.apk
# - mv app-arm64-*.apk $APK_NAME_PREFIX"_"$VERSION_NAME"_"$(date '+%d%B')_arm64.apk
# - mv app-armeabi-*.apk $APK_NAME_PREFIX"_"$VERSION_NAME"_"$(date '+%d%B')_armeabi.apk
# - mv app-x86_64-*.apk $APK_NAME_PREFIX"_"$VERSION_NAME"_"$(date '+%d%B')_x86_64.apk
# - mkdir -p ~/.ssh
# - ssh-keyscan -p 3716 n.trucklagbe.com >> ~/.ssh/known_hosts 2>/dev/null
# - chmod 600 /Users/tltestuser/Downloads/ndot_key_14012025
-
scp -i /Users/tltestuser/Downloads/ndot_key_14012025 -P 3716 *.apk custodian@n.trucklagbe.com:/var/www/n.trucklagbe.com/html/APK/QO/
except
:
-
pushes
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment