mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-03 12:23:50 +00:00
save diawi link in the build description for easy access
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
8c6bd0dc69
commit
ba8e49b649
@ -69,6 +69,8 @@ def uploadToDiawi() {
|
||||
)
|
||||
}
|
||||
diawiUrl = readFile "${env.WORKSPACE}/fastlane/diawi.out"
|
||||
/* Save the URL in the build description */
|
||||
currentBuild.description = "<a href=\"${diawiUrl}\">Diawi Link</a>"
|
||||
return diawiUrl
|
||||
}
|
||||
|
||||
|
@ -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()
|
||||
""")
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user