-
Bug
-
Resolution: Fixed
-
Low
-
None
-
1
-
Severity 3 - Minor
-
24
-
Issue Summary
When downloading Atlassian Plugin SDK from the Atlassian package repository using the below URL, the download fails.
curl -vfsSL "https://packages.atlassian.com/mvn/maven-atlassian-all/com/atlassian/amps/atlassian-plugin-sdk/${ATLASSIAN_SDK_VER}/atlassian-plugin-sdk-${ATLASSIAN_SDK_VER}.tar.gz" -o atlassian-plugin-sdk.tar.gz
Steps to Reproduce
- Run the above curl command.
- it will throw the error instead of downloading the package.
Expected Results
Atlassian SDK should get downloaded.
Actual Results
The below exception is thrown:
* The requested URL returned error: 404 Not Found * Closing connection 0 * SSLv3, TLS alert, Client hello (1): } [data not shown] curl: (22) The requested URL returned error: 404 Not Found
Workaround
Switching the path from /mvn/maven-atlassian-all to /maven-public resolves the issue and the package is then getting downloaded.
Below is the updated command:
curl -vfsSL "https://packages.atlassian.com/maven-public/com/atlassian/amps/atlassian-plugin-sdk/${ATLASSIAN_SDK_VER}/atlassian-plugin-sdk-${ATLASSIAN_SDK_VER}.tar.gz" -o atlassian-plugin-sdk.tar.gz
Form Name |
---|
Hi dc4d791e20f5
Thank you for your efforts to reproduce the problem I have experienced. To make it clear the 404 response is coming only in case the request is started from the Bitbucket Pipeline. Any other client is working perfectly the same way as you documented.
Could you please recheck whether you are able to download e.g. the version 9.1.1 from the Bitbucket pipeline?
Best Regards,
István
p.s.: in the original ticket it was clearly stated that the the issue is occurring only in the Bitbucket pipeline, in this issue it is only implicitly readable from the "Component/s: Pipelines - Run Failures" settings.