Fix Gradle build step in Jenkinsfile
This commit is contained in:
parent
2ef5bd8ba2
commit
ee2e026974
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
|
@ -3,7 +3,10 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage('Gradle') {
|
stage('Gradle') {
|
||||||
steps {
|
steps {
|
||||||
sh 'bash gradlew build'
|
sh '''
|
||||||
|
chmod +x gradlew
|
||||||
|
./gradlew build
|
||||||
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Archive') {
|
stage('Archive') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user