Re: Can pipelines and stages be nested in a dependency graph? Or is there a better alternative.

2021-02-12 Thread 'Martin Schmude' via Jenkins Users
No, pipeline scripts cannot be nested. Anil schrieb am Donnerstag, 11. Februar 2021 um 16:58:20 UTC+1: > I have a number of tasks and some are dependent on others for completion. > If task A is dependent on tasks B and C completing, then B and C will be > child tasks of A. > It is also

Re: Issue with master-agent communication over ssh

2021-02-12 Thread Jigar Rathod
Sent from my iPhone > On Feb 12, 2021, at 1:09 PM, Iván Fernández Calvo > wrote: > > Looks like an abrupt disconnect, this point to the resources you give to the > remote process and the resources you have in the agent. The resource > management on a JVM is tricky, the JDK gives a 75% of

Re: Issue with master-agent communication over ssh

2021-02-12 Thread Iván Fernández Calvo
Looks like an abrupt disconnect, this point to the resources you give to the remote process and the resources you have in the agent. The resource management on a JVM is tricky, the JDK gives a 75% of the memory resources if you do not pass Xmx and Xms settings. So I wonder how much memory you

Re: Issue with master-agent communication over ssh

2021-02-12 Thread Jigar R
On Wednesday, February 10, 2021 at 9:30:28 AM UTC-5 kuisat...@gmail.com wrote: > you attached the Jenkins build log and the Agent log, should be also an > exception in the Jenkins log, Is the same you posted before `invalid type > code: 6D`? > > This is all I see in jenkins.err log

Re: Exclude Paths from Triggering Builds

2021-02-12 Thread Jeremy Mordkoff
Also interested in the answer. At the moment we scan the change log from the scm object and abort the pipeline (cleanly) if there is nothing of interest to that pipeline to build. I do not like this solution for multiple reasons. Our plan is to split our code into 3 repos .. one for each app

Re: Jenkins Upgrade 2.235.1 to 2.263.3 All Nodes Can't Connect

2021-02-12 Thread 'Minimos' via Jenkins Users
Thanks I'll take a look at the information. I am using .Net 4.5 so should not be an issue, but there is an interesting point re JNLP. I'll go through the document and double check everything. In the meantime do others have any other pointers? On Friday, 12 February 2021 at 14:55:58 UTC Mark

Re: Jenkins Upgrade 2.235.1 to 2.263.3 All Nodes Can't Connect

2021-02-12 Thread Mark Waite
The Jenkins 2.249.1 upgrade guide notes that Microsot.NET 2.0 support has been removed. See https://www.jenkins.io/doc/upgrade-guide/2.249/#upgrading-to-jenkins-lts-2-249-1 in case that affects your installation. On Fri, Feb 12, 2021 at 7:49 AM 'Minimos' via Jenkins Users <

Unable to link to Jenkins to confluence

2021-02-12 Thread Portret Mallick
What will be the username and of Confluence Sites? While trying to insert username and password and checking Login, it is showing error. Failed to logincom.atlassian.confluence.api.service.exceptions.NotFoundException at

Jenkins Upgrade 2.235.1 to 2.263.3 All Nodes Can't Connect

2021-02-12 Thread 'Minimos' via Jenkins Users
Hi, We recently updated Jenkins as per the subject line on our Windows boxes All plugins were updated at the same time, however we can no longer get our nods to communicate with the master. A Java Io exception of Connection time Out is displayed. There have been no changes to our firewall or

Exclude Paths from Triggering Builds

2021-02-12 Thread Ven H
I have a repository in GitHub. This repository has a Jenkinsfile at the root which is the app project. There are 2 more folders / directories, one for Config project and one for Database project. Each has a jenkins file inside it. We have 3 Multibranch Jenkins Pipelines, since there are 3

Re: Set-Variable : Cannot process command because of one or more missing mandatory parameters: Name.

2021-02-12 Thread Amedee Van Gasse
I just noticed that there is still an error: Set-Variable: Cannot process command because of one or more missing mandatory parameters: Name. That is because in *Bash* (Linux) and *MS-DOS* (Windows), you can just type set to get a list of all environment variables. However, in *PowerShell*

Re: Set-Variable : Cannot process command because of one or more missing mandatory parameters: Name.

2021-02-12 Thread Amedee Van Gasse
I'm happy to report that Jenkins works fine with PowerShell 7! I have this in my connection log: [02/12/21 10:58:38] [SSH] SSH host key matches key seen previously for this host. Connection will be allowed. [02/12/21 10:58:38] [SSH] Authentication successful. [02/12/21 10:58:50] [SSH] The

Re: how can I get the value of a global variable within a function in a pipeline?

2021-02-12 Thread jesus fernandez
Thanks a lot Victor, the links provided made it much clear now and the example worked just fine. You are always saving me hehe El jueves, 11 de febrero de 2021 a las 22:11:15 UTC+1, victormar...@gmail.com escribió: > You can simplify it quite a bit with the post stage event >