Re: groovy script problem

2014-10-22 Thread Eric Pyle
It's true - you can't actually update a parameter list in-place. You have to create a new one to replace the old one. Here's how I did it, based on some code I found from a 2012 question on this group. This code will update

Re: Jenkins Errors with Mailer on 1.580.1

2014-11-18 Thread Eric Pyle
I think you misread the versions of the Mailer plugin. 1.12 (one dot twelve) is a higher version than 1.8 because 12 > 8. And from the errors you are getting after disabling the mailer plugin, it sounds like the Jenkins security depends on something in the mailer plugin, which makes sense becau

Re: Jenkins Job Creating Multiple Workspaces

2014-12-12 Thread Eric Pyle
Check and see if you have allowed concurrent builds on this job. That's what Jenkins will do to avoid workspace collisions with concurrent builds. Eric On Dec 12, 2014 6:35 PM, "Leah" wrote: > Hi, I have a Jenkins freestyle job that is creating a new workspace each > time I run it. Each workspac

Re: Blocked Sign-Up to Jenkins JIRA

2014-12-17 Thread Eric Pyle
Seems like you should email that jenkinsci-...@googlegroups.com as mentioned in the message. On 12/17/2014 11:09 AM, Tim Benke wrote: Hello, I'd like to comment on a jenkins plugin JIRA issue , but JIRA doesn't accept new registrations wit

Re: Simple way to temporary exclude job from running on a node in a label group

2014-12-19 Thread Eric Pyle
I'd think you can change jobA's label specification (in "Restrict where this job can run") like this: general&&!nodeA Eric On 12/19/2014 4:45 AM, Christian wrote: Hi! I wan't to be able to temporary exclude a specific job from running on a node in a label group. jobA, jobB, jobC are tied

Re: ssh plugin terminates and kills my daemon process

2015-01-21 Thread Eric Pyle
Perhaps you need to start the tomcat server with nohup? On 1/21/2015 1:46 PM, Eric Wood wrote: I'm using a ssh plugin to start a tomcat server. I call a command that ends up calling the tomcat startup shell script. Once the call to the startup script is made I call an additional script in th

Re: Running a single job multiple times against a slave pool, taking a free slave if possible before queueing the next run

2015-10-30 Thread Eric Pyle
I think all you need to do is check the box "Execute concurrent builds if necessary" in the job configuration. Eric On 10/30/2015 9:59 AM, Jim wrote: Hi all, I've a couple of jobs that run against a pool of slaves, taking whichever slave is free at the time. The problem is, if the job is alr

Re: Matrix job: execute a certain build step for only a subset of slaves

2015-11-05 Thread Eric Pyle
You should be able to use the variable $NODE_NAME in the condition for a build step. From https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project. On 11/5/2015 9:14 AM, David Aldrich wrote: To re-phrase my question: Using the Conditional Build Step Plugin, how would I specify

Re: Why do I get this error message when I'm trying to save an artifact

2015-11-13 Thread Eric Pyle
This error occurs when you retrieve an artifact which does not have a fingerprint recorded. As you have observed, it does not indicate a failure in downloading the artifact. Regards, Eric On 11/10/2015 10:50 PM, Rock.C wrote: Hi guys, I'm using the latest Jenkins 1.637 to create a software-p

Re: How to set environment variable based on build parameter

2016-01-08 Thread Eric Pyle
In bash you could do something like this. Let's assume you have the property file mapping.properties in the workspace, and the user chose proj1 as the value of PROJECT_NAME. . mapping.properties echo ${!PROJECT_NAME} or alternatively: eval THEME_NAME=\$$PROJECT_NAME Thanks to http://tldp.org/

Re: Is there a way to fail the build after it's finished?

2016-01-13 Thread Eric Pyle
Seems like this could be handled by build promotion? On 1/13/2016 8:50 AM, Maciej Jaros wrote: Hi. I want to fail one of the builds to be able to mark it as something that should not be deployed. My setup is that I have two task: 1. One just builds project and saves artifacts (war files).

Re: Issue while installing Jenkins plugin nodelabelparameter

2016-01-14 Thread Eric Pyle
It looks like you don't have installed the token-macro and jquery plugins, or perhaps not the right versions. On 1/14/2016 3:36 AM, Tatzagata wrote: Caused by: java.io.IOException: Dependency token-macro (1.11), jquery (1.7.2-1) doesn't exist at hudson.PluginWrapper.resolvePluginDepen

Re: Run job on ALL cloud (i.e. Docker) slaves including a given label

2016-01-19 Thread Eric Pyle
I believe the problem is that Jenkins will not run multiple instances of a job with identical parameters. There have been posts on this list recently of users who solve this problem by adding an extra parameter which is unique for each job instance. Regards, Eric On 1/19/2016 11:13 AM, Julian

Re: [workflow plugin] use case question

2016-01-21 Thread Eric Pyle
I think you would need the NodeLabel Parameter Plugin. And as Craig Rodrigues recently posted, that plugin is not yet compatible with Workflow, although he has proposed a fix: == *Re: [workflow-plugin] Example using NodeLabel Parameter plugin?* It turns out that the NodeLabel Parameter

Re: No workspace variable during workflow / pipeline build?

2016-01-27 Thread Eric Pyle
WORKSPACE is documented as not being available in workflow/pipeline scripts. I found this when you select "env" under Global Variables in the snippet generator: The following variables are currently unavailable inside a workflow script: * |EXECUTOR_NUMBER| * |NODE_LABELS| * |WORKSPACE| * S

Re: No workspace variable during workflow / pipeline build?

2016-01-27 Thread Eric Pyle
Workaround: sh 'pwd > pwd.txt' workspace = readFile('pwd.txt') On 1/27/2016 1:15 PM, Eric Pyle wrote: WORKSPACE is documented as not being available in workflow/pipeline scripts. I found this when you select "env" under Global Variables in the snippet generat

Re: How do I configure a Jenkins build to push a file to a specific server on the network?

2016-02-01 Thread Eric Pyle
If I understand the question, you check "Restrict where this project can be run" in the job configuration to control where to run the job, assuming that the machine where you want to run it is a Jenkins slave. Eric On 2/1/2016 7:25 AM, Kiran wrote: I have those installed. I click "New Item."

Re: Conditional Step Regular Expression Match

2016-02-29 Thread Eric Pyle
Off the top of my head, the square brackets "[" and "]" are meaningful in RE syntax, representing a character class. Have you tried escaping them? On 2/29/2016 4:32 PM, Eric Fetzer wrote: I don't understand why the following is a match for my regex. Can someone tell me what makes it a match?

Re: Conditional Step Regular Expression Match

2016-03-01 Thread Eric Pyle
You need ".*" instead of "+" after the close parentheses. Otherwise you are only able to match the second entry in your label, because you are not allowing anything after the matched label. Eric On 3/1/2016 11:14 AM, Eric Fetzer wrote: Thanks for your response Matthew! With your change, we se

Re: Conditional Step Regular Expression Match

2016-03-08 Thread Eric Pyle
I believe the * following the closing parentheses means "zero or more occurrences of", and in this case applies to the contents of the parentheses. So it's matching on zero occurrences. You probably want ").*" Eric On 3/1/2016 9:20 AM, Eric Fetzer wrote: Thanks for the reply Eric! Sorry, the

Re: Start a job on slave / node that just connected to master server

2016-03-11 Thread Eric Pyle
Before the reboot, you could queue up the job you want to run right after reboot. If other jobs may be competing, you can give your special job a higher priority (priority sorter plugin). Eric On 3/11/2016 7:05 AM, Jakub Gladykowski wrote: On Friday, March 11, 2016 at 1:01:01 PM UTC+1, Simon

Re: Jenkins Pipeline/Workflow node name as variable

2016-03-21 Thread Eric Pyle
It looks like the word 'ENVIRONMENT' is misspelled in the stacktrace - not sure if this is the problem. The stacktrace indicates the error occurs on line 56 of your script, so it would help to know what is on that line. Eric On 3/21/2016 5:48 AM, Frank Hask wrote: @Baptiste When i use this

Re: Variables from variables and replacing forward slash with backslash

2016-03-23 Thread Eric Pyle
Hi, You say you know how to do this in a Windows batch file. Are you in an "execute shell" build step? If so this is just a shell question. Where do you need to use these new variables you define? If you need to reference them in a later build step, the Envinject plugin

Re: Multi job build in different nodes

2016-03-23 Thread Eric Pyle
I think you could define the node parameter in job 1 as a string, but in job 2 as a node parameter. You would just have to explicitly pass that parameter to job 2. On 3/23/2016 7:25 AM, steliosP wrote: I am trying to have a multi job build in Jenkins. The restriction is the following: Let's sa

Re: aborting the build not working

2016-04-12 Thread Eric Pyle
The build timeout plugin only looks at the time taken by the "Build Steps". So if it takes 3 minutes to check out code from your repository, that would not be included. Or if it takes 10 minutes to archive the artifacts, that's not counted either because it's post-build. The timestamps plugin can h

Re: Jenkins Pipeline Job sthrowing Error code 126 when trying to execute a sh command

2016-06-20 Thread Eric Pyle
kinsci-users/fa080423-5ce6-4b10-8749-1126fccd8c4a%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/fa080423-5ce6-4b10-8749-1126fccd8c4a%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- *Eric Py

Re: Acessing build dir from browser

2016-06-23 Thread Eric Pyle
roups.google.com/d/msgid/jenkinsci-users/dd64c508-a971-4706-9e8a-015221e29588%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- *Eric Pyle * Release Engineer Lebanon +1 603-277-3060 (T) +1 603-359-8670 (M) eric.p...@cd-

Re: Jenkinsfile environment setup help

2016-07-06 Thread Eric Pyle
on the web visit https://groups.google.com/d/msgid/jenkinsci-users/457a6cf4-2f48-4711-bea8-e48227f9ac3d%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/457a6cf4-2f48-4711-bea8-e48227f9ac3d%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options,

Re: Can I add a "publish" button to a build page

2016-07-12 Thread Eric Pyle
s://groups.google.com/d/msgid/jenkinsci-users/22e1eeef-42a3-4604-ba1a-5731e1b91efd%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- *Eric Pyle * Release Engineer Lebanon +1 603-277-3060 (T) +1 603-359-8670 (M) eric.p...

Re: not able to change string value in Jenkinsfile

2018-04-26 Thread Eric Pyle
environment variable:     environment name: 'test_result', value: '1' Here you are reading an environment variable "environment name: 'test_result'..." Instead you need to read your Groovy variable:     expression {test_result == '1'} or even more d

Re: Jenkins Sonar Plugin groovy script

2018-05-18 Thread Eric Pyle
r...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/7b3e5b1f-f8e4-4fcb-8cfd-c6822d573175%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/7b3e5b1f-f8e4-4fcb-8cfd-c6822d573175%40googlegroups.co

Re: Jenkins Sonar Plugin groovy script

2018-05-18 Thread Eric Pyle
; >> at hudson.cli.CLICommand.main(CLICommand.java:278) >> >> at hudson.cli.CliManagerImpl.main(CliManagerImpl.java:95) >> Could someone help me in solving this script. It might be an constructor >> issue. >> >> Thanks! >> >&

Re: Cancel or abort a freestyle job and mark job as success

2018-05-24 Thread Eric Pyle
6344fa-c1b1-4701-bc00-963d21798c2b%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/316344fa-c1b1-4701-bc00-963d21798c2b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. >

Re: Can you specify a host / agent for a single build step in a freestyle project?

2018-12-07 Thread Eric Pyle
org <https://groups.google.com/d/msgid/jenkinsci-users/9FA3D883-1C4C-410E-B971-357859C44F09%40vonnieda.org?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 htt

Re: Why does it running on another node?

2018-12-17 Thread Eric Pyle
enkinsci-users/1078c386-120f-40cc-b758-adbf1aa925aa%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/1078c386-120f-40cc-b758-adbf1aa925aa%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- Eric Pyle Siemens P

Re: Why does it running on another node?

2018-12-18 Thread Eric Pyle
this node used "Only build jobs with label restrictions matching this node." option, so a job of don't restrict the job does it still picking up this node? 在 2018年12月17日星期一 UTC+8下午10:37:58,Eric Pyle写道: If you don't restrict the job, it will pick one of the available

Re: Using a Variable in Execute Shell that has a . in it

2019-02-08 Thread Eric Pyle
com <https://groups.google.com/d/msgid/jenkinsci-users/613d8387-e420-4898-b8da-47fbed8aeceb%40googlegroups.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 ht

Re: configuration of jobs maintained in SVN

2019-02-28 Thread Eric Pyle
nd visible in the browser interface). Is there any other way to inform Jenkings about the change and let it reload the modified job config? Thanks matthias -- Eric Pyle Siemens PLM Software Lebanon, NH +1 603-277-3060 eric.p...@siemens.com http://www.siemens.com/plm -- You received th

Re: parallel remote trigger builds in a pipeline

2017-03-15 Thread Eric Pyle
t https://groups.google.com/d/msgid/jenkinsci-users/d029d9be-d81e-4b4c-9210-396a4add6d46%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/d029d9be-d81e-4b4c-9210-396a4add6d46%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://gro

Re: parallel remote trigger builds in a pipeline

2017-03-15 Thread Eric Pyle
roups.google.com/d/msgid/jenkinsci-users/3870cfdc-f429-4e82-9b1f-fbf24fc0dc24%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/3870cfdc-f429-4e82-9b1f-fbf24fc0dc24%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.goo

Re: LTS upgrade has no slave.jar?

2017-04-07 Thread Eric Pyle
om/d/msgid/jenkinsci-users/4171c98c-ad7a-447b-aa90-cc306a25593d%40googlegroups.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 (T) +1 603-359-8670 (M) eric.p...@siemens.com &l

Re: can i use variable to specify the agent label in my declarative pipeline ?

2017-05-03 Thread Eric Pyle
-4ad2-9017-d6dcf89a7b36%40googlegroups.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 yo

Re: can i use variable to specify the agent label in my declarative pipeline ?

2017-05-04 Thread Eric Pyle
h the label ‘null’' error. I am able to print the value of exact same variable but it seems it is not resolving the variable name in here. Is there something else i need to do here ? On Wednesday, 3 May 2017 17:51:21 UTC+2, Eric Pyle wrote: It should work if you use double quotes a

Re: Injecting environment variables - sourcing shell script

2017-06-12 Thread Eric Pyle
0googlegroups.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 Go

Re: Multiline regex not working in Build Failure Analyzer Plugin

2017-07-19 Thread Eric Pyle
il&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 Groups "Jenkins User

Re: Deploy on failure

2016-07-18 Thread Eric Pyle
jenkinsci-users/c2c10f62-1c57-442b-bc00-7893efd870c2%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/c2c10f62-1c57-442b-bc00-7893efd870c2%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- *Eric

Re: Jenkins + Android: Two Problems. Please help.

2016-07-18 Thread Eric Pyle
sion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e43c465b-0849-4324-93c7-090cd1b6a276%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/e43c465b-0849-4324-93c7-090cd1b6a276%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit

Re: Jenkins on AIX Installation

2016-07-22 Thread Eric Pyle
;https://groups.google.com/d/msgid/jenkinsci-users/22c8342ddfa741e980213f600f3a9134%40mbx02cmb01p.esentire.local?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- *Eric Pyle * Release Engineer Lebanon +1 603-277-3060 (T) +1 603-359-86

Re: project-based security is missing .. please help

2016-07-25 Thread Eric Pyle
.google.com/d/msgid/jenkinsci-users/26488d17-e46e-48f3-8d1a-4421ccbc3039%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- *Eric Pyle * Release Engineer Lebanon +1 603-277-3060 (T) +1 603-359-8670 (M) eric.p...@cd-a

Re: What is a permanent agent or slave server when discussing Jenkins?

2016-08-19 Thread Eric Pyle
r more options, visit https://groups.google.com/d/optout. -- *Eric Pyle * Release Engineer Lebanon +1 603-277-3060 (T) +1 603-359-8670 (M) eric.p...@cd-adapco.com <mailto:eric.p...@cd-adapco.com> http://www.cd-adapco.com <http://www.cd-adapco.com> -- You received this message becaus

Re: 'Parameters from properties file' not working in 2.7.3

2016-10-03 Thread Eric Pyle
t;https://groups.google.com/d/msgid/jenkinsci-users/b12eeaba-5b5f-4531-984e-1350bfe28524%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- *Eric Pyle * Release Engineer Lebanon +1 603-277-3060 (T) +1 603-359-8670 (M) eric.

Re: 'Parameters from properties file' not working in 2.7.3

2016-10-03 Thread Eric Pyle
groups.google.com/d/msgid/jenkinsci-users/abaee195-c7b3-43b8-b46c-50a59f7ec787%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/abaee195-c7b3-43b8-b46c-50a59f7ec787%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.goog

Re: 'Parameters from properties file' not working in 2.7.3

2016-10-03 Thread Eric Pyle
rs/abaee195-c7b3-43b8-b46c-50a59f7ec787%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/abaee195-c7b3-43b8-b46c-50a59f7ec787%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- *Eric Pyle * Rele

Re: NodeJS Plugin:in windows : npm commends not working

2016-10-18 Thread Eric Pyle
ium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- *Eric Pyle * Release Engineer Lebanon +1 603-277-3060 (T) +1 603-359-8670 (M) eric.p...@cd-adapco.com <mailto:eric.p...@cd-adapco.com> http://www.cd-adapco.com <http://www.cd-adapco.com>

Re: Private message regarding: NodeJS Plugin:in windows : npm commends not working

2016-10-20 Thread Eric Pyle
bolleypally vijay kumar wrote: Hi Eric Pyle, Thanks for your help as you mentioned i installed Cygwin and added to path and able to access all Linux commands in windows cmd now when i run the job error was different '/usr/bin/dirname: missing operand' Please find ATTACHED Screens for

Re: Jenkins upgrade from 1.608 to 2.9-1.1 version on CentOS release 6.8 (Final).

2016-10-26 Thread Eric Pyle
com/d/msgid/jenkinsci-users/0a315223-843f-4aea-9d27-2b1c7044f4e1%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/0a315223-843f-4aea-9d27-2b1c7044f4e1%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/op

Re: Keeping cloned job updated with changes made in the original job

2016-11-30 Thread Eric Pyle
3-4c0c-8efd-322fb40b20d0%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- *Eric Pyle * Release Engineer Lebanon +1 603-277-3060 (T) +1 603-359-8670 (M) eric.p...@cd-adapco.com <mailto:eric.p...@cd-adapco.com> http://www.cd

Re: pythonpath in declarative pipepline built on docker slave

2016-12-20 Thread Eric Pyle
iew this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c3a15a5c-011c-4986-b1d3-cfc669a87804%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/c3a15a5c-011c-4986-b1d3-cfc669a87804%40googlegroups.com?utm_medium=email&utm_source=footer>. For

Re: Question about code change

2016-12-21 Thread Eric Pyle
2-457a-bc14-bd7daa31b4de%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/00bdf867-6ee2-457a-bc14-bd7daa31b4de%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- *Eric Pyle * Release Engineer Leba

Re: What is the proper name for "ghost" jobs and how are they controlled?

2017-02-01 Thread Eric Pyle
c4fe2%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/335ed9c7-ea23-4eec-9ceb-0b75cfcc4fe2%40googlegroups.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 (T)

Re: Jenkinsfile pipeline for go builds... need an example.

2017-02-17 Thread Eric Pyle
212f-0062-4471-9283-8ad975b6c2cc%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/6498212f-0062-4471-9283-8ad975b6c2cc%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- *Eric Pyle * Siemens PLM Softwa

Re: How to access Jenkins server using Python Or JenkinsApi for Windows

2017-02-27 Thread Eric Pyle
groups.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 (T) +1 603-359-8670 (M) eric.p...@siemens.com <mailto:eric.p...@cd-adapco.com> http://www.siemens.com/plm <ht

Re: How to access Jenkins server using Python Or JenkinsApi for Windows

2017-02-28 Thread Eric Pyle
nks and Regards, Sujith On Monday, February 27, 2017 at 8:06:49 PM UTC+5:30, Eric Pyle wrote: I use Jenkinsapi for both Linux and Windows with no problem. You just need to install Jenkinsapi module in the Python installation used by each build machine, e.g. by "pip install jenkin

Re: How can i execute shell scripts from Jenkins ?

2021-03-05 Thread Eric Pyle
Typically such problems are because the shell script is tested under a different user account than the one used by Jenkins. This may result in commands not being found due to different $PATH settings or permission errors because of different user permissions. It's hard to be more specific witho

Re: New build with higher priority

2023-05-26 Thread Eric Pyle
ing emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/535c7b9078e6fcc7dbc9a5838eb83c6a%40indel.ch > . > -- *Eric Pyle* Siemens Digital Industries Sof

Re: How to add files as artifacts to a build

2015-02-11 Thread Eric Pyle
Can you run these additional batch jobs as a build step in your Jenkins job? Then you can archive their output in addition to whatever results are produced by the plugin. Eric On 2/11/2015 10:42 AM, bruno.mart...@liebherr.com wrote: Hi everyone, I'm currently using the PRQA plugin (a static c

Re: Slave not connecting - Windows Server 2012 "Message not found for errorCode: 0x80010105"

2015-03-23 Thread Eric Pyle
Have a look at https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM. Also https://issues.jenkins-ci.org/browse/JENKINS-22314 may be helpful. Eric On 3/23/2015 11:31 AM, VFloyd wrote: Message not found for errorCode: 0x80010105 -- You received this message becaus

Re: Cannot change width of Execute shell text box on configure page for a project

2015-03-25 Thread Eric Pyle
Although I know it's not the same thing, you could build up a string variable containing pieces of the command and then run that. You should also upgrade to 1.601 because there are some known issues with 1.600. cmdline="blah ddd xxx etc etc etc" cmdline="${cmdline} more command and args et

Re: re-run build step if failed

2015-03-27 Thread Eric Pyle
You would need to configure the retry completely within the build step then, using a bash script or something similar. You would perform the build step, perhaps in a separate script, and check the status when it returns. If it failed, you could perform cleanup if needed and retry. Eric On 3/2

Re: Can't Find MSBuild in configuration

2015-03-31 Thread Eric Pyle
You probably need to install the MSBuild Plugin . Check Manage Jenkins>Manage Plugins>Installed to see whether it's installed, use the Available tab to install it if needed. Eric On 3/31/2015 3:16 PM, Anthony Stavile wrote: I ran j

Re: Plugin: how do I trigger a preoperation plugin before saving any jobs?

2015-04-02 Thread Eric Pyle
You could probably look at the code for the JobConfigHistory plugin, because it records the config.xml each time you save or apply a job configuration. Eric On 4/2/2015 1:12 PM, Victor Martinez wrote: Hi guys, I wonder if you know if I can code some kind of plugin which will run every time

Re: Jenkins 1.596 script won't run with security configured

2015-04-02 Thread Eric Pyle
See Authenticating Scripted Clients page on the wiki. On 4/2/2015 12:22 PM, Murthy Gandikota wrote: Hi All I am trying to run a shell script in a project as root. Without security enabled it runs fine. With securit

Re: ordering post build actions

2015-04-07 Thread Eric Pyle
s://groups.google.com/d/msgid/jenkinsci-users/0786c896-83d9-4d95-ba38-c8b716d235a3%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/0786c896-83d9-4d95-ba38-c8b716d235a3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit http

Re: sh file permissions

2015-05-08 Thread Eric Pyle
Hi Ashish, Assuming your .sh file is kept in source control, you need to make the file executable and commit that change to your source control system. Or you could just add the command "chmod +x .sh" before running the script. Regards, Eric On 5/8/2015 12:24 PM, Ashish Yadav wrote: I am tr

Re: How to run set of regression tests across multiple svn branches?

2015-05-29 Thread Eric Pyle
Would a multi-configuration (matrix) build work in this case? On 5/29/2015 8:30 AM, David Aldrich wrote: Hi We develop an application that lives in a svn repository. New features are added in branches, which can be long-lived. I need to regularly run the same set of regression tests on each

Re: How to test a machine that gets rebuilt as part of the test?

2015-06-03 Thread Eric Pyle
I assume that the new ISO image includes Jenkins slave installation, or can it be made to do so? If not, you would need to script the Jenkins master creating a new slave (presumably after deleting the old one). This is assuming a slave setup you can configure solely from the master, such as sta

Re: How to test a machine that gets rebuilt as part of the test?

2015-06-03 Thread Eric Pyle
You can look at the Jenkins CLI - http://yourjenkins:port/cli. There are commands create-node and delete-node, as well as offline-node and online-node. It's possible you could reconnect to the re-created node without deleting and re-creating - I've never tried it. For an example of a script to

Re: Running multiple build steps in a single job

2015-06-05 Thread Eric Pyle
I think you would have to set this up in a script and just call the script from Jenkins. Especially if you need to perform a clean-up action if one step fails. It could be a shell script, or you could look into Workflow. Regards, Eric On 6/5/2015 6:57 AM, Rohit Sharma wrote: Hi I tried the

Re: Matrix building and triggered builds on nodes with teh same OS

2015-06-19 Thread Eric Pyle
Hi Bob, You should be able to configure the triggered builds to use a particular label, using the NodeLabel Parameter Plugin, which lets you pass a parameter indicating a label the job should run on. Regards, Eric On 6/18/2015 5:50 PM, Bob Stafford wrote: Hi All, I'm new to Jenkins so I ap

Re: Matrix building and triggered builds on nodes with teh same OS

2015-06-19 Thread Eric Pyle
S. On Friday, June 19, 2015 at 8:59:43 AM UTC-5, Eric Pyle wrote: Hi Bob, You should be able to configure the triggered builds to use a particular label, using the NodeLabel Parameter Plugin, which lets you pass a parameter indicating a label the job should run on. Regards

Re: What Jenkins copies from slave to master when a build finishes?

2015-06-29 Thread Eric Pyle
The Jenkins book is correct, but the terminology can be misleading. Artifacts and build results will indeed be stored on the Jenkins master. However, "build results" include only success/failure, console log, and other things Jenkins and your plugins use to perform their functions. "Artifacts"

Re: Forcing another job to run immediately on same node

2015-07-21 Thread Eric Pyle
One way to do this is using the Priority Sorter Plugin, and give jobB a high priority. On 7/20/2015 10:38 AM, Porter Bassett wrote: I am trying to break up a job into two smaller jobs, which I'll call jobA and jobB. I want jobB to run *immediately* after jobA, and on the same node, just like

Re: Failure when building LibreOffice on Windows 7 via Jenkins

2015-08-04 Thread Eric Pyle
I wonder if you are getting the DOS "sort" command instead of Cygwin. Try giving the full Cygwin path to sort. Eric On 8/4/2015 4:44 AM, Jan-Marek Glogowski wrote: Hi I'm trying to build LibreOffice 5.0 32bit on Windows 7 64bit. The setup was working for a long time, but failed to work after

Re: 'cordova' command not recognised on Jenkins Windows slave

2015-08-14 Thread Eric Pyle
Hi, Apparently 'cordova' is not on the %PATH% for the user running Jenkins. You may want to manually add the appropriate PATH entries before calling cordova, or you can set build variables in the job definition (Build Environment section, requires Envinject plugin). Regards, Eric On 8/14/20

Re: 'cordova' command not recognised on Jenkins Windows slave

2015-08-17 Thread Eric Pyle
path? > > In the properties file, should I specify the path to nodejs as > CORDOVA_PATH? > > Can't see much help on the cordova-Jenkins on the net too. > > Thanks, > Shaji > > On Friday, 14 August 2015 21:46:39 UTC+1, Eric Pyle wrote: > >> Hi, >> &

Re: Grails Jenkins CI not working

2015-08-19 Thread Eric Pyle
It also looks like there are two double quotes in the beginning right after the first single quote. I think there should only be one double quote there, or the quoting will come out wrong. Also, I'm not sure you need the single quotes at all. Eric On 8/19/2015 8:38 AM, Mark Waite wrote: Si

Re: Aggregating Downstream test results - Not working though everything is setup fine

2015-09-17 Thread Eric Pyle
I think the way aggregation was intended to work, a job would produce some artifact, fingerprint the artifact, and trigger downstream builds to do something with the artifact. The test results would be aggregated by the upstream job which created the artifact. The fingerprint provides the link

Re: Jenkins reports The SDK directory 'H:\Android\android-sdk' does not exist

2015-10-14 Thread Eric Pyle
Assuming that H: is a network drive, if Jenkins is running as a service under the default Local System account, it will not have access to network resources. Jenkins needs to run as a user with network privileges. Eric On 10/13/2015 9:29 PM, Mark Elston wrote: I am using Jenkins to build sever

Re: Combining 3 Masters to One

2015-10-19 Thread Eric Pyle
I'd think it would be a lot easier to do using Jenkins CLI. Run get-job [job-name] on the separate master and pipe to create-job on the combined master. I've done this to move jobs from one master to another before. Eric On 10/19/2015 12:48 PM, Eric Naitove wrote: I have 3 separate masters tha

Re: python build script hanging

2015-10-21 Thread Eric Pyle
Try running Python with the -u option (unbuffered output). Otherwise the output from Python is not in sync with what is happening in real time. On 10/21/2015 6:05 PM, Mishael Kim wrote: Hi, I was hoping someone could provide some tips on how to debug/fix this issue i'm seeing. I'm launchin

Re: python build script hanging

2015-10-21 Thread Eric Pyle
potential side effects when using this? Performance? Thanks! On Wed, Oct 21, 2015 at 4:19 PM, Eric Pyle <mailto:eric.p...@cd-adapco.com>> wrote: Try running Python with the -u option (unbuffered output). Otherwise the output from Python is not in sync with what is happenin

Re: Failt to build maven project in Jenkins, though it is successful by direct building with maven

2015-10-22 Thread Eric Pyle
The Jenkins process likely does not have drive Z: mapped. You may need to specifically issue the "net use" command in your slave startup or in your job. If so, I recommend using the /Y parameter to "net use", which will allow the command to succeed even if the drive is already mapped. Eric On

<    1   2