diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2018-09-20 16:14:50 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2018-09-20 16:14:50 +0300 |
commit | 884c5dea6733f35f19dcfb13eee0e60ac1f8bcf5 (patch) | |
tree | f826f141c98c048d0f2edd9b31f28a3ef6c0aef4 /Jenkinsfile | |
parent | 72b3f9eb2a861ff6037a9ac82b5e3e2566f46909 (diff) |
Add check_setting_visibility.py to Jenkinsfile
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 11 |
1 files changed, 11 insertions, 0 deletions
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" + } } } |