diff --git a/ci/ios.groovy b/ci/ios.groovy index 6ea408244a..69efc7b557 100644 --- a/ci/ios.groovy +++ b/ci/ios.groovy @@ -69,6 +69,8 @@ def uploadToDiawi() { ) } diawiUrl = readFile "${env.WORKSPACE}/fastlane/diawi.out" + /* Save the URL in the build description */ + currentBuild.description = "Diawi Link" return diawiUrl } diff --git a/ci/nix.groovy b/ci/nix.groovy index ed9df98055..39fa361314 100644 --- a/ci/nix.groovy +++ b/ci/nix.groovy @@ -18,17 +18,13 @@ def shell(Map opts = [:], String cmd) { if (env.TARGET_OS in ['windows', 'ios']) { opts.pure = false } - def stdOut = sh( - script: """ + sh(""" set +x . ~/.nix-profile/etc/profile.d/nix.sh set -x IN_CI_ENVIRONMENT=1 \\ nix-shell --run \'${cmd}\' ${_getNixCommandArgs(opts, true)} - """, - returnStdout: true - ) - return stdOut.trim() + """) } /**