ci: add VERBOSITY parameter to Jenkinsfile (#4676)

It will default to `V=0` since it's the first choice in the list.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-02-27 17:00:27 +01:00 committed by GitHub
parent 144130e80e
commit 60394ba114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

7
ci/Jenkinsfile vendored
View File

@ -8,6 +8,11 @@ pipeline {
description: 'Label for targetted CI slave host: linux/macos',
defaultValue: params.AGENT_LABEL ?: getAgentLabel(),
)
choice(
name: 'VERBOSITY',
description: 'Value for the V make flag to increase log verbosity',
choices: [0, 1, 2]
)
}
options {
@ -37,7 +42,7 @@ pipeline {
environment {
NPROC = Runtime.getRuntime().availableProcessors()
MAKEFLAGS = "-j${env.NPROC}"
MAKEFLAGS = "V=${params.VERBOSITY} -j${env.NPROC}"
}
stages {