Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Input is not in the .gz format

rajeshkumar created the topic: node_tmp/node.tar.gz’: Input is not in the .gz format
Error

02:27:46 [INFO] — frontend-maven-plugin:0.0.20:install-node-and-npm (install node and npm) @ app-socialqa —
02:27:46 [INFO] Installing node version v0.10.30
02:27:46 [INFO] Creating temporary directory /home/jenkins/workspace/number-release/app-socialqa/node_tmp
02:27:46 [INFO] Downloading Node.js from nodejs.org/dist/v0.10.30/node-v0.10.30-linux-x64.tar.gz to /home/jenkins/workspace/number-release/app-socialqa/node_tmp/node.tar.gz
02:27:46 [INFO] No proxy was configured, downloading directly
02:27:47 [INFO] Extracting Node.js files in node_tmp
02:27:47 [INFO] Unpacking /home/jenkins/workspace/number-release/app-socialqa/node_tmp/node.tar.gz into /mnt/jenkins/workspace/number-release/app-socialqa/node_tmp
02:27:47 [JENKINS] Archiving disabled
02:27:47 [JENKINS] Archiving disabled[INFO]
02:27:47 [INFO] BUILD FAILURE
02:27:47 [INFO]

02:27:47 [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.20:install-node-and-npm (install node and npm) on project app-socialqa: Could not extract the Node archive: Could not extract archive: ‘/home/jenkins/workspace/number-release/app-socialqa/node_tmp/node.tar.gz’: Input is not in the .gz format -> [Help 1]
02:27:47 [ERROR]
02:27:47 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
02:27:47 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
02:27:47 [ERROR]
02:27:47 [ERROR] For more information about the errors and possible solutions, please read the following articles:
02:27:47 [ERROR] [Help 1] cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
02:27:47 channel stopped

Solution –

Check if nodejs.org/dist/v0.10.30/node-v0.10.30-linux-x64.tar.gz link is download right file using following commands.
1. Check the size of the file – du node-v0.10.30-linux-x64.tar.gz
2. Check the file type – file node-v0.10.30-linux-x64.tar.gz (it should not be html)
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x