Re: K8s jenkins dynamic agent fails & shows - tcpSlaveAgentListener error

2020-08-27 Thread Mk
Further tried by adding below entries in */etc/hosts* file on both *Jenkins/K8s Master* and* K8s-Worker* node system as well. But still result is same. # cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain local

K8s jenkins dynamic agent fails & shows - tcpSlaveAgentListener error

2020-08-27 Thread Mk
Dear Team, I have *Jenkins Master* &* K8s-Master* running on same server(*CentOS-8*), Configured Jenkins *Kubernetes Plugin version - 1.26.4* But while running pipeline job i always getting an error, Below is K8s cluster jenkins agent pod log. [root@K8s-Master /]# kubectl logs -f pipeline-test

Re: Jenkins Integration with LDAP - Testing Connection Fails

2020-08-27 Thread Mk
Dear Team, Now our LDAP Authentication working fine. I have question regarding "*Display Name LDAP attribute*: *displayname*" i have configured like this and for all logged in users, The display name shown as like below which is too lengthy/long. First-Name/Sur-Name/Team-Name/Location/Title/Co

Re: Windows slave by ssh

2020-08-27 Thread Ivan Fernandez Calvo
I hate this class src/main/java/hudson/plugins/sshslaves/JavaVersionChecker.java I though to remove it and force configuring the Java path in the plugin or have Java in the PATH, it is a requirement to run the remoting process. The PR from Alex is a valid workaround meanwhile I think how to rem

Re: ExcludedRegions for SVN not working in Pipeline

2020-08-27 Thread Ven H
No one else faced this issue before? Unfortunately, there is no good documentation or blogs or forums for this. Regards, Venkatesh On Tue, Aug 25, 2020 at 8:54 PM Ven H wrote: > Here is some update. I was able to solve this *partially*. I hope it will > help someone in a similar situation. In

Re: WebSocket Agents and Archiving Artifacts Performance

2020-08-27 Thread jn...@cloudbees.com
Hi Tim, it is reasonable to assume that the performance may *change*. Basically, a lot of this has to do with the chattyness of the channel, the latency, and buffer sizes setup etc etc.. It may well be that the websocket channels are better sized by default in the regard (it could also be the

Re: Windows slave by ssh

2020-08-27 Thread jn...@cloudbees.com
could this be https://issues.jenkins-ci.org/browse/JENKINS-47510 ? On Thursday, August 27, 2020 at 3:55:08 PM UTC+1 slide wrote: > Feel free to open your own PR then. I took the time to try and fix an > immediate issue in the short amount of time I had to look at it. This > should fix for the m

Re: Piple line for multiple projects sharing the same SVN repository

2020-08-27 Thread Anton Shepelev
jeremy mordkoff: > otherwisethere is actually nothing that says the build > has to use the workspace checked out by jenkins. Well, I can't seem to set up an external directory in the `checkout' step. The option `local' (named "Local module directory") is required to point to a subdirectory of

Re: .NET 4.8.x and win 2016 Failure to install slave as service -> Possible Bug?

2020-08-27 Thread Dan zaWhite
@Christoph: I installed the framework, as i normally do @Mark: I will upgrade jenkins this weekend and I will see if i encounter any issues. Until then i will quickly spin up another win 20016 and install .NET 4.6 and see if that works (the same as existing windows slaves) On Thu, Aug 27, 2020 at

Re: Windows slave by ssh

2020-08-27 Thread Slide
Feel free to open your own PR then. I took the time to try and fix an immediate issue in the short amount of time I had to look at it. This should fix for the majority of people I believe, there will definitely be corner cases that can be addressed in the future. On Thu, Aug 27, 2020 at 7:20 AM Jé

Re: .NET 4.8.x and win 2016 Failure to install slave as service -> Possible Bug?

2020-08-27 Thread Mark Waite
Refer to https://issues.jenkins-ci.org/browse/JENKINS-63223 where it suggests that you may need to edit a configuration file in the agent directory to remove the line that refers to Microsoft.NET 2.x. If that is the issue in your case, it would be great to have a comment on that issue that says y

Re: .NET 4.8.x and win 2016 Failure to install slave as service -> Possible Bug?

2020-08-27 Thread 'christop...@googlemail.com' via Jenkins Users
Maybe Framework != SDK Have a look: https://www.microsoft.com/de-de/download/details.aspx?id=6523 Regards, Christoph dana...@gmail.com schrieb am Donnerstag, 27. August 2020 um 16:21:56 UTC+2: > Hi All, > > Here is a fuzzy bug (maybe) for ya. > > - Just installed a fresh Win 2016 Server. > - Ins

.NET 4.8.x and win 2016 Failure to install slave as service -> Possible Bug?

2020-08-27 Thread dana...@gmail.com
Hi All, Here is a fuzzy bug (maybe) for ya. - Just installed a fresh Win 2016 Server. - Installed java latest - Set up a new jenkins slave in my Jenkins Master - I get this error when trying to install as a service: ".NET Framework 2.0 or later is required for this feature" - I go and install lat

RE: Windows slave by ssh

2020-08-27 Thread Jérôme Godbout
Why only escape the command when it contains space, you could always do it, so other characters would also be properly escaped, the if is useless. if(javaCommand.contains(" ")) { javaCommand = "\"" + javaCommand + "\""; } From: jenkinsci-users@googlegroups.com On Behalf Of

Re: Windows slave by ssh

2020-08-27 Thread Slide
I opened this PR against the ssh-agents-plugin https://github.com/jenkinsci/ssh-slaves-plugin/pull/183 On Thu, Aug 27, 2020 at 6:22 AM Jérôme Godbout wrote: > This is exactly what I’m using now, not more need for Cygwin for ssh > (about time Microsoft 😉). Remove any space from the JAVA_HOME path

RE: Windows slave by ssh

2020-08-27 Thread Jérôme Godbout
This is exactly what I’m using now, not more need for Cygwin for ssh (about time Microsoft 😉). Remove any space from the JAVA_HOME path solve the issue, but the default install path for Java is inside the Program Files folders, so by default it has a space. Not supporting spaces (and probably ot

Big artifact management

2020-08-27 Thread Emanuele Russo
Hello, As stated here default 'archiveartifact' command is not efficient for large files. We used to store our builds that way ( > 6 GB ) but since we started using nodes instead of building on the master, the archiving became the bottleneck.