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-05 17:31:08 +0300
committerJaime van Kessel <nallath@gmail.com>2018-09-06 17:06:45 +0300
commit29ef964ba7ec4f0aeb7869ec59ec94c1ed26bd83 (patch)
treef05754afe293d1bc4728a94d2addda1eceedfe2a /Jenkinsfile
parent15f5e9ff017b98d44986d5cefc1cebe04e840a3b (diff)
Add shortcut key check script into Jenkinsfile
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index de62b7ed5a..8837fdf487 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -12,6 +12,19 @@ parallel_nodes(['linux && cura', 'windows && cura']) {
// If any error occurs during building, we want to catch it and continue with the "finale" stage.
catchError {
+ stage('Pre Checks') {
+ if (isUnix()) {
+ try {
+ sh """
+ echo 'Check for duplicate shortcut keys in all translation files.'
+ ${env.CURA_ENVIRONMENT_PATH}/master/bin/python3 scripts/check_shortcut_keys.py
+ """
+ } catch(e) {
+ currentBuild.result = "UNSTABLE"
+ }
+ }
+ }
+
// Building and testing should happen in a subdirectory.
dir('build') {
// Perform the "build". Since Uranium is Python code, this basically only ensures CMake is setup.