Skip to content

Commit

Permalink
Release script unzip overrite files (#1546)
Browse files Browse the repository at this point in the history
Master releases are failing because file already exists and unzip prompt user.
By adding `-o` we force overwrite.

See: https://jenkins.mesosphere.com/service/jenkins/blue/organizations/jenkins/public-dcos-cluster-ops%2Fmesosphere-dcos-cli%2Frelease/detail/master/9/pipeline#step-30-log-130
  • Loading branch information
janisz committed Jun 25, 2020
1 parent 6053ae0 commit 53f8851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/release.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pipeline {
make linux darwin windows"
'''
sh 'mkdir -p ${WORKSPACE}/usr/local/bin'
sh 'wget -O /tmp/gon.zip https://github.com/mitchellh/gon/releases/download/v\${GON_VER}/gon_\${GON_VER}_macos.zip && unzip /tmp/gon.zip -d ${WORKSPACE}/usr/local/bin'
sh 'wget -O /tmp/gon.zip https://github.com/mitchellh/gon/releases/download/v\${GON_VER}/gon_\${GON_VER}_macos.zip && unzip -o /tmp/gon.zip -d ${WORKSPACE}/usr/local/bin'
sh '''
export PATH=$PATH:${WORKSPACE}/usr/local/bin
export AC_USERNAME="${APPLE_DEVACC_USR}"
Expand Down

0 comments on commit 53f8851

Please sign in to comment.