jfrog / jfrog-cli

JFrog CLI is a client that provides a simple interface that automates access to the JFrog products.
https://www.jfrog.com/confluence/display/CLI/JFrog+CLI
Apache License 2.0
525 stars 223 forks source link

$HOME is not defined on FrogBot #2267

Open vinodhini-devops opened 10 months ago

vinodhini-devops commented 10 months ago

Describe the bug

Im using Frogbot, When i run the bot on Maven project, i get the below eeror:

failed while building 'maven' dependency tree: $HOME is not defined

Note: I have maven available on my server.

Current behavior

Im using Frogbot, When i run the bot on Maven project, i get the below eeror:

failed while building 'maven' dependency tree: $HOME is not defined

Note: I have maven available on my server.

Reproduction steps

No response

Expected behavior

Frogbot should run without any issues with $HOME.

JFrog CLI version

-

Operating system type and version

ubuntu 18.04

JFrog Artifactory version

No response

JFrog Xray version

No response

vinodhini-devops commented 10 months ago

Any Comments on my Issue, Its kind of Blocking

vinodhini-devops commented 10 months ago

My workaround is adding the below code before running forgbot export HOME="/usr/share/maven" export M2="$HOME/bin" export MAVEN_OPTS="-Xms256m -Xmx512m" export PATH="$M2:$PATH"