Issue while downloading artifacts inside a downstream project


I am using the following script in downstream project to download artifacts created from last successful upstream project. But while unzip receive following error.

Script used below:

$ curl --location --output --header “JOB-TOKEN: $CI_JOB_TOKEN” “”

$ unzip


**62 end-of-central-directory signature not found. Either this file is not

63 a zipfile, or it constitutes one disk of a multi-part archive. In the

64 latter case the central directory and zipfile comment will be found on

65 the last disk(s) of this archive.

66unzip: cannot find zipfile directory in one of or

67, and cannot find, period.