From 9e4ba60210480a6ed977b2e5e7b5cf656bdbdb3c Mon Sep 17 00:00:00 2001 From: Matt Knop Date: Fri, 22 Sep 2023 12:32:50 -0600 Subject: [PATCH] testing --- frontends/Jenkinsfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontends/Jenkinsfile b/frontends/Jenkinsfile index 92ddab57..208384a8 100644 --- a/frontends/Jenkinsfile +++ b/frontends/Jenkinsfile @@ -43,15 +43,15 @@ pipeline { docker buildx ls echo "" + # Extract builder names from the output, skipping the first line (header) + builders=$(docker buildx ls | awk 'NR>1 {print $1}') + # Loop over each builder's name - for builder in $(docker buildx ls -q); do - # Check if the builder is not the default one - if [[ $builder != *"(default)"* ]]; then - # Print out detailed information about this specific builder - echo "Inspecting builder: $builder" - docker buildx inspect "$builder" - echo "" - fi + for builder in $builders; do + # Print out detailed information about this specific builder + echo "Inspecting builder: $builder" + docker buildx inspect "$builder" + echo "" done '''