mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 02:39:04 +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 {
|
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…
x
Reference in New Issue
Block a user