Skip to content

Commit

Permalink
ci: use s5cmd for uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Jan 28, 2025
1 parent d775ddb commit 6227691
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ci/Jenkinsfile.combined
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pipeline {
/* Generate sha256 checksums for all artifacts. */
sha = "./${utils.pkgFilename(ext: 'sha256')}"
sh "sha256sum * | tee ./${sha}"
urls['SHA'] = s3.uploadArtifact(sha)
urls['SHA'] = s5cmd.upload(sha)
jenkins.setBuildDesc(urls)
}
archiveArtifacts('pkg/*')
Expand Down
2 changes: 1 addition & 1 deletion ci/Jenkinsfile.linux-nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pipeline {
parallel {
stage('Upload') {
steps { script {
env.PKG_URL = s3.uploadArtifact(env.STATUS_CLIENT_TARBALL)
env.PKG_URL = s5cmd.upload(env.STATUS_CLIENT_TARBALL)
jenkins.setBuildDesc(AppImage: env.PKG_URL)
} }
}
Expand Down
2 changes: 1 addition & 1 deletion ci/Jenkinsfile.macos
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pipeline {
parallel {
stage('Upload') {
steps { script {
env.PKG_URL = s3.uploadArtifact(env.STATUS_CLIENT_DMG)
env.PKG_URL = s5cmd.upload(env.STATUS_CLIENT_DMG)
jenkins.setBuildDesc(Dmg: env.PKG_URL)
} }
}
Expand Down
4 changes: 2 additions & 2 deletions ci/Jenkinsfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ pipeline {
parallel {
stage('Upload 7Z') {
steps { script {
zip_url = s3.uploadArtifact(env.STATUS_CLIENT_7Z)
zip_url = s5cmd.upload(env.STATUS_CLIENT_7Z)
} }
}
stage('Upload EXE') {
steps { script {
exe_url = s3.uploadArtifact(env.STATUS_CLIENT_EXE)
exe_url = s5cmd.upload(env.STATUS_CLIENT_EXE)
} }
}
}
Expand Down
2 changes: 1 addition & 1 deletion ci/cpp/Jenkinsfile.macos
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pipeline {
parallel {
stage('Upload') {
steps { script {
env.PKG_URL = s3.uploadArtifact(env.STATUS_CLIENT_DMG)
env.PKG_URL = s5cmd.upload(env.STATUS_CLIENT_DMG)
jenkins.setBuildDesc(Dmg: env.PKG_URL)
} }
}
Expand Down
2 changes: 1 addition & 1 deletion ci/cpp/Jenkinsfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pipeline {
parallel {
stage('Upload') {
steps { script {
exe_url = s3.uploadArtifact(env.STATUS_CLIENT_ZIP)
exe_url = s5cmd.upload(env.STATUS_CLIENT_ZIP)
env.PKG_URL = exe_url
jenkins.setBuildDesc(Zip: zip_url, Exe: exe_url)
} }
Expand Down

0 comments on commit 6227691

Please sign in to comment.