Answer the question
In order to leave comments, you need to log in
How to make wget download from a pipeline?
I started to study pipelines and came across that wget does not want to accept a link from the pipeline.
curl -s 'https://api.adoptopenjdk.net/v2/latestAssets/releases/openjdk11?openjdk_impl=hotspot&os=linux&arch=x64&release=latest&heap_size=normal&type=jdk' | jq -r '.[0].checksum_link' | wget
Answer the question
In order to leave comments, you need to log in
wget $(curl -s 'https://api.adoptopenjdk.net/v2/latestAssets/releases/openjdk11?openjdk_impl=hotspot&os=linux&arch=x64&release=latest&heap_size=normal&type=jdk' | jq -r '.[0].checksum_link')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question