fuzzy-controller/Jenkinsfile
2025-02-17 16:39:53 +04:00

28 lines
660 B
Groovy

pipeline {
agent any
stages {
stage('Build') {
steps {
script {
sh "sh ./gradlew clean build"
}
}
}
stage('Deploy') {
steps {
script {
sh "sh deploy/nio17.sh"
}
}
}
}
post {
always {
script {
if (currentBuild.currentResult == 'FAILURE') {
step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "a.romanov@ulstu.ru", sendToIndividuals: true])
}
}
}
}
}