Skip to content

Commit

Permalink
Merge pull request #12041 from izaac/jenkins_debug
Browse files Browse the repository at this point in the history
[UI] - Adding logic to enable init.sh execution on Alpine Linux
  • Loading branch information
izaac authored Sep 26, 2024
2 parents 357ae05 + 01f0808 commit 6a16cc3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cypress/jenkins/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
set -x
set -e

if cat /etc/os-release | grep -iq "Alpine Linux"; then
apk update && apk add --no-cache gcompat g++ make
fi

OS="$(uname -s)"
case "${OS}" in
Linux*) MACHINE=amd64;;
Expand Down Expand Up @@ -55,8 +59,11 @@ mv semver "${WORKSPACE}/bin"

ls -al "${WORKSPACE}"
export PATH=$PATH:"${WORKSPACE}/go/bin:${WORKSPACE}/bin"
export GOROOT="${WORKSPACE}/go"
echo "${PATH}"


ls -al "${WORKSPACE}/go"
go version


Expand Down

0 comments on commit 6a16cc3

Please sign in to comment.