Re: [workflow-plugin] Technical limitations for a workflow Groovy script

2015-02-06 Thread Baptiste Mathus
IIUC, for the moment only GStrings are whitelisted: see https://github.com/jenkinsci/workflow-plugin/blob/master/cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsWhitelist.java#L54 I guess we'll need feedback of Jesse or Kohsuke as to where they want to go about that: filing JIRAs for class

Re: [workflow-plugin] Technical limitations for a workflow Groovy script

2015-02-06 Thread Baptiste Mathus
Hi, As the inline documentation (see the question marks on the right), this is because your code runs in sandboxed mode/you're not an admin: if *Use Groovy Sandbox* is checked, or you are not an administrator, not all APIs will be available. (Though I somehow agree that at first sight StringBuilde

Re: [workflow-plugin] how do you access job output parameters?

2015-02-06 Thread Baptiste Mathus
Le 6 févr. 2015 17:32, "Andy Piper" a écrit : > > So to answer my own question, here is what worked for me: > > > def corejob = build job: 'MyJob', parameters: buildparams > def item = hudson.model.Hudson.instance.getItem('MyJob') > def changelist = item.lastBuild.getEnvironment(null).

Python Developer Needed Philadelphia PA ::INPERSON INTERVIEW NEXT WEEK

2015-02-06 Thread SoftSages Technology
*Greetings from SoftSages Technology!!* Hope you are doing good!!! *I am reaching for an urgent need of **Python Developer In PA* *, consultant should be able to attend in-person round of interview.* *Please send the resume at suj...@softsages.com or Call at | 484 402 7869 X 103 |* *Role

[workflow-plugin] Technical limitations for a workflow Groovy script

2015-02-06 Thread Benjamin Muschko
Hi, I was wondering what the technical limitations are for a workflow Groovy script, more specifically: 1) Is is possible to use classes like StringBuilder? Example: stage 'tryout' node { useStringBuilder() } def useStringBuilder() { echo "Before usage" StringBuilder test = new S

launching slave agent with curl?

2015-02-06 Thread randal cobb
Hello all, I know I can toggle a slave's on/offline state with a curl command. Is there one I can use to launch the slave agent on a host after a reboot of the slave? For example, I know I can use something like this: curl --silent --user user:password -d "offlineMessage=back_in_a_moment&json

can you use build step env in publisher path elements?

2015-02-06 Thread Greg Moncreaff
We have a case where there are multiple jobs using the same workspace. [Its a base clearcase dynamic view thing] I'd like to have the build steps produce log files in ${WORKSPACE}/${JOB_NAME}/my_tool.out.txt And have publishers (e.g. warnings parser, etc) look for ${JOB_NAME}/my_tool.out.txt

Re: job executor affinity on single node master only

2015-02-06 Thread Greg Moncreaff
we ended up using the 'throttle concurrent builds' plugin, an defining categories for each teams jobs, and an executor pool for each teams jobs. > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop r

Out Of Memory Error

2015-02-06 Thread Robert Beddow
Hi, I am having trouble with Jenkins being killed by an out of memory process. After it is killed with the following info: Feb 6, 2015 12:54:07 PM hudson.model.AsyncPeriodicWork$1 run INFO: Finished Out of order build detection. 279,864 ms Feb 6, 2015 12:59:10 PM hudson.model.Run execute INFO: j

Re: [workflow-plugin] how do you access job output parameters?

2015-02-06 Thread Andy Piper
So to answer my own question, here is what worked for me: def corejob = build job: 'MyJob', parameters: buildparams def item = hudson.model.Hudson.instance.getItem('MyJob') def changelist = item.lastBuild.getEnvironment(null).get('P4_CHANGELIST') buildparams.add(new hudson.mode

Re: Speed up Jenkins cloning git repositories with Multiple SCM plugin and multi-configuration

2015-02-06 Thread Mark Waite
On Fri, Feb 6, 2015 at 7:37 AM, Titus Nachbauer wrote: > On my previous project we indeed had some binaries in the repos, which > made cloning a pain. However, we now have very new, very small repos, which > contain nothing but the code and some configuration and documentation. So > no binaries.

Simple Jelly prevents the build step from appearing

2015-02-06 Thread Kirill
Hi, I have created a build step that contains a simple drop-down list that should provide different UI pieces depending on selection. Selection contains just 2 hard-coded items. That's how I implemented it: Event XML is selected Event GAV is selected The

Re: Speed up Jenkins cloning git repositories with Multiple SCM plugin and multi-configuration

2015-02-06 Thread Titus Nachbauer
On my previous project we indeed had some binaries in the repos, which made cloning a pain. However, we now have very new, very small repos, which contain nothing but the code and some configuration and documentation. So no binaries. I will look into the file system though, because Jenkins is r

Re: Speed up Jenkins cloning git repositories with Multiple SCM plugin and multi-configuration

2015-02-06 Thread Mark Waite
On Fri, Feb 6, 2015 at 5:50 AM, Titus Nachbauer wrote: > Thank you for the kind answer. I saw many of the git plugin options > mentioned here and there, but since I am using the Multiple SCM plugin, > there is no place to select these options. Would you know where to find > them and if it is poss

Re: Suitable Use Case for Jenkins - Windows Deployment and integration Testing of Commerical Applications ?

2015-02-06 Thread mobcdi
Thanks to all who replied, looks like it is possible with a bit of work. For completeness looking at test complete by smart bear was also suggested in case others are following the discussion http://smartbear.com/product/testcomplete/overview/

Re: Speed up Jenkins cloning git repositories with Multiple SCM plugin and multi-configuration

2015-02-06 Thread Titus Nachbauer
Thank you for the kind answer. I saw many of the git plugin options mentioned here and there, but since I am using the Multiple SCM plugin, there is no place to select these options. Would you know where to find them and if it is possible with this plugin? About the cloning: I know that in gene

Re: Speed up Jenkins cloning git repositories with Multiple SCM plugin and multi-configuration

2015-02-06 Thread Mark Waite
On Fri, Feb 6, 2015 at 3:32 AM, Titus Nachbauer wrote: > We have a Jenkins job which uses Multiple SCM to clone 5 repositories and > then builds it using a gradle script. There are two things that are slowing > us down: > >1. A build is triggered on every repository on every change. That is >

Re: Job DSL plugin problem with deactivation of customWorkspace

2015-02-06 Thread Rolf Geuenich
Hi, if someone else has the same problem: I've created this issue: https://issues.jenkins-ci.org/browse/JENKINS-26825 Best regards, Rolf -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails

How to correctly trigger builds from Bitbucket in a multi-repository project on Jenkins

2015-02-06 Thread Titus Nachbauer
We have a Java project that consists of four layers and a folder holding the main build scripts. These are all in their own git repository, hosted on BitBucket. We have a Jenkins server running on our network and the builds are triggered by BitBucket using a POST hook for more control: http:/

Speed up Jenkins cloning git repositories with Multiple SCM plugin and multi-configuration

2015-02-06 Thread Titus Nachbauer
We have a Jenkins job which uses Multiple SCM to clone 5 repositories and then builds it using a gradle script. There are two things that are slowing us down: 1. A build is triggered on every repository on every change. That is fine, but it currently means that every time one of the rep