mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 22:15:50 +00:00
labels
This commit is contained in:
parent
7d7186bfa2
commit
6794520057
1 changed files with 2 additions and 0 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -13,6 +13,7 @@ pipeline {
|
||||||
agent { label 'vps-agent1' }
|
agent { label 'vps-agent1' }
|
||||||
when { not {branch 'main' }}
|
when { not {branch 'main' }}
|
||||||
steps {
|
steps {
|
||||||
|
echo "Syle Check"
|
||||||
sh './gradlew checkstyleMain'
|
sh './gradlew checkstyleMain'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,6 +22,7 @@ pipeline {
|
||||||
agent { label 'vps-agent1' }
|
agent { label 'vps-agent1' }
|
||||||
when { not {branch 'main' }}
|
when { not {branch 'main' }}
|
||||||
steps {
|
steps {
|
||||||
|
echo "Running tests"
|
||||||
sh './gradlew test'
|
sh './gradlew test'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue