Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLipu Fei <lipu.fei815@gmail.com>2018-09-20 16:14:50 +0300
committerLipu Fei <lipu.fei815@gmail.com>2018-09-20 16:14:50 +0300
commit884c5dea6733f35f19dcfb13eee0e60ac1f8bcf5 (patch)
treef826f141c98c048d0f2edd9b31f28a3ef6c0aef4 /Jenkinsfile
parent72b3f9eb2a861ff6037a9ac82b5e3e2566f46909 (diff)
Add check_setting_visibility.py to Jenkinsfile
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile11
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"
+ }
}
}