mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 03:11:03 -07:00
Add check_setting_visibility.py to Jenkinsfile
This commit is contained in:
parent
72b3f9eb2a
commit
884c5dea67
1 changed files with 11 additions and 0 deletions
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
|
|
@ -14,6 +14,7 @@ parallel_nodes(['linux && cura', 'windows && cura']) {
|
||||||
catchError {
|
catchError {
|
||||||
stage('Pre Checks') {
|
stage('Pre Checks') {
|
||||||
if (isUnix()) {
|
if (isUnix()) {
|
||||||
|
// Check shortcut keys
|
||||||
try {
|
try {
|
||||||
sh """
|
sh """
|
||||||
echo 'Check for duplicate shortcut keys in all translation files.'
|
echo 'Check for duplicate shortcut keys in all translation files.'
|
||||||
|
|
@ -22,6 +23,16 @@ parallel_nodes(['linux && cura', 'windows && cura']) {
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
currentBuild.result = "UNSTABLE"
|
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…
Add table
Add a link
Reference in a new issue