Added jankinsFile
This commit is contained in:
Generated
+10
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="deploymentTargetSelector">
|
||||
<selectionStates>
|
||||
<SelectionState runConfigName="app">
|
||||
<option name="selectionMode" value="DROPDOWN" />
|
||||
</SelectionState>
|
||||
</selectionStates>
|
||||
</component>
|
||||
</project>
|
||||
Vendored
+18
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user