Re: Jenkins Overwriting JobDSL Configured Job

2019-08-13 Thread Chris McIntosh
Thanks for the help all, This is fixed. I saw that the jobDsl plugin had an update, so I bumped the version up to 1.75 and it started working again. (I should have mentioned I am using code that worked last month). I don't have a satisfying explanation other than my plugins may have been

Re: Access is denied prompted while windows sc command calling from jenkins groovy

2019-08-13 Thread Slide
The user that Jenkins is running under probably doesn't have the necessary permissions. Check which user the service is running as and make sure that user has the necessary permissions. Not sure what you mean by the second part about PowerShell/batch files running under groovy. If you have a

Re: Converting to pipeline questions

2019-08-13 Thread Louis Elston
Mark Wrote..."Blue Ocean is not limited to multibranch Pipelines. You can use the Blue Ocean editor to create a Pipeline in a git repository that has no Jenkinsfile on any branch." Can someone point me to an example of this? I have a GitHub repository with a master branch and a branch1

Re: Programmatically searching the artifacts from multiple jobs

2019-08-13 Thread Tony C
If I can get the admin to install this, I'll give it a try thanks On Monday, August 12, 2019 at 2:30:32 PM UTC-7, Ullrich Hafner wrote: > > Or you can use the > https://wiki.jenkins.io/display/JENKINS/Text-finder+Plugin > It provides already a way to grep files for a pattern and set the build

Re: Does Jenkins have a restriction (limit) with the number of concurrent connections to a Git repo (via Bitbucket) ?

2019-08-13 Thread Tony C
Another IT group maintains the VM where the server is hosted. however, they are generally receptive if we ask for more, >>We limit the jobs running on the master server, and instead spin up slaves. In this context, I'm not sure what a slave is, from your point of view. We have 1 Jenkins server

Re: Programmatically searching the artifacts from multiple jobs

2019-08-13 Thread Tony C
>>If you had access to the Jenkins server you could copy t I do have access to the server I'd write a script to go parse the artifact logs, if I only knew where they were. I don't know if that requires root access or not, I dont have root access. On Monday, August 12, 2019 at 9:23:56 PM UTC-7,

Does Jenkins have a restriction (limit) with the number of concurrent connections to a Git repo (via Bitbucket) ?

2019-08-13 Thread Tony C
We've got a Jenkins server that can only run 5 jobs max, if each of those jobs needs to pull code from a git repo, which is hosted in our corporate Bitbucket. If more than 5 jobs are pulling from Bitbucketat the same time, the jobs crash. I'll have to dig up the specific error message

Re: Does Jenkins have a restriction (limit) with the number of concurrent connections to a Git repo (via Bitbucket) ?

2019-08-13 Thread Jeff
We regularly run dozens of jobs. It might need more resources (CPU/Memory) or consider adding slaves (unless you are already doing that). We limit the jobs running on the master server, and instead spin up slaves. I run VM's in our ESX environment and configure the slaves as a general rule with

Access is denied prompted while windows sc command calling from jenkins groovy

2019-08-13 Thread Mohit Mehral
I am trying to create CI/CD pipeline using jenkins and my environment devops/deployment is windows servers 2016. Pipeline script written in apache groovy. Which call batch file for deploy the code, that batch script is doing 2 tasks. - deploy code on another host machine (using robocopy

Re: Jenkins Overwriting JobDSL Configured Job

2019-08-13 Thread Chris McIntosh
Hi Reinhold, We are using pipeline jobs via a jenkinsfile. I will double check my xml from the configure block vs the xml generated by jenkins when manually adding the section through the UI. I thought it was the same, though the UI added a bunch of extra sections to the xml unrelated to my