mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 04:19:02 +08:00
Add check_setting_visibility.py to Jenkinsfile
This commit is contained in:
parent
72b3f9eb2a
commit
884c5dea67
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -14,6 +14,7 @@ parallel_nodes(['linux && cura', 'windows && cura']) {
|
||||
catchError {
|
||||
stage('Pre Checks') {
|
||||
if (isUnix()) {
|
||||
// Check shortcut keys
|
||||
try {
|
||||
sh """
|
||||
echo 'Check for duplicate shortcut keys in all translation files.'
|
||||
@ -22,6 +23,16 @@ parallel_nodes(['linux && cura', 'windows && cura']) {
|
||||
} catch(e) {
|
||||
currentBuild.result = "UNSTABLE"
|
||||
}
|
||||
|
||||
// Check setting visibilities
|
||||
try {
|
||||
sh """
|
||||
echo 'Check for duplicate shortcut keys in all translation files.'
|
||||
${env.CURA_ENVIRONMENT_PATH}/master/bin/python3 scripts/check_setting_visibility.py
|
||||
"""
|
||||
} catch(e) {
|
||||
currentBuild.result = "UNSTABLE"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user