Re: Help please - Admin privilege issue with Jenkins on Windows

2015-07-29 Thread Musaffir Lp
Hey, Is your user id contains camel case letters i.e both capital and small letters ..some thing like - Userid instead of it use only small letters user id some thing like -- userid this will resolve your problem of permission getting revoked after a jenkins restart... On Wednesday

Re: Access Denied after Jenkins re-start

2015-07-29 Thread Musaffir Lp
Resolved it by using the user id contains only small letters On Wednesday, July 29, 2015 at 11:24:45 AM UTC+8, Musaffir Lp wrote: > > Hi, > > I am using Jenkins latest 1.622 war > I am starting the jenkins server from command prompt and accessing the > jenkins url > > I signed up a user and

Upload jenkins build file to my release management site via HTTP

2015-07-29 Thread Ahsan shamsudeen
Hi, I have scheduled some jenkins build jobs(maven build) which triggers via svn commits. After a successful build, I need to upload the build file(.war file, .ear file) to my release management site via HTTP request. On my release management site, I was expecting an HTTP multipart request. I g

Re: Jenkins + Windows slave replacement = problem

2015-07-29 Thread Alfred Sawaya
Hello Chanda, Thank you for your reply. Actually, I have found the problem. On Windows 32 bits, I must use C:\Program Files\Git\cmd\git.exe and on 64 bits ...\bin\git.exe... It's not a Jenkins bug. Now I have some other errors... maybe not because of Jenkins, but as usual the build works without

Post build action - Checkstyle analysis result not fail on warning

2015-07-29 Thread Kirshan Luhana
Hi I am sorry if it is repeated question. In Post build action I have few reports 1- Checkstyle analysis result 2- findbug analysis result 3- PMD analysis results In advance sections of all above Health thresholds 100% = empty , 0%=empty Status thresholds (Totals) =empty all box

RE: Use Repository Sharing - advice please

2015-07-29 Thread Ginga, Dick
I will chip in with my thoughts… I am not surprised that your builds are getting that error. You can’t necessarily run parallel builds against the same source folders. First, you build process must put built artifacts (both temporary and final) into some unique folder structures on a per build

Job Parameters No Longer Displayed for Queued Builds?

2015-07-29 Thread Kenneth Baltrinic
Greetings, We recently upgraded our Jenkins infrastructure from v 1.552 to 1.609.1. For the most part everything went smoothly. Kudos to the Jenkins team for that. One issue that has presented itself however is this: Previously, when multiple instances of a job are queued, waiting to run,

[workflow] email-ext step fails in freestyle project triggered by buildJob

2015-07-29 Thread David Resnick
I have a freestyle job that fails to run the post-build extended email step when it is triggered by a workflow buildJob construct. The error message: ERROR: Could not send email as a part of the post-build publishers. java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob

Re: [workflow] email-ext step fails in freestyle project triggered by buildJob

2015-07-29 Thread Slide
This is a known incompatibility between workflow and email-ext. Email-ext expects projects to be based on AbstractProject and Workflow is not. On Wed, Jul 29, 2015 at 6:23 AM David Resnick wrote: > I have a freestyle job that fails to run the post-build extended email > step when it is triggered

Re: [workflow] email-ext step fails in freestyle project triggered by buildJob

2015-07-29 Thread David Resnick
Is there any plan to bridge this divide? I notice that it pops up fairly often whenever the workflow plugin is in the picture. - David On Wednesday, July 29, 2015 at 4:26:36 PM UTC+3, slide wrote: > > This is a known incompatibility between workflow and email-ext. Email-ext > expects projects t

Re: [workflow] email-ext step fails in freestyle project triggered by buildJob

2015-07-29 Thread Slide
It's not on my near term radar sadly, but I hope to get to it this year if no one else does it and creates a pull request. On Wed, Jul 29, 2015, 16:52 David Resnick wrote: > Is there any plan to bridge this divide? I notice that it pops up fairly > often whenever the workflow plugin is in the pi

Re: Connection failure in Job Import Plugin

2015-07-29 Thread Ujjwal Varshney
I am getting same while importing a job from one jenkin to another. FAILED - Connection refused: connect Let me know if you need anything more!!! Regards, Ujjwal On Wednesday, December 10, 2014 at 7:59:18 PM UTC+5:30, rginga wrote: > > I am trying to import jobs from one Jenkins server A runni

Parametrized build with conditional parameters

2015-07-29 Thread alok kumar
Hi All, I have an urgent requirement in which I need to use dynamic loading of parameters based on the value of another parameter. I require something like e.g. a parameter which has value like classic and advanced. Only if someone chooses advanced, the next set of parameters should get displayed.

How to save a parametrized build as template

2015-07-29 Thread alok kumar
Hi All, I have an urgent requirement for which we need to be able to save a user defined parameters while submitting a build as a template, so that the next time when the user wants to run the build, he can just load the template and click on submit. He should be able to save as many templates as h

Re: Use Repository Sharing - advice please

2015-07-29 Thread David Brown
Thank you for the replies. It seems that "Use Repository Sharing" is not for me! I shall reconsider my approach to my problem and investigate your suggestions. Thank you again. On Tuesday, 28 July 2015 21:51:52 UTC+1, David Brown wrote: > > Here is my scenario. I have a number of Jenkins proje

How can the defects get logged to RTC whenevere there is a failure in the jenkins job ?

2015-07-29 Thread Krishna Kumar Tiwari
Hi I am planning to integrate my jenkins job and wants whenever the job gets failed (at any step may be during installation of build, running tests etc.) , a defect should get logged to RTC. There are couple of Jenkins plugin but they don't log a defect. https://wiki.jenkins-ci.org/display/

Job structure for multiple build "cycles"

2015-07-29 Thread Scott Klein
I have multiple jobs - each job triggers zero or more "child" jobs - and I have a trigger to kick off a full build chain by starting the first job as a parameterized build For example: Trigger -> call Job 1 with "clean deploy" -> Job 1 completes and calls Job 2 with the current build parameters

jenkinsCLI --- "Exception in thread "main" java.net.SocketTimeoutException: connect timed out"

2015-07-29 Thread niristotle okram
any suggestions/fixes for this jenkins-cli error? I have a deploy job, which is parametrized (test, stage, prod). So, whenever there is a deploy to the "staging" env, i am trying to make Jenkins *slaves* execute a groovy script. Trying to test the jenkins-cli.jar, i got this error: [jenkins@ip

Re: jenkinsCLI --- "Exception in thread "main" java.net.SocketTimeoutException: connect timed out"

2015-07-29 Thread niristotle okram
i got the help command working. I use the below command. It uses the private ip of the jenkins master instead of the public. And in my case the comm is happening between the jenkins nodes which are in the same subnet. [jenkins@ip-10-0-0-92 scripts]$ java -jar jenkins-cli.jar -noCertificateCh

Re: Using jenkins-cli.jar groovy . . . is there some cleaver way to pass parameters into the Groovy script?

2015-07-29 Thread niristotle okram
did you got the answer of this? \ On Friday, March 22, 2013 at 1:33:04 PM UTC-7, Merrow, Frank wrote: > > So I am using Jenkins-cli to execute a groovy script in my Jenkins > servers . . . works great. > > > > Except now I want to pass that groovy script a parameter . . . > > > > Does some

Re: Using jenkins-cli.jar groovy . . . is there some cleaver way to pass parameters into the Groovy script?

2015-07-29 Thread niristotle okram
I am using the jenkins-cli to run a groovy script: https://github.com/jenkinsci/jenkins-scripts/blob/master/scriptler/disableEnableJobsMatchingPattern.groovy & trying to pass these 2 parameters 1/ jobPattern=build_git_auto 2/ disableOrEnable=disable Here is the command. [jenkins@ip-10-0

TFS Builds, Jenkins Handles CI

2015-07-29 Thread zippo7061
We have a situation where we need builds to happen in VS/TFS. We can't run msbuild inside of a jenkins build anymore, it has to created using TFS build. We could switch from msbuild to the tfsbuild command line, but we will lose the job and build number (not to mention changeset). Is there a

[workflow] Example of test executing the step

2015-07-29 Thread Nikita Salnikov-Tarnovski
Good morning. I am thinking about contributing a patch to the workflow. Naturally, I would like to test my patch before submitting a pull request. But I cannot find an example of the test, that actually executes a step in the workflow and verifies the result of this execution and how it communi