I had the same problem...export PATH=$PATH: && mvn
clean test solved my problem
On Wednesday, April 29, 2015 at 12:55:21 AM UTC+5:30, Erick Macedo wrote:
>
> Hi,
>
> I'm using the plugin Publish over SSH to run a remote command maven on a
> linux machine with properly configured maven.
>
> Howe
If you expect your command to have these values set from .bashrc: .bashrc is
only loaded for interactive shells, which the Publish over SSH plugin likely is
not. Find another way to define these, or explicitly load (source) .bashrc.
'man bash', section 'invocation'
On 28.04.2015, at 23:16, Eric
An interactive process is when you as a person connect to it rather than an
system process (like Jenkins).
For instance one of the .bashrc files on one of my systems has this has its
first thing:
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
(There are
Hi Richard,
What would this interactive process,
could exemplify?
obrigaod
Em terça-feira, 28 de abril de 2015 16:25:21 UTC-3, Erick Macedo escreveu:
>
> Hi,
>
> I'm using the plugin Publish over SSH to run a remote command maven on a
> linux machine with properly configured maven.
>
> However
The plugin "SSH plugin" only allows you to run an SSH command on the server,
since the "Publish over SSH" lets you send data and execute any command.
Out of curiosity I auditioned with "SSH plugin" and it also returns mvn:
command not found, which leads me to understand that the problem is not i
This might be an ignorant question but why are you using the "Publish over
SSH" plugin instead of the "SSH plugin"?
https://wiki.jenkins-ci.org/display/JENKINS/SSH+plugin
On Tue, Apr 28, 2015 at 3:16 PM, Erick Macedo
wrote:
> Hi,
>
> The user I am connecting is the correct user, not root.
>
> Ar
Hi,
The user I am connecting is the correct user, not root.
Are you referring to .bashrc the right remote machine?
Is remote machine is a Ubuntu and the .bashrc is so.
# JAVA
export JAVA_HOME = / usr / lib / jvm / java-8-oracle
# MAVEN
export MAVEN_HOME = / usr / local / apache-maven-3.2.5
exp
To that effect, check your .bashrc as on Debian, for instance, one of the
first things it does it not run anything in .bashrc if not starting as an
interactive process.
Richard.
On Wed, 29 Apr 2015 at 08:41 Slide wrote:
> It works as the user that you are connecting as? Is there anything in the
It works as the user that you are connecting as? Is there anything in the
.bashrc that would set the path to mvn? Perhaps the Publish Over SSH
doesn't run in such a way that the .bashrc file is loaded? Check into these
things.
On Tue, Apr 28, 2015 at 1:19 PM Erick Macedo wrote:
> I can not under
I can not understand this behavior.
In Exec command: cd test / build-38 / project && ls && echo $ M2 && mvn -v
This command does the following:
1 - cd test / build-38 / project (in this directory on the remote server)
2 - ls (list the remote server content)
3 - echo $ M2 (Prints $ M2 LOCAL serve
Hi,
I'm using the plugin Publish over SSH to run a remote command maven on a
linux machine with properly configured maven.
However when running mvn command is generated an error "bash: mvn: command
not found".
The plugin is properly connecting the remote machine, as for testing in the
"Exec c
11 matches
Mail list logo