Re: Shutting down a Jenkins instance that was still starting up

2018-08-16 Thread 'Burrows, John' via Jenkins Users
Steve, Shut down Jenkins, then using Task Manager, check for any rogue Jenkins or Java processes running on that machine and if any found, kill those processes. Start Jenkins back up. You should only have one Jenkins and one Java process running on the Jenkins Master, unless you are also runni

Configure Node/Job Priority

2018-08-16 Thread Wouter Slob
Hi, I'm working with pipeline jobs where we use different kind of nodes. The nodes have only one executor each. I'm trying to find a way to give priority to certain jobs, in such a way that they are executed once a node is available, even though another job already requested to use the node. To

Re: Shutting down a Jenkins instance that was still starting up

2018-08-16 Thread Steve K
Thanks for your ideas John. I have attempted what you suggested multiple times, but it does not go smoothly. - I shut down Jenkins if necessary (often, it is already down). - Via task manager, I see that Java is running. - I attempt to kill the Java process, but, even though I am an

Pipeline (with Git) NOT honoring options?

2018-08-16 Thread ZillaYT
Jenkins v2.107.2 We are have a Jenkins Pipeline job set up this way - Pipeline script from SCM - SCM: Git - Repositories: (Set up appropriately and correctly using SSH) - Additional Behaviors - Clean before checkout - Advanced clone behaviours - Fetch tags: unchecked

Re: Pipeline (with Git) NOT honoring options?

2018-08-16 Thread ZillaYT
Wait, I think the above Git output is via this code. How can I pass no-tag fetch, shallow fetch, and timeout options to the fromGit() call? stage('Loading Base Pipeline') { pipeline = fileLoader.fromGit(jenkinsPipeline, gitPath, gitBranch, gitCredentialsId, jenkinsNode) } On Thurs

RE: Shutting down a Jenkins instance that was still starting up

2018-08-16 Thread 'Burrows, John' via Jenkins Users
A couple more things to check: 1) Check where the Jenkins Service is pointing to, should be a Jenkins.exe file located in folder where Jenkins is installed. Listed under Path to executable in Service properties: For example, this is my entry - D:\SCM\Apps\Jenkins\jenkins.exe In same folde

Re: Shutting down a Jenkins instance that was still starting up

2018-08-16 Thread Steve K
Thanks again John, re 1) my Path to exe in Service props is: D:\Jenkins\jenkins.exe [confirmed as valid] I included the non-comment content of my Jenkins.xml file in my initial post. There is only one arguments line. I believe that the path to Java (%BASE%\jre\bin\java) is t

Re: Blue Ocean test results show incorrect time

2018-08-16 Thread Sean Talts
I'm also having this problem - I would be fine with Jenkins requiring either ms or s, but we use the performance test components which are in classic view and assuming times are in seconds, while blue ocean assumes times are in milliseconds. Seems like a bug to me. On Sunday, July 15, 2018 at 1

TrackingSVN plugin doesn't work with Folders?

2018-08-16 Thread jimsearle
We have many jobs that use the TrackingSVN plugin https://plugins.jenkins.io/tracking-svn I know it's very old and hasn't been updated in a long time, but a lot of legacy jobs need it. Now we are pushing some of the jobs into Folders which doesn't seem to be accepted by the plugin. java.la

Re: Error while running dynamically created parallel stages

2018-08-16 Thread Wouter Slob
Maybe you should not nest the stages? Maybe not use stage inside parallel step either, because the order might be different for each run. On Friday, August 3, 2018 at 4:23:26 PM UTC+2, Markus "Shorty" Uckelmann wrote: > > Hi all, > > I dynamically create parallel stages from the contents of a f

How to make a plain pipeline (not multibranch) create a separate workspace for each instance?

2018-08-16 Thread David Karr
I've seen situations where Jenkins will create a separate workspace directory for each instance of a job. I've seen other situations where it does not. I think the difference is multibranch pipeline vs. plain pipeline. Is that what's going on here? I really need to figure out how to get a pl

Re: How to make a plain pipeline (not multibranch) create a separate workspace for each instance?

2018-08-16 Thread David Karr
On Thursday, August 16, 2018 at 12:59:21 PM UTC-7, David Karr wrote: > > I've seen situations where Jenkins will create a separate workspace > directory for each instance of a job. I've seen other situations where it > does not. I think the difference is multibranch pipeline vs. plain > pipe

jenkinsfile failed step triggers another jenkins job.

2018-08-16 Thread nup
Hi, I have a build step in jenkinsfile as smoke test. I would like to see if that smoke test fails then trigger another jenkins job. Basically, I have a rollback jenkins job that is not part of the pipeline, but in pipeline If my smoke test fails then it triggers my rollback jenkins job. Any

Why do I sometimes get impossible ClassNotFoundExceptions when running two instances of the same build job at once?

2018-08-16 Thread David Karr
Our Maven build run from Jenkins occasionally gets "impossible" errors from the Java compiler, saying that classes that must exist are not found (ClassNotFoundException). Rerunning the job always resolves it. I'm pretty sure this happens when more than one instance of the job is running at the

Re: Blue Ocean test results show incorrect time

2018-08-16 Thread Craig Rodrigues
I encountered the same problem and reported the issue here: https://issues.jenkins-ci.org/browse/JENKINS-52944 -- Craig On Thu, Aug 16, 2018 at 12:07 PM Sean Talts wrote: > I'm also having this problem - I would be fine with Jenkins requiring > either ms or s, but we use the performance test

Is it possible to set private docker registry for entire team?

2018-08-16 Thread apeleg
We use Jenkins scripted pipelines to build & push docker images... imageName = "someimage" currImage = docker.build("${PRIVATE_REGISTRY}/${imageName}") docker.withRegistry("https://${PRIVATE_REGISTRY}";, 'registry_cred_id') { currImage.push() } Is it possible to set something globally for the *

Is it possible to change the parametrized build button to have different name?

2018-08-16 Thread Nitesh Shrivastava
Hi, My project is developed using Jenkins parametrized plugin but I want to rename the build button at the bottom to Run instead of Build Regards Nitesh -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: Is it possible to change the parametrized build button to have different name?

2018-08-16 Thread RAJENDRA PRASAD
why are you doing it again, Already there is a plugin to do that: please refer this link: https://wiki.jenkins.io/display/JENKINS/Customize+Build+Now+Plugin thanks, Rajendra *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in Testing.Mobile:9008566233* On Fri, Aug 17, 2018 at