Skip to content

Instantly share code, notes, and snippets.

View noman404's full-sized avatar
💭
I may be slow to respond.

Al Noman noman404

💭
I may be slow to respond.
View GitHub Profile
@noman404
noman404 / Bash CURL file upload with param - A Jenkins build step
Last active May 7, 2020 10:51
Shell script to upload file using CURL, can be used as 'Jenkins Build Step'. Supports only MULTIPART FORM-DATA POST request with additional params
#./sh or sh >> upload-archive.sh FILE_PATH APP_ID VERSION_NAME BUILD_NUMBER BUILD_TYPE URL API_KEY
#!/bin/bash
#The Url form cli argument no 6
URL=$6
#Register and obtain an Api Key form appstore, passed from cli argument no 7