-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
25 lines (25 loc) · 970 Bytes
/
Jenkinsfile
File metadata and controls
25 lines (25 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pipeline {
agent any
stages {
stage('clone repo') {
steps{
checkout([$class : 'GitSCM', branches: [[name: '*/develop']],
doGenerateSubmoduleConfigurations: false,
extensions : [],
submoduleCfg : [],
userRemoteConfigs : [[credentialsId: 'e737692f-f974-4afa-879f-1b25210e46c4',
url : 'https://github.com/arsinspace/lua-database-adapter']]
])
}
}
stage('build gradle') {
steps{
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
withGradle {
bat """.\\gradlew build"""
}
}
}
}
}
}