Unable to open a JIRA issue

2019-04-16 Thread Eric Pyle
27;m trying to submit a New Feature request to the JIRA Plugin, and I have a pull request to go with it. Thanks, Eric -- Eric Pyle Siemens PLM Software Lebanon, NH eric.p...@siemens.com http://www.siemens.com/plm -- You received this message because you are subscribed to the Google Groups &qu

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Pyle
ooglegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- Eric Pyle Siemens PLM Software Lebanon, NH +1 603-277-3060 eric.p...@siemens.com http://www.siemens.com/plm -- You received this message because you are subscribed to the Google Group

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-27 Thread Eric Pyle
li.jar on the server to bypass jenkins remote security functionality? Thanks, Eric On Tue, Jun 25, 2019 at 11:10 AM Eric Pyle <mailto:eric.p...@cd-adapco.com>> wrote: Have a look at the docs: https://jenkins.io/doc/book/managing/cli/ .  As stated there, if you are using a r

Re: Process the powershell result on the jenkins server

2020-02-26 Thread Eric Pyle
/7604abe1-01fd-4f07-94c9-0352318ebba7%40googlegroups.com?utm_medium=email&utm_source=footer>. -- Eric Pyle Siemens Digital Industries Software Simulation and Test Solutions, Product Development eric.p...@siemens.com https://www.sw.siemens.com/ -- You received this message because you are

Re: Parametrized build for E2E testing in different environments

2020-05-28 Thread Eric Pyle
Assuming you are using a Freestyle project (not Pipeline) you could use the Template Project Plugin https://plugins.jenkins.io/template-project/. You create a template job which contains all the common functionality, and then in the separate job for each environment you add the template job as

Re: Parametrized build for E2E testing in different environments

2020-06-04 Thread Eric Pyle
were to use Pipeline? Would it make things easier? Thank you Alberto Il giorno venerdì 29 maggio 2020 00:17:42 UTC+2, Eric Pyle ha scritto: Assuming you are using a Freestyle project (not Pipeline) you could use the Template Project Plugin https://plugins.jenkins.io/template

Re: Parametrized build for E2E testing in different environments

2020-06-04 Thread Eric Pyle
ject] Successfully setup environment from: 'E2E Template' Finished: SUCCESS Any idea what could be wrong? Il giorno giovedì 4 giugno 2020 17:53:39 UTC+2, Eric Pyle ha scritto: Using Pipeline you would take a different approach, like having a common script in source con

Re: Robot Framework test run from Jenkins. - No module named robot

2020-07-24 Thread Eric Pyle
I wonder if this is because AppData is a hidden folder, and/or not accessible to the user running Jenkins. Can you try a directory listing of that Scripts directory in a Jenkins job batch command? Eric On 7/22/2020 11:50 AM, Robert Szabo wrote: Hi, Jenkins cant run my Robot Framework test ca

Re: How to get command versions supported by Pipeline

2020-10-13 Thread Eric Pyle
This message is telling you that your "bat" step does not know where to find the "dotnet" command. If you give the full path it should succeed. On 10/13/2020 9:33 AM, Ven H wrote: In my Jenkinsfile, I am using the following command bat "dotnet restore" I have .NET Core SDK installed in the Je

Re: Doxygen integration with Jenkins

2020-11-05 Thread Eric Pyle
Hi Arjuman, In your screenshot of the Doxygen Installations configuration, it shows that the configured path to Doxygen does not exist on your Jenkins master. It appears that you have two Jenkins installations (two masters), and one of them has Doxygen.exe installed at C:\Program Files\doxyge

Re: svn polling timing query

2013-06-06 Thread Eric Pyle
One possibility is that the job was queued at 11:00 but did not get a free executor until 11:09. Eric On 6/6/2013 6:46 AM, Chris Withers wrote: Hi All, I have a job that polls svn as follows: */30 * * * * ...yet the job kicked off at 11:09:02. I would expect the job to trigger at 11:00 or

Re: BuildNameSetter plugin - Unrecognized macro

2013-06-20 Thread Eric Pyle
Hi Bob, I was just encountering this problem today. Try specifying the build name as #${ENV,var="BUILD_NUMBER"} ${ENV,var="GIT_BRANCH_OR_TAG"} I found this suggestion in a Jenkins bug reportJENKINS-13347 . Eric On 6/20/2013 1:54 PM, Bo

Re: Execute few Jenkin jobs under logged on user credential

2013-06-21 Thread Eric Pyle
Hi, One option would be to run a slave on the same Jenkins machine and have the slave run as a different user. You can assign the production deployment jobs to execute on the slave. Eric On 6/21/2013 10:11 AM, Vijendra Patil wrote: Hi, Please lete me know if I have missed anything. I just d

Re: Jenkins BuildNameSetterPlugin - timing issue

2013-06-24 Thread Eric Pyle
Hi Bob, I've been dealing with a similar problem here. According to comments in the Build Name Setter plugin code, it checks twice for a value to set the build name. I suspect that the first check is before your Groovy script sets the parameter, so it doesn't get set until the second check ne

Re: Current build artifact

2013-07-08 Thread Eric Pyle
Some thoughts: 1) If I understand correctly, in your step 1 you run a Maven snapshot build, which creates some artifacts. Assuming you are using a Nexus repository, you can have step 2 download the required artifact from Nexus. You can find an example bash script to do that at [1]. 2) You co

Re: Source safe configuration

2013-07-22 Thread Eric Pyle
If the folder where Source safe resides is on a network drive, make sure the user account running Jenkins has access to that folder. You don't say whether you are on Linux or Windows, and when the error comes up. Is it when running a job or when trying to start Jenkins? You should also specify

Re: Unique Identifier for Jenkins Projects

2013-07-23 Thread Eric Pyle
I think Kevin is right about this. The only way I could see to make a connection is to catch the event when a job is renamed. It does throw up an "Are you sure" alert, so I wonder if you could piggyback on that code in your extension, and send an update to your database. Looks like hudson/model

Re: Slicing ant build steps

2013-07-24 Thread Eric Pyle
We make extensive use of the template project plugin at my workplace. We have over 900 jobs, many of them similar, performing continuous and nightly build and tests. I have not seen any issues related to the use of templates. We also do delete workspace before build, clear workspace before buil

Re: workspace cleanup plugin and artifact archiving don't work with absolute paths?

2013-07-31 Thread Eric Pyle
Hi Chris, You can get a shell script as a post-build action by using Flexible Publish or PostBuildScript plugins. Regarding the main problem you are having, does the user running Jenkins have that /coredumps path available? Eric On 7/31/2013 1:11 PM, Chris Withers wrote: Hi All, We've no

Re: Using Jenkins to automated testing

2013-08-22 Thread Eric Pyle
Hi Mateusz, Yes, I would run the Perl scripts from a "execute shell" step. However, I would recommend separating the software build and the running of the tests into two separate jobs. If the build job does not succeed for some reason, there is no need to run the tests, and this will give you

Re: Jenkins with Webdriver falil to launch browser

2013-08-29 Thread Eric Pyle
By default, Windows services run under the Local System account, which does not have access to the desktop. JNLP slaves run as the user logged in who starts up JNLP. Likewise, starting from a war file you run as the user who issues the startup command (java -jar jenkins.war). Eric On 8/29/201

Re: Choosing the slave to run the project

2013-09-06 Thread Eric Pyle
I think the NodeLabel Parameter Plugin would do this. Eric On 9/6/2013 5:49 AM, Mateusz Polan'ski wrote: I want to have an upstream build, in which you choose other builds that have to be run, and the slaves on which the

SetLabelString()

2013-09-06 Thread Eric Pyle
I'm trying to change the (manually assigned) labels for a node in Groovy. I found I could get the labels with getLabelString(). So it seemed logical that I could use hudson.model.Node.setLabelString(String string) to assign a new set of labels, just as if I had gone into the configure page for

Re: Cannot run program "C:\Program Files\Apache\apache-maven-3.0.4\bin\mvn.bat" (in directory "d:\") Argument has embedded quote, use the explicit CMD.EXE call.

2013-09-10 Thread Eric Pyle
It looks like the problem is the directory specification "d:\". The closing quote is escaped by the backslash, so it comes out as a missing or embedded quote. I'm not sure where you are specifying the d:\ location but that will need to change. I would think you would not want to run in the roo

Re: Dynamically selecting a node

2013-09-11 Thread Eric Pyle
You should not need to use any plugin. For each job, in its configuration make sure that the box "Restrict where this job can run" is not checked. Also make sure that each slave is configured with Usage set to "Utilize this slave as much as possible". Jenkins will automatically assign waiting j

Re: Copy Artifacts Configuration Under Source Control

2013-09-16 Thread Eric Pyle
Couldn't you define the versions in a file in source control, which would then be read by the Jenkins Environment File Plugin ? Eric On 9/16/2013 2:41 PM, Eric Blom wrote: Hello Everyone, I have a number of different jobs that I wan

Re: Jenkins Settings problem

2013-09-16 Thread Eric Pyle
When I have worked with Jenkins and Maven, we also had a build trigger on the trunk. But it does not trigger a release build, instead it triggers a snapshot build. Snapshot build does not execute release:prepare, so it does not cause a change in source control in the trunk. You do get one techn

Re: Jenkins using wrong JDK

2013-09-20 Thread Eric Pyle
I think you have picked up on the solution there. Either always use the full path to the desired Java installation, or alter your path so that 'which java' returns the correct path. Eric On 9/20/2013 10:01 AM, Farrukh Najmi wrote: I do not see a Java Version list box in my job config page in U

Re: Jenkins using wrong JDK

2013-09-20 Thread Eric Pyle
ed a JDK 6 installation. All was done via GUI. So I am at a loss as to what went wrong and how I can recover from it. Thanks Eric for your help. On Friday, September 20, 2013 10:03:52 AM UTC-4, Eric Pyle wrote: I think you have picked up on the solution there. Either always use the full p

Re: Set a property

2013-09-25 Thread Eric Pyle
On the command line when you start Jenkins, add the property to the command like this: -Dproperty.name=property.value For example, to set a hypothetical property called requireSecureLogin to true: -DrequireSecureLogin=true Eric On 9/25/2013 12:59 PM, lance.e.mead@mail.mil wrote: I have

Re: Set a property (UNCLASSIFIED)

2013-09-25 Thread Eric Pyle
ooglegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eric Pyle Sent: Wednesday, September 25, 2013 11:35 AM To: jenkinsci-users@googlegroups.com Subject: Re: Set a property On the command line when you start Jenkins, add the property to the command like this: -Dproperty.name=prop

Re: Set a property (UNCLASSIFIED)

2013-09-25 Thread Eric Pyle
found -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eric Pyle Sent: Wednesday, September 25, 2013 12:38 PM To: jenkinsci-users@googlegroups.com Subject: Re: Set a property (UNCLASSIFIED) What is the command line as shown

Re: Tomcat in parallel with Jenkins

2013-09-30 Thread Eric Pyle
You should be able to run Tomcat alongside Jenkins service. I have not done exactly that, but I've run multiple instances of Tomcat on the same machine. You just need to make sure they run on different ports. Default port for Tomcat is 8080, so as long as you don't have Jenkins on that port (or

Re: Failing to run FEST Swing tests on Jenkins

2013-09-30 Thread Eric Pyle
The way I have usually seen it is to run GUI tests on a Jenkins slave, one which is connected by JNLP. Eric On 9/30/2013 4:32 PM, djaildo.jun...@ccc.ufcg.edu.br wrote: I'm trying to run FEST Swing tests on Jenkins as a service on Windows 7. I have already allowed the service to interect with

Re: Git not unlocking pack files

2013-10-02 Thread Eric Pyle
We have the same problems with Git and pack files, as well as other file locking issues on Windows slaves. For instance, if a build is set to abort if it runs too long, and then we have Naginator retry the build, some build process often keeps a handle on a file in the workspace, causing the re

Re: Groovy objects?

2013-10-09 Thread Eric Pyle
This is the doc for the extended JDK used by Groovy: http://groovy.codehaus.org/groovy-jdk/ I use this regularly when writing Groovy scripts, which I am still getting the hang of. Eric On 10/9/2013 11:03 AM, Chris Cooper wrote: Thanks! But I can ask for Thread.currentThread().executable an

Re: Groovy objects?

2013-10-09 Thread Eric Pyle
Using Les' suggestion of brute force search, I did the following: grep -r "currentThread();" * > ../../Documents/currentThread.txt This gives me source code lines that reference currentThread(). Looking through these, you can see that currentThread returns a Thread object, which is sometimes a

Re: log parser failing subversion merge

2013-10-25 Thread Eric Pyle
Try the Text Finder Plugin . On 10/25/2013 1:27 PM, Kamal Ahmed wrote: I am using Jenkins to do subversion merge. Jenkins is reporting Success all the time, even though if i look at the console: 00:22:40 Summary of conflicts: 00

Re: Remote file system root does not exist. Will try to create it...

2013-10-31 Thread Eric Pyle
What path did you enter as "remote file system root" when configuring the slave? Does that directory exist on the slave? Can you create the directory through ssh as the same user that runs Jenkins? What if you log in to the slave machine and try to create the directory, and make sure the permis

Re:

2013-10-31 Thread Eric Pyle
It looks like the 'cat' command is not on the system path for your Jenkins user. Check your path as the user that runs Jenkins. Eric On 10/31/2013 5:00 AM, Rajesh Kumar wrote: Hi, I am building one job in slave but i am getting following error... [QA-QBO-Square-e2e-regression] $ /bin/sh -xe /

Re: Best method to copy (release installation) files to Jenkins slaves (Windows)

2013-11-04 Thread Eric Pyle
Hi, If the installation files are also created by a Jenkins job, you can have the job save them as artifacts, and then use the Copy Artifact Plugin on your test/prod jobs to retrieve the files. Cheers, Eric On 11/4/2013 10:59 AM, Edin Mujkanovic wrote: Hi! We are currently creating a job

Re: Multijob jenkins plugin help

2013-11-22 Thread Eric Pyle
Hi Rodrigo, This seems like a situation that you could solve by creating a single parent POM for all the components and just building that in a Jenkins job. Regards, Eric On 11/21/2013 2:52 PM, Rodrigo Berto wrote: Hello people, my name is Rodrigo and I am completely new into Jenkins world.

Groovy createUpdated question

2013-12-12 Thread Eric Pyle
I am using Groovy to try to update an existing build parameter. I based my work on this example from this list. However, I am getting an error saying my argument types are incorrect. Here's my code and the output from runni

Re: Error during Grails build with Grails plugin

2013-12-13 Thread Eric Pyle
The quoting of the first output line does not look right. cmd.exe /C '""C:\Program Files (x86) One too many double quotes are used, as far as I can see. Eric On 12/13/2013 9:13 AM, tom-e wrote: Hello We are moving our Jenkins server to a new hardware. For this we did a new installation of t

Re: Any way to hide rarely-used nodes?

2013-12-23 Thread Eric Pyle
All I can think of is to have a unique label for those slave VMs. Then if you set up a default view with the option to "filter executors" you would not see them as long as they are not eligible to run the jobs in that view. Eric On 12/20/2013 2:13 PM, Les Mikesell wrote: I have quite a few

Re: Groovy createUpdated question

2013-12-30 Thread Eric Pyle
} newPa = new ParametersAction(npl) build.actions.add(newPa) } Notes: This code was run as a System Groovy Script build step. As written it only covers String parameters. -Eric On 12/12/2013 1:27 PM, Eric Pyle wrote: I am using Groovy to try to update an existing build parameter. I based my wo

Re: Incremental build and artifact archiving

2014-01-22 Thread Eric Pyle
If the artifacts are not rebuilt, they should still be available in the workspace, and you could archive them. If they are not present in the workspace, you could add a build step to copy them from the last successful build, and then archive them. This would have the drawback of increasing the

Re: Incremental build and artifact archiving

2014-01-22 Thread Eric Pyle
Here's a picture to illustrate: On 1/22/2014 9:40 AM, starwarsfan wrote: Hi Eric, thx for your response. Am Mittwoch, 22. Januar 2014 14:30:18 UTC+1 schrieb Eric Pyle: If the artifacts are not rebuilt, they should still be available in the workspace, and you could archive

Re: Incremental build and artifact archiving

2014-01-22 Thread Eric Pyle
Eric, thx for your response. Am Mittwoch, 22. Januar 2014 14:30:18 UTC+1 schrieb Eric Pyle: If the artifacts are not rebuilt, they should still be available in the workspace, and you could archive them. If they are not present in the workspace, you could add a build step to copy

Re: How to have downstream job scheduled?

2014-01-28 Thread Eric Pyle
You need the Conditional Build Step plugin . It allows you to execute a build step subject to certain conditions, including the day of the week. Eric On 1/27/2014 5:16 PM, Umesh Prajapati wrote: Hi Jenkins, I have a u

Re: Integration test on a multi platform environment

2014-02-03 Thread Eric Pyle
Would it work to put the integration tests into separate jobs, and have the build job kick off the two test jobs? If you need to track the test jobs from the build job, there are various ways to do that, such as using promoted builds. Eric On 2/3/2014 10:01 AM, Alon Segal wrote: I looked int

Re: Verify receipt of certain output?

2014-02-04 Thread Eric Pyle
Hi Rob, You can use the Text Finder plugin to do this. Add Jenkins Text Finder as a post-build step, leave the first text field blank and check "Also search console output". For the regular expression enter the pattern that will match your log output indicating success, and check "Succeed if

Re: Conditional build steps for maven projects

2014-02-17 Thread Eric Pyle
You can run a Maven build in a freestyle job. Add a build step of type "Invoke top-level Maven targets". Then you can use conditional build steps and all other features of freestyle builds. Regards, Eric On 2/17/2014 2:13 AM, varun srivastava wrote: Hi, How can I run conditional steps with M

RE: Why jenkins restart every day?

2012-11-02 Thread Eric Pyle
I have also seen our Jenkins get stuck in "Jenkins is going to shut down" mode, and it appears to be caused by the thin-backup plugin trying to begin a backup while a long-running job is running. The best solution seems to be to schedule nightly backups to run before starting any long-running jo

Re: Build directory and clean procedure [best practices]

2012-12-24 Thread Eric Pyle
wards or will > jenkins take care of that? > > Is there a way to receive an email also containing the new changes to the > repository? > > Thanks, > > Paulo Matos > > -- *Eric Pyle *Build Manager CD-adapco - Lebanon, NH Office +1 603-643-9993 x24161 (T) +1 603-359-8670

Re: job workspace locked on linux, how to recover - quick question

2012-12-28 Thread Eric Pyle
Try the svn cleanup command, it should help. Eric On 12/28/2012 1:32 AM, zw wrote: Hi All We have a job where its workspace is locked after SVN update with error message - "*14:31:25*Workspace appear to be locked, so Failing the build *14:31:25* Build was aborted *14:31:25* [WARNINGS] S

Re: Changing default JDK for a job...

2012-12-28 Thread Eric Pyle
You can do this using the Maven Compiler plugin. See http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html. Eric On 12/28/2012 12:25 PM, Jeff wrote: I have a brand new Jenkins master + slave running on top of the latest JDK 1.7.0_u10. I've configured

Re: Changing default JDK for a job...

2012-12-28 Thread Eric Pyle
e a way to force a new value for JAVA_HOME for a specific job? On Fri, Dec 28, 2012 at 10:40 AM, Eric Pyle <mailto:eric.p...@cd-adapco.com>> wrote: You can do this using the Maven Compiler plugin. See http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using

Re: Changing default JDK for a job...

2012-12-28 Thread Eric Pyle
JDK to be used for this project Why isn't the job using it? Isn't that what it's for? On Fri, Dec 28, 2012 at 11:04 AM, Eric Pyle <mailto:eric.p...@cd-adapco.com>> wrote: Your first question is a Maven issue - I could only speculate about it. F

Re: Build directory and clean procedure [best practices]

2013-01-02 Thread Eric Pyle
Responses inline. -Eric On 12/29/2012 10:50 AM, Paulo J. Matos wrote: On 24/12/12 16:41, Eric Pyle wrote: Hi Paulo, I think common practice is to have your shell script build when it detects a check-in via polling, on successful completion of build it would call another Jenkins job to

Re: Job Queue and parallel batch commands

2013-01-22 Thread Eric Pyle
Hi Fabian, 1. The simplest solution would be to restrict those "similar" jobs to a single slave, and set up that slave with only 1 executor. 2. There's no way to do this as far as I know. You could achieve something similar if you set up each batch command in a separate job and used the Join

Re: m2release plugin release:rollback

2013-02-04 Thread Eric Pyle
I've seen release:rollback implemented as a Batch Task in a Maven build job. This was at my previous employer so I don't have access to the job anymore to give the details, but I think it is pretty straightforward. This way you can keep the rollback function together with the regular build job

Re: cygwin build step - quick question

2013-02-08 Thread Eric Pyle
You can use an "execute shell" step on windows. Just make sure to set the shell executable in Manage Jenkins>Configure System. If your Jenkins setup has both Linux and Windows slaves, you'll want to set the executable to "sh" and make sure sh.exe (windows) or sh (Linux) is on the system path on

Re: Locked pack files on windows slave

2013-02-19 Thread Eric Pyle
We use git on both Linux and Windows, and we have a lot of builds that delete the workspace before the build. Occasionally, deleting the workspace fails, but not every time. At this point we're just re-running the build if it fails. Regards, Eric On 2/19/2013 11:21 AM, William Soula wrote: I

Adding PreBuildCleanup to job

2013-03-04 Thread Eric Pyle
I've been working on a Groovy script to add PreBuildCleanup to certain jobs. I followed the example of the Groovy script to add timestamper to all jobs [1]. The problem is, I can't come up with the right constructor for the PreBuildCleanup. I know it must be simple, but I'm just learning to pok

Re: Adding PreBuildCleanup to job

2013-03-06 Thread Eric Pyle
t;Adding PreClean to $item.name"); item.getBuildWrappersList().add(new PreBuildCleanup(lp, false) ); item.save(); } else { println("$item.name already has pre-build cleanup enabled"); } } } ===== On 3/4/2013 5:05 PM, Eric

Re: cygwin - how to use - quick question

2013-03-07 Thread Eric Pyle
You can also call md5sum.exe from a Windows command prompt: c:\cygwin\bin\md5sum c:\util\zip.exe \4ad71344439de59c7bd77fb88eef690c *c:\\util\\zip.exe Eric On 3/7/2013 11:54 AM, Slide wrote: I use Cygwin completely in my builds, I don't try and call cygwin applications from a Windows Batch area

Re: Optional build step that can be run on-demand from the build output page

2013-03-13 Thread Eric Pyle
One option would be the Batch Task Plugin . You could also look at the Build Pipeline Plugin , which allows manual triggering of a downstream job. Eric On 3/12/20

Re: Getting exception when trying to build maven project by perforce plugin

2013-03-20 Thread Eric Pyle
A simple syntax error. It should be "-XX:MaxPermSize=128m" Eric On 3/20/2013 4:06 PM, devanand wrote: Hi, I am getting following exception while executing my maven project in Jenkins. Parsing POMs [sample-project] $ "C:\Program Files\Java\jdk1.6.0_38_backup/bin/java" -Xmx512m -XX:MaxPermS

Re: Getting exception when trying to build maven project by perforce plugin

2013-03-21 Thread Eric Pyle
This appears to be JENKINS-16256 , which is a duplicate ofJENKINS-15642. Eric On 3/20/2013 6:01 PM, devanand wrote

Re: Maven jenkins build is throwing exception.

2013-03-21 Thread Eric Pyle
This isJENKINS-15642. Eric On 3/20/2013 8:34 PM, devanand wrote: Hi, I am getting following exception even though i can see my build is successfull. I can see on local box this has artifact available but still i can see this error wheneve

Re: Maven jenkins build is throwing exception.

2013-03-21 Thread Eric Pyle
olved this BUG ? or is there any work around to this problem ??? Thanks. On Thursday, March 21, 2013 5:28:58 AM UTC-7, Eric Pyle wrote: This isJENKINS-15642. <https://issues.jenkins-ci.org/browse/JENKINS-15642> Eric On 3/20/2013 8:34 PM, devanand wrote: Hi,

Re: Keeping disconnected slave nodes from reconnecting.

2013-04-02 Thread Eric Pyle
Have you tried setting the Jenkins-slave service to "disabled" on the slave machine? Eric On 4/2/2013 12:00 PM, tima wrote: I'm having the same issue as in this unanswered post: http://jenkins.361315.n4.nabble.com/automatic-reconnec-after-manual-disconnec-windows-service-slave-td4643215.html

Re: Allow external script to build jobs without allowing anonymous code viewing

2013-04-25 Thread Eric Pyle
I would think if you remove Overall Read permission for anonymous, as well as most other permissions, that would do it. Eric On 4/25/2013 9:29 AM, Nick Walke wrote: Anybody able to help out with this? On Wednesday, April 24, 2013 11:16:15 AM UTC-5, Nick Walke wrote: Hello! Basically wha

Re: Allow external script to build jobs without allowing anonymous code viewing

2013-04-25 Thread Eric Pyle
an anonymous user, but when external scripts hit the API, they are given a 403. Nick On Thu, Apr 25, 2013 at 8:40 AM, Eric Pyle <mailto:eric.p...@cd-adapco.com>> wrote: I would think if you remove Overall Read permission for anonymous, as well as most other permissions, that

Re: Modify parameters in Jenkins build queue

2013-05-08 Thread Eric Pyle
Hi, 1) I don't know of any way to modify the parameters once a job has been submitted. However, as long as it's in the queue, you could cancel it and submit a new job request with the desired parameters. 2) If you alter the priority of the build (need to be using https://wiki.jenkins-ci.org

Re: How to install Windows JNLP service when Jenkins security is on?

2013-05-13 Thread Eric Pyle
How did you configure security? If it is matrix-based or project-based matrix, check your user permissions for slaves. Do you have all permissions? Eric On 5/13/2013 10:29 AM, Costin Caraivan wrote: Hello, After configuring security for the master Jenkins only offers the headless command as

Re: downstream job set by Parameterized Trigger never runs

2013-05-14 Thread Eric Pyle
Hi Dan, I think the failure to trigger a downstream job with parameters is due to a Jenkins bug: https://issues.jenkins-ci.org/browse/JENKINS-10342. So you are on the right track to work around it. Cheers, Eric On 5/14/2013 2:27 PM, Dan Tenenbaum wrote: On Tuesday, May 14, 2013 10:09:23 A

Re: Build Parameters in server host names

2013-05-23 Thread Eric Pyle
Hi David, If the concern is keeping multiple jobs in sync, maybe the Template Project Plugin would help: https://wiki.jenkins-ci.org/display/JENKINS/Template+Project+Plugin. It allows you to define one job that holds all the common settings, such as SCM, build scripts, publishers, etc. and in

Re: post build task

2013-05-23 Thread Eric Pyle
Hi Virg, When you put in the text SUCCESS in the post build task "Log text" box, it is not checking whether the build ended with status success; rather it does a simple search for the text "SUCCESS" anywhere in the build log during the post-build phase. Same for "FAILURE". So I would guess so

Re: Finding unused plugins

2013-05-30 Thread Eric Pyle
I've done this in a rather crude way by looking for the signature of the plugin in the job's config.xml. If you want to find what to look for in the config file, you can add the plugin to a job that doesn't have it, having saved a copy of config.xml before the plugin was added, and compare with

Re: Update existing job configuration parameter from code

2014-03-07 Thread Eric Pyle
You need to update the ParametersAction object of the build. I found the solution in the following link: https://groups.google.com/forum/#!topic/jenkinsci-users/szhuDfCvpiE. I could not use the code exactly as written in my company's instance of Jenkins. The ParametersAction.createUpdated metho

Re: Rebooting Windows Slaves

2014-03-07 Thread Eric Pyle
I've been working on Groovy code to do this. Essentially it takes the slave "offline" (equivalent to clicking "Mark this node temporarily offline" button). Any running jobs on the slave continue, but no new jobs are accepted. Once the slave is offline it goes into a loop monitoring the countBus

Re: Jenkins API

2014-03-07 Thread Eric Pyle
Re: 1 - see http://jenkins-ci.361315.n4.nabble.com/quot-wipe-out-current-workspace-quot-via-REST-API-td4687766.html for suggestions on how to find the most useful functions. Re: 2 - The comments on the Jenkins wiki page mentioned by Robin Rosenberg contain several examples of Python code to ha

Re: Run a job every 1 minute whilst another job is running

2014-03-25 Thread Eric Pyle
Does the every-1-minute process need to be in a separate job? I could see starting up a background process in the same job that does its thing and then sleeps for a minute before waking up and doing it again. Regards, Eric On 3/24/2014 1:26 PM, Glenn Halstead wrote: Hi folks, As it says in t

Re: Can't access config.xml file of ajob through powershell

2014-04-02 Thread Eric Pyle
Try using https://myjenkins:8443/hudson/job/myProj/api/xml Eric On 4/2/2014 8:39 AM, Ren Jith wrote: Hi all, I am new to this forum, Please help me to find a solution to my problems. Ou

Re: How to unsubscribe

2014-04-24 Thread Eric Pyle
If I go to https://groups.google.com/forum/#!memberships I get a choice to unsubscribe or change my email options. Eric On 4/24/2014 4:00 PM, Christopher Carlson wrote: When I try to unsubscribe, it sends me an e-mail that has the web based subscription setup. This offers to let me subscri

Re: Job Configuration stuck on "Loading"

2014-04-30 Thread Eric Pyle
Have you tried restarting the Jenkins host machine? We have this happen periodically, and believe it's related to network I/O issues. Our IT folks made a change of the filesystem where Jenkins is installed, putting it on a newer file server, and it seems to have helped. Eric On 4/30/2014 1:24

Re: Running a jenkins windows batch command non-headless mode

2014-05-01 Thread Eric Pyle
People I know who've done this have run the Windows test machine as a JNLP slave. Eric On 5/1/2014 8:14 AM, bluntcoder wrote: Hi there. Hopefully this is an easy answer. I have an automated test I'm trying to run that requires initialization of the graphics driver, and thus I need a window

Re: REST API documentation - details on slave creation

2014-05-07 Thread Eric Pyle
There is some discussion of how to create or manage nodes (slaves) here: https://groups.google.com/forum/#!topic/jenkinsci-users/IKTAJhRreDw. Eric On 5/7/2014 12:51 PM, Paul C wrote: Where are some details on the REST api (besides the ../api path in Jenkins)? I know some things are possible b

Re: Windows env when using cygwin ssh connection?

2014-05-16 Thread Eric Pyle
For our cygwin/ssh slaves, we call a script on the slave that sets environment variables and then starts the slave process. Eric On 5/15/2014 7:09 PM, Les Mikesell wrote: This probably isn't a real jenkins-specific question, but maybe someone knows the answer... I recently switched some win2

Re: How to force a job to dynamically change the running server?

2014-06-10 Thread Eric Pyle
You just need to give your job a parameter of type Node. Then pass the name of the slave on which to run (A, B or C) as a parameter when you start the deploy job. Eric On 6/7/2014 4:42 AM, Levski Weng wrote: I have several deploy server nodes in my Jenkins platform. Their deploy procedure is

Re: svn update work on running client from JNLP but not as Windows service

2014-06-11 Thread Eric Pyle
By default a Windows service runs as the Local User account, which has no access to network resources. Try configuring the service to run as a particular user who has permission for the SVN repo in question. Regards, Eric On 6/11/2014 8:42 AM, Juan Pablo Hernandez Vogt wrote: Hello, I tried

Re: Jenkins, BitBucket and MatLab on Ubuntu

2014-07-08 Thread Eric Pyle
You don't say what the failure is, but I suspect the "matlab" command may not be found. Jenkins is probably running as a different user than you (likely as user "jenkins"), and this user does not have matlab on its path. You could address this by either adding the necessary elements to the Jenk

Re: Recommendations for Verification Build Setup

2014-08-14 Thread Eric Pyle
I haven't worked with Gerritt, but what if you used the Template Project Plugin ? You could put most of the configuration in the template job, eliminating the drawback of maintaining two parallel configs. Eric On 8/14/2014

Re: Execute groovy script in Masters throwing error

2014-08-14 Thread Eric Pyle
I think you need to import the classes containing those items that don't resolve. I don't have the doc in front of me so I can't check what class to import On Aug 14, 2014 3:04 PM, "suchit biswal" wrote: > Hi Folks, > > I am trying to execute the following groovy script as part of my build > step

Re: Removing old jobs from Jenkins

2014-09-18 Thread Eric Pyle
If you want to save only the 10 most recent builds, go into the job configuration and check the "Discard Old Bulds" box, and set "Max # of builds to keep" to 10. Be sure to save your changes. No builds will be deleted until the next time the job is run. Regards, Eric On 9/18/2014 11:05 AM, Al

Re: Removing old jobs from Jenkins

2014-09-18 Thread Eric Pyle
specified range of builds in a specific job with a provided job name On Thu, Sep 18, 2014 at 6:23 PM, Eric Pyle <mailto:eric.p...@cd-adapco.com>> wrote: If you want to save only the 10 most recent builds, go into the job configuration and check the "Discard Old Bulds&quo

Re: Removing old jobs from Jenkins

2014-09-20 Thread Eric Pyle
on for this ? What packages should i import? Thanks, Alex On Sep 18, 2014 11:37 PM, "Eric Pyle" <mailto:eric.p...@cd-adapco.com>> wrote: Something like this. For safety, I've written this to print out the list of builds it would delete. Uncomment the delete() lin

Re: Removing old jobs from Jenkins

2014-09-20 Thread Eric Pyle
And the language is Groovy <http://groovy.codehaus.org/Documentation>. On 9/19/2014 6:39 PM, Alex Brodov wrote: Do you know where can I find some documentation for this ? What packages should i import? Thanks, Alex On Sep 18, 2014 11:37 PM, "Eric Pyle" <mailto:eric

  1   2   >