Some checks failed
CI fuzzy controller / container-test-job (push) Has been cancelled
35 lines
820 B
Groovy
35 lines
820 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('Test') {
|
|
steps {
|
|
script {
|
|
sh "sh ./gradlew clean test"
|
|
}
|
|
}
|
|
}
|
|
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])
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |