Initial commit
This commit is contained in:
parent
ba1a848d86
commit
231b831317
15 changed files with 1039 additions and 0 deletions
35
Jenkinsfile
vendored
Normal file
35
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
pipeline {
|
||||
agent any
|
||||
|
||||
options {
|
||||
buildDiscarder (
|
||||
logRotator(numToKeepStr: '5')
|
||||
)
|
||||
}
|
||||
|
||||
stages {
|
||||
stage("Build") {
|
||||
agent {
|
||||
label 'linux'
|
||||
}
|
||||
|
||||
steps {
|
||||
script {
|
||||
sh '''
|
||||
#!/bin/bash
|
||||
|
||||
chmod +x gradlew
|
||||
./gradlew build
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
success {
|
||||
archiveArtifacts artifacts: "build/libs/*.jar"
|
||||
cleanWs()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue