Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jx-linux-amd64.tar.gz - not in gzip format #3699

Open
SabirAliyev opened this issue Mar 15, 2023 · 0 comments
Open

jx-linux-amd64.tar.gz - not in gzip format #3699

SabirAliyev opened this issue Mar 15, 2023 · 0 comments

Comments

@SabirAliyev
Copy link

SabirAliyev commented Mar 15, 2023

This is an issue about documentation on:
https://jenkins-x.io/docs/install-setup/install-binary/

I'm trying to install jenkins-x on Linux Ubuntu. But when i try to download it and unzip by your given command

curl -L "https://github.com/jenkins-x/jx/releases/download/$(curl --silent "https://github.com/jenkins-x/jx/releases/latest" | sed 's#.*tag/\(.*\)\".*#\1#')/jx-linux-amd64.tar.gz" | tar xzv "jx"

I get an error:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

When I try to check the file format:

file jx-linux-amd64.tar.gz
jx-linux-amd64.tar.gz: ASCII text, with no line terminators

When I try to extract the archive without '-z' parameter:

tar -xvf jx-linux-amd64.tar.gz
tar: This does not look like a tar archive

So, how do people install it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant