mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 16:20:14 +01:00
contrib/rh-bkr: support special ARCH "<random>" in jenkins script
This commit is contained in:
parent
4b6f93bf8a
commit
91762c38b1
1 changed files with 5 additions and 0 deletions
|
|
@ -56,6 +56,11 @@ else
|
|||
GIT_TARGETBRANCH=()
|
||||
fi
|
||||
|
||||
if [ "$ARCH" == "<random>" ]; then
|
||||
ARCH=(x86_64 ppc64 ppc64le s390x aarch64)
|
||||
ARCH=${ARCH[$(($RANDOM % ${#ARCH[@]}))]}
|
||||
fi
|
||||
|
||||
export WHITEBOARD="$BUILD_URL"
|
||||
|
||||
python -u \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue