Add check_setting_visibility.py to Jenkinsfile

This commit is contained in:
Lipu Fei 2018-09-20 15:14:50 +02:00
parent 72b3f9eb2a
commit 884c5dea67

11
Jenkinsfile vendored
View File

@ -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"
}
}
}