Added Jenkinsfile
This commit is contained in:
parent
22f4beb642
commit
54cdbef779
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
@ -1,20 +1,29 @@
|
||||
pipeline {
|
||||
agent any
|
||||
agent {
|
||||
node {
|
||||
label 'maître'
|
||||
}
|
||||
|
||||
}
|
||||
stages {
|
||||
stage('Setup') {
|
||||
steps {
|
||||
ws(dir: 'orbsat')
|
||||
sh './gradlew setupCIWorkspace'
|
||||
}
|
||||
}
|
||||
stage('Compilation') {
|
||||
stage('Checking code') {
|
||||
steps {
|
||||
sh './gradlew check'
|
||||
}
|
||||
}
|
||||
stage('Compile') {
|
||||
steps {
|
||||
sh './gradlew build'
|
||||
}
|
||||
}
|
||||
stage('Release') {
|
||||
stage('JAR release') {
|
||||
steps {
|
||||
echo 'Compilation done.'
|
||||
sh './gradlew jar'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user