mirror of
https://github.com/status-im/status-react.git
synced 2025-02-26 09:35:36 +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"
|
diawiUrl = readFile "${env.WORKSPACE}/fastlane/diawi.out"
|
||||||
|
/* Save the URL in the build description */
|
||||||
|
currentBuild.description = "<a href=\"${diawiUrl}\">Diawi Link</a>"
|
||||||
return diawiUrl
|
return diawiUrl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,17 +18,13 @@ def shell(Map opts = [:], String cmd) {
|
|||||||
if (env.TARGET_OS in ['windows', 'ios']) {
|
if (env.TARGET_OS in ['windows', 'ios']) {
|
||||||
opts.pure = false
|
opts.pure = false
|
||||||
}
|
}
|
||||||
def stdOut = sh(
|
sh("""
|
||||||
script: """
|
|
||||||
set +x
|
set +x
|
||||||
. ~/.nix-profile/etc/profile.d/nix.sh
|
. ~/.nix-profile/etc/profile.d/nix.sh
|
||||||
set -x
|
set -x
|
||||||
IN_CI_ENVIRONMENT=1 \\
|
IN_CI_ENVIRONMENT=1 \\
|
||||||
nix-shell --run \'${cmd}\' ${_getNixCommandArgs(opts, true)}
|
nix-shell --run \'${cmd}\' ${_getNixCommandArgs(opts, true)}
|
||||||
""",
|
""")
|
||||||
returnStdout: true
|
|
||||||
)
|
|
||||||
return stdOut.trim()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user