Re: Cannot open TCP port for JNLP agents

2018-09-14 Thread marafado88
I am running the same Jenkins version but in CentOS. In Jenkins System Log I have lots of: [image: Screenshot_5.jpg] But there is no register of any attempt of connection from the remote agent in that windows. quinta-feira, 13 de Setembro de 2018 às 21:21:55 UTC+1, James Fairweather escreveu:

Re: Cannot open TCP port for JNLP agents

2018-09-14 Thread marafado88
I am running the same version of Jenkins but in CentOS. There is no registe in Jenkins logs of any received connection from the remote agent. Did you had to add that port for JNLP agents in windows server firewall in you case? quinta-feira, 13 de Setembro de 2018 às 21:21:55 UTC+1, James Fairw

Re: Cannot open TCP port for JNLP agents

2018-09-14 Thread marafado88
Regarding this issue I was not understanding the tcp6 who means IPv6 for SSH, jenkins web config and the JNLP Master, but after reading about dual mode IPv6 sockets, I notice that those handle IPv4 connections using IPv4-Mapped IPv6 Addresses . And t

Re: How can I find the plugin name to use with install-plugins.sh?

2018-09-14 Thread Richard Bywater
Note that you can also find the ID of a plugin on the plugins.jenkins.io page for that plugin (e.g. https://plugins.jenkins.io/docker-workflow) - its ID is shown just below the plugin name header. Richard. On Fri, Sep 14, 2018 at 12:00 AM Thomas Sundberg wrote: > Hi! > > This is partly answerin

Slave / master terms

2018-09-14 Thread Thiago Carvalho D Avila
Hi, Master/slave concept has been on Jenkins since the start, despite the cultural reinforcement of slavery-related terms. Maybe a JEP could follow the trend to more harmonious terms: [ https://www.breitbart.com/tech/2018/09/12/programming-language-python-to-change-master-and-slave-terminol

Re: Cannot open TCP port for JNLP agents

2018-09-14 Thread marafado88
Changing port number for JNLP agents in jenkins webservice, also changes changes the port in jenkins OS firewall, but still no success. Sniffing that new port shows a closed port. I have used 58090 port. sexta-feira, 14 de Setembro de 2018 às 10:26:02 UTC+1, marafado88 escreveu: > > I am running

Log contains escape sequence characters

2018-09-14 Thread David Aldrich
My declarative script job is failing. I understand the reason for the failure but I'm getting an unhelpful message in the log: [31mERROR: Errors occurred during the build. [0m How can I capture the real error message without these escape sequences? -- You received this message because you ar

RE: Slave / master terms

2018-09-14 Thread matthew.web...@diamond.ac.uk
> Master/slave concept has been on Jenkins since the start, despite the > cultural reinforcement of slavery-related terms.  > Maybe a JEP could follow the trend to more harmonious terms: In Jenkins 2, slaves (also sometimes known as nodes), were renamed to agents. -- This e-mail and any attac

Re: How can I find the plugin name to use with install-plugins.sh?

2018-09-14 Thread Jan Monterrubio
If I recall correctly, install plugins can handle a pipe delimited list of plugin names and versions. Or maybe I’m confusing that script with a different one. On Fri, Sep 14, 2018 at 05:04 Richard Bywater wrote: > Note that you can also find the ID of a plugin on the plugins.jenkins.io > page fo

Re: Start multi-branch indexing from SCM notification

2018-09-14 Thread Jan Monterrubio
There’s a scan button on the UI, so maybe we can track down what endpoint that’s hitting and call that instead of notifyCommit? Would that do the trick? On Thu, Sep 6, 2018 at 20:42 Daniel Becroft wrote: > Hi, > > I have a multi-branch pipeline setup to initiate a branch indexing every X > minut

Re: Cannot open TCP port for JNLP agents

2018-09-14 Thread marafado88
I have updated jenkins to 2.138.1 and seems like they have changed the behaviour of jenkins agent to be deployed, now I have a more conclusive error message, but without resolving the problem: [image: Screenshot_6.jpg] sexta-feira, 14 de Setembro de 2018 às 13:09:24 UTC+1, marafado88 escreveu:

Re: Cannot open TCP port for JNLP agents

2018-09-14 Thread marafado88
After search about CentOS firewall, I have discovered that there is a firewall-cmd, and through that I was able to add port 8090 and now its communicating. Since I dont have a lot of knowledge about it I will leave here how to accomplish that: https://stackoverflow.com/questions/24729024/open-

Jenkins Pipeline code to run remote shell scripts

2018-09-14 Thread Arianrhod
Hi, I have to run two shell scripts on a remote server as part of a pipeline job (scripted, not via the GUI). They're both run on the same remote server, but one has to run when the first finishes, and they run as different users. There is a 'jenkins' user account that has creds in the Jenki

Jenkins Testing failed after migrating to 2.121 LTS

2018-09-14 Thread Pranav Kv
Hi I am getting error in a maven build. There is test fail after migrating jenkins to new server.. But no issues in the old jenkins instance Error Validation not trigger.. Expected(abcd.xml) but found() Java assertion COULD any please help me to resolve? Regards Pranav -- You received this m

Stacktrace error while saving configuration on Jenkins

2018-09-14 Thread BCT Roel de Wildt
Hello, When I'm saving the Jenkins configuration on a Multibranch Pipeline I get a stacktrace error after the update to Jenkins 2.138.1. Is this a known issue? And is there a workaround of this problem? java.lang.ClassCastException: org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranc

How can one get the last job ran in a pipeline script?

2018-09-14 Thread pisymbol
I need to figure out when was the last job ran in the active pipeline running, i.e. the current job. Putting it another way, I want to programmatically in the current job find out WHEN the LAST job was ran and what was its build RESULT (success or fail). Is there a way to do this? -aps --

FW: Stacktrace error while saving configuration on Jenkins

2018-09-14 Thread BCT Roel de Wildt
Hello, After trying some options I have found out that if "Build on NuGet updates" is checked the error occurs even if I rollback to 2.121.3. Kind regards, Roel de Wildt Software Engineer -Oorspronkelijk bericht- Van: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups

Re: How can one get the last job ran in a pipeline script?

2018-09-14 Thread pisymbol
On Fri, Sep 14, 2018 at 2:49 PM pisymbol wrote: > I need to figure out when was the last job ran in the active pipeline > running, i.e. the current job. > > Putting it another way, I want to programmatically in the current job find > out WHEN the LAST job was ran and what was its build RESULT (s