Remove Jenkinsfile
This commit is contained in:
25
Jenkinsfile
vendored
25
Jenkinsfile
vendored
@@ -1,25 +0,0 @@
|
||||
node {
|
||||
stage('Preparation') {
|
||||
checkout scm
|
||||
}
|
||||
cache(maxCacheSize: 250, caches: [
|
||||
[$class: 'ArbitraryFileCache', excludes: 'modules-2/modules-2.lock,*/plugin-resolution/**', includes: '**/*', path: '${HOME}/.gradle/caches'],
|
||||
[$class: 'ArbitraryFileCache', excludes: '', includes: '**/*', path: '${HOME}/.gradle/wrapper']
|
||||
]) {
|
||||
stage('Cleanup') {
|
||||
sh "./gradlew clean"
|
||||
}
|
||||
stage('Test') {
|
||||
sh "./gradlew test"
|
||||
}
|
||||
stage('Build') {
|
||||
sh "./gradlew build"
|
||||
}
|
||||
}
|
||||
stage('Archive artifacts') {
|
||||
archiveArtifacts 'build/libs/*.jar'
|
||||
}
|
||||
stage('Publish artifacts') {
|
||||
sh "./gradlew publish"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user