Last active
September 13, 2017 19:06
-
-
Save AndreKR/79f0c11783ebf38642653fccc28cd35e to your computer and use it in GitHub Desktop.
Download the latest artifacts from GitLab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ZIP: | |
wget --header="PRIVATE-TOKEN: $GITLAB_TOKEN" "https://<gitlab>/<group>/<project>/builds/artifacts/master/download?job=<jobname>" | |
or | |
wget --header="PRIVATE-TOKEN: $GITLAB_TOKEN" "https://<gitlab>/<group>/<project>/-/jobs/artifacts/master/download?job=<jobname>" | |
# Single file: | |
wget -O /path/to/file --header="PRIVATE-TOKEN: $GITLAB_TOKEN" "https://<gitlab>/<group>/<project>/builds/artifacts/master/raw/<filename>?job=<jobname>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment