mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Add shortcut key check script into Jenkinsfile
This commit is contained in:
parent
15f5e9ff01
commit
29ef964ba7
1 changed files with 13 additions and 0 deletions
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue