2023-02-13 17:13:15 +01:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
|
|
|
echo 'Building..'
|
2023-02-13 17:40:16 +01:00
|
|
|
withGradle {
|
|
|
|
sh './gradlew build'
|
|
|
|
}
|
|
|
|
|
2023-02-13 17:13:15 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Test') {
|
|
|
|
steps {
|
|
|
|
echo 'Testing...'
|
2023-02-13 17:40:16 +01:00
|
|
|
withGradle {
|
|
|
|
sh './gradlew test'
|
|
|
|
}
|
2023-02-13 17:13:15 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-13 17:40:16 +01:00
|
|
|
}
|