Re: Regarding two jenkins jobs

2023-08-10 Thread Ashok Reddy
Hi Kris, Thanks for your help and I will check with my team. I will provide you clear idea next time. On Fri, 11 Aug 2023 at 9:31 AM, Kris Stern wrote: > Hi Ashok, > > According to Björn's suggestion, he is suggesting you *not* to use a > single Jenkinsfile if you would like to run two jobs on

Re: Regarding two jenkins jobs

2023-08-10 Thread Kris Stern
Hi Ashok, According to Björn's suggestion, he is suggesting you not to use a single Jenkinsfile if you would like to run two jobs on two instances of Jenkins on the same server. However, if you are using the two instances on the same server to say for example run a frontend and a backend for a

Re: Regarding two jenkins jobs

2023-08-10 Thread Ashok Reddy
Hi Kris, Thank for your help but, I am expecting to configure two jenkins instances in one jenkinsfile. As Doneer suggested, it would be good to implement but in my org, they have already implemented. Not sure how did they implement it. On Thu, 10 Aug 2023 at 10:30 PM, Kris Stern wrote: > Hi

Re: Jenkins Python Job

2023-08-10 Thread Mark Waite
On Thursday, August 10, 2023 at 9:45:48 AM UTC-6 Mari wrote: Hi All, I have a job running on Jenkins server, which builds python script. The script has to display a bar chart as final output. The build agent I am using on Jenkins appears to have python installed. I confirmed this by adding a

Jenkins Python Job

2023-08-10 Thread Mahryama issifu
Hi All, I have a job running on Jenkins server, which builds python script. The script has to display a bar chart as final output. The build agent I am using on Jenkins appears to have python installed. I confirmed this by adding a build step as python3 —version and the result was: Python

Re: Regarding two jenkins jobs

2023-08-10 Thread Kris Stern
Hi Ashok, I am guessing you are looking for the following, but am not sure... You can try something like the below: java -DJENKINS_HOME=/path-to-jenkins1 -jar jenkins.war --httpPort=8080 java -DJENKINS_HOME=/path-to-jenkins2 -jar jenkins.war --httpPort=8081 Something like this, so one

Re: Regarding two jenkins jobs

2023-08-10 Thread Ashok Reddy
Hi Kris, Yes , two jenkins instances On Thu, 10 Aug 2023 at 9:54 PM, 'Björn Pedersen' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > > > ashok...@gmail.com schrieb am Donnerstag, 10. August 2023 um 03:54:11 > UTC+2: > > Hi All, > > How to configure jenkinsfile if one job is in

Re: Regarding two jenkins jobs

2023-08-10 Thread 'Björn Pedersen' via Jenkins Users
ashok...@gmail.com schrieb am Donnerstag, 10. August 2023 um 03:54:11 UTC+2: Hi All, How to configure jenkinsfile if one job is in one jenkins instance and another job is in another jenkins instance? I you really mean 2 jenkins instances (not different agents): * don't use a single