All checks were successful
CI fuzzy controller / container-test-job (push) Successful in 1m3s
31 lines
703 B
Groovy
31 lines
703 B
Groovy
pipeline {
|
|
agent any
|
|
tools {
|
|
jdk 'jdk-21'
|
|
}
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
script {
|
|
sh "sh ./gradlew clean build"
|
|
}
|
|
}
|
|
}
|
|
stage('Deploy') {
|
|
steps {
|
|
script {
|
|
sh "bash deploy/nio17.sh &"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
script {
|
|
if (currentBuild.currentResult == 'FAILURE') {
|
|
step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "a.romanov@ulstu.ru", sendToIndividuals: true])
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |