Toolbox/Jenkinsfile

24 lines
438 B
Plaintext
Raw Normal View History

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