Question about JDK and Maven through Jenkins

2018-02-14 Thread Fábio Cabrita
Hello, Its my first time using jenkins and I am still learning how it works, so if you see some unnecessary info dont be mad lol. I am using a CentOS 7, and I have installed JAVA(openjdk version "1.8.0_161") and MAVEN(Apache Maven 3.5.2). Now, I have imported the repo from this tutorial(

Re: Question about JDK and Maven through Jenkins

2018-02-19 Thread Fábio Cabrita
credentials >- Update your pipeline script and add "jdk: '1.8' "to your >"withMaven"() step: "withMaven(jdk: 1.8', ...){...}" > > Cyrille > > On Monday, February 19, 2018 at 11:29:09 AM UTC+1, Fábio Cabrita wrote: >> >> Here are both c

Re: Question about JDK and Maven through Jenkins

2018-02-19 Thread Fábio Cabrita
Here are both command paths: root@jenkins-server /h/jenkins> which java /bin/java root@jenkins-server /h/jenkins> which javac /bin/javac While checking mvn, I notice that Java home is set to JRE instead of JDK: [jenkins@jenkins-server ~]$ mvn --version Apache Maven 3.5.2

Re: Question about JDK and Maven through Jenkins

2018-02-16 Thread Fábio Cabrita
14 de Fevereiro de 2018 às 18:42:01 UTC, Fábio Cabrita escreveu: > > Hello, > > Its my first time using jenkins and I am still learning how it works, so > if you see some unnecessary info dont be mad lol. > > I am using a CentOS 7, and I have installed JAVA(openjdk vers

Directory does not exist while compilling just through Jenkins

2018-03-12 Thread Fábio Cabrita
Hello, I am trying to compile one repo with a jenkinsfile from a remote git, when a change is detected, but while it tries to compile I receive this error: :: error: (1180) directory "dist/default/production" does not exist And I really dont know why, since I am able to compile manually in

Re: Directory does not exist while compilling just through Jenkins

2018-03-13 Thread Fábio Cabrita
This is the pipeline configuration that is being used: <https://lh3.googleusercontent.com/-1x5-pcHGmbM/WqeoLhEfFfI/u9Y/BadgNQNNCrMq4lYL1iwaTB-tbpKjYtxgQCLcBGAs/s1600/Screenshot_10.png> segunda-feira, 12 de Março de 2018 às 14:35:33 UTC, Fábio Cabrita escreveu: > > Hel

Re: Directory does not exist while compilling just through Jenkins

2018-03-13 Thread Fábio Cabrita
segunda-feira, 12 de Março de 2018 às 14:35:33 UTC, Fábio Cabrita escreveu: > > Hello, > > I am trying to compile one repo with a jenkinsfile from a remote git, when > a change is detected, but while it tries to compile I receive this error: > > :: error: (1180) di

Cannot open TCP port for JNLP agents

2018-09-13 Thread Fábio Cabrita
Hello, I am trying to connect one windows agent with a jenkins server, where both are in the same network, and that windows is at reach of jenkins server, but still I am getting this error: [image: Screenshot_3.jpg] This windows can ping to jenkins.XXX.local without problem, but seems like