Added jankinsFile

This commit is contained in:
2026-05-02 14:30:02 +03:00
parent 305724fb66
commit 803b6726f2
2 changed files with 28 additions and 0 deletions
Vendored
+18
View File
@@ -0,0 +1,18 @@
stage('Build Android APK') {
agent { label 'linux' }
environment {
ANDROID_HOME = '/opt/android-sdk'
ANDROID_SDK_ROOT = '/opt/android-sdk'
PATH = "/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:${env.PATH}"
}
steps {
cleanWs()
checkout scm
sh '''
./gradlew clean assembleDebug
'''
archiveArtifacts artifacts: '**/build/outputs/apk/**/*.apk', fingerprint: true
}
}