From 884c5dea6733f35f19dcfb13eee0e60ac1f8bcf5 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Thu, 20 Sep 2018 15:14:50 +0200 Subject: [PATCH] Add check_setting_visibility.py to Jenkinsfile --- Jenkinsfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 8837fdf487..4f755dcae2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" + } } }