mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-25 04:35:31 +00:00
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:
parent
144130e80e
commit
60394ba114
7
ci/Jenkinsfile
vendored
7
ci/Jenkinsfile
vendored
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user