We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b04d9e + 7e9250a commit a116b91Copy full SHA for a116b91
Jenkinsfile.build
@@ -123,16 +123,14 @@ node('multiarch-' + env.BASHBREW_ARCH) { ansiColor('xterm') {
123
124
def buildEnvs = []
125
stage('Prep') {
126
- if (obj.commands.build.contains(' buildx ')) {
127
- def json = sh(returnStdout: true, script: '''#!/usr/bin/env bash
128
- set -Eeuo pipefail -x
129
-
130
- .doi/.bin/bashbrew-buildkit-env-setup.sh \\
131
- | jq 'to_entries | map(.key + "=" + .value)'
132
- ''').trim()
133
- if (json) {
134
- buildEnvs += readJSON(text: json)
135
- }
+ def json = sh(returnStdout: true, script: '''#!/usr/bin/env bash
+ set -Eeuo pipefail -x
+
+ .doi/.bin/bashbrew-buildkit-env-setup.sh \\
+ | jq 'to_entries | map(.key + "=" + .value)'
+ ''').trim()
+ if (json) {
+ buildEnvs += readJSON(text: json)
136
}
137
138
0 commit comments