Fix AuthInterceptor in caso di AccessToken nullo
This commit is contained in:
parent
e1dd4f2140
commit
e76722018f
31
Jenkinsfile.groovy
Normal file
31
Jenkinsfile.groovy
Normal file
@ -0,0 +1,31 @@
|
||||
pipeline {
|
||||
agent "built-in"
|
||||
|
||||
options {
|
||||
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
|
||||
disableConcurrentBuilds()
|
||||
}
|
||||
|
||||
environment {
|
||||
// ANDROID_HOME = "/usr/local/android/sdk" // Cambia in base al tuo sistema
|
||||
GRADLE_HOME = tool 'Gradle 8.13' // Nome dello strumento configurato in Jenkins
|
||||
PATH = "${env.GRADLE_HOME}/bin:${env.PATH}"
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('Preparing project') {
|
||||
steps {
|
||||
powershell "(gc gradle.properties) -replace 'org.gradle.caching=true', 'org.gradle.caching=false' | Out-File -encoding ASCII gradle.properties"
|
||||
powershell "(gc gradle.properties) -replace 'org.gradle.unsafe.configuration-cache=true', 'org.gradle.unsafe.configuration-cache=false' | Out-File -encoding ASCII gradle.properties"
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
bat "gradle app:build --stacktrace"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user