Re: Jenkins ignores Maven profile properties

2016-02-16 Thread Arnaud Héritier
Hi Martijn, How did you ensure that the maven settings.xml file is used by your build ? Did you manually deployed it on the slave where the job is executed or by using a plugin like the Config File Provider ? What you did seems good, thus I think that the problem is that Maven doesn't see at

Re: scm sync plugin error on windows

2016-02-16 Thread Kelly Goedert
Hi, No, I didn't. Sorry if it seems stupid, but, how do I disable that? On Tuesday, February 16, 2016 at 5:28:31 AM UTC-2, m...@marketech.co.za wrote: > > Hi there Kelly Goedert > > Have you tried disabling the windows indexing? > > Kind Regards > Malan van Eck > > On Monday, 1 February 2016 1

Re: Using a custom workspace located on a windows share drive on a windows slave

2016-02-16 Thread Ioannis Moutsatsos
Good info. Thanks for sharing! Were you logged into RDP using the same Jenkins user account that runs the service? Best regards Ioannis On Monday, February 15, 2016 at 7:28:55 AM UTC-5, Gary Bell wrote: > > Hi Everyone, posting this in case it helps someone else in the same > situation as I was.

Re: Build With Parameters link and the flow after that......

2016-02-16 Thread Ioannis Moutsatsos
If I understand this correctly, you want to have one parameter widget updated based on input from the other before it. We call this cascading parameters Take a look at the Jenkins Active Choices[1] plugin. It has many options for supporting this use case [1] https://wiki.jenkins-ci.org/display/

Fetching pipeline script from Git

2016-02-16 Thread Tomasz Szandała
Greetings, All, I have the following script fetched from Git using Pipeline Git plugin. Unortunatelly I'm getting the following error: *org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class org.jenkinsci.plugins.workflow.cps.steps.Paral

RE: Using a custom workspace located on a windows share drive on a windows slave

2016-02-16 Thread Gary Bell
Yes, the same user. The Jenkins service is set to run as a normal domain account that I also used to RDP into the machine. Gary. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it,

Re: Jenkins Workflow/Pipeline - Separate SCM / Gitlab

2016-02-16 Thread Peter Nijssen
That is a possibility. I would love to see a better integration though :( On Sunday, 14 February 2016 19:13:24 UTC+1, ok999 wrote: > > i simply create a job that check the SCM for any changes. And then set the > pipeline job as downstream job. > > > > On Saturday, February 13, 2016 at 4:42:41 PM

identify builds logs

2016-02-16 Thread GS_L
Hi I forwarding all my Jenkins jobs logs to logentries - to the same endpoint. When I search for a specific string in the logs - I get all the raws including the specific string of all logs, without knowing which log is it. Is there a way to add the job name for every log line? Thanks -- You

Re: Fetching pipeline script from Git

2016-02-16 Thread Baptiste Mathus
Hi, the `parallel` step actually expects a map, not an array/list. That is, should be: `buildClosures = []` and something like buildClosures.put("the subbuild $i", curClosure) Cheers 2016-02-16 11:50 GMT+00:00 Tomasz Szandała : > Greetings, All, > I have the following script fetched from Gi

Re: metrics support? # of failures/successful builds

2016-02-16 Thread jaspreet singh
I can see the column on the dashboard but where is the portlet visible in jenkins.? Thanks in advance On Tuesday, 29 March 2011 13:32:04 UTC+5:30, mambu wrote: > > Forgot to tell the name of the plugin! > http://wiki.jenkins-ci.org/display/JENKINS/Project+Statistics+Plugin > > On 29 March 2011

Re: Hiding login and password credentials

2016-02-16 Thread Hector Magnanao
my environment is Jenkins 1.625.2 on Windows Server 2008 On Monday, February 15, 2016 at 11:34:17 AM UTC-6, Hector Magnanao wrote: > > Is there a way for me to hide my login and password credentials to my > source code management tool when I have to call it from a powershell script > ? > -- Yo

Workflow: will executing node('some_machine') twice yield the same current directory

2016-02-16 Thread Nick Witkowski
Hi, I have a question regarding workflow or now the pipeline plugin. If I execute the following workflow job: node('A') { sh "pwd" } node('A') { sh "pwd" } Is the second execution guaranteed to execute on the same node and directory? What I really want to do is: parallel(build stuff in paral

Polling in Jenkins

2016-02-16 Thread Hector Magnanao
I'm using Jenkins 1.625.2 How do I setup polling in Jenkins so that my build will execute whenever a file is checked in ? I tried to setup polling but when I choose Poll SCM, it asked for a schedule. Do I have to put in a schedule or is there a way to setup polling without schedule ? I want my

Re: Polling in Jenkins

2016-02-16 Thread Daniel Beck
If you're polling, you need to define a schedule -- Jenkins needs to know how often to poll, after all. This can be as simple as '* * * * *', which means "every minute". Consider looking into (SCM specific) post-commit hooks, those notify Jenkins of changes immediately, and don't require Jenkin

Re: Polling in Jenkins

2016-02-16 Thread Hector Magnanao
I tried polling with a schedule like H/10 * * * * which means "every 10 minutes". But polling doesn't seem to work. How can I setup a post-commit hook to notify Jenkins of checkins. ? On Tuesday, February 16, 2016 at 12:26:58 PM UTC-6, Daniel Beck wrote: > If you're polling, you need to d

RE: Polling in Jenkins

2016-02-16 Thread John Mellor
Hector stated: Ø I tried polling with a schedule like H/10 * * * * which means "every 10 minutes". But polling doesn't seem to work. H/10 * * * * should give you a pooling cycle of about every 6 minutes, not 10. I use something similar because my current git repo does not allow me to insert

With global security enabled, how to block some users from killing (cancelling) other's jobs?

2016-02-16 Thread Nicolas Perrier
Greetings, My Jenkins instance has Global Security enabled and uses the Matrix-based security. The user authentication is configured using a single unix group (instead of copying/pasting the settings for all the users on separate lines) -- this makes it easy to customize the security for all th

Re: Workflow: will executing node('some_machine') twice yield the same current directory

2016-02-16 Thread James Nord
short answer no - it is not guaranteed. - you may have more than 1 executor on that node and you may have multiple simultaneous runs of the same pipeline so they would get different workspaces. There are also other reasons why you should not do that... If you need the files to be there look at

Re: Workflow: will executing node('some_machine') twice yield the same current directory

2016-02-16 Thread Nick Witkowski
Ok thanks! I will look into stash. On Tuesday, 16 February 2016, James Nord wrote: > short answer no - it is not guaranteed. > > - you may have more than 1 executor on that node and you may have multiple > simultaneous runs of the same pipeline so they would get different > workspaces. > > There

Re: Polling in Jenkins

2016-02-16 Thread Hector Magnanao
Jenkins is telling me that I have too many threads stuck. On Tuesday, February 16, 2016 at 2:48:56 PM UTC-6, John Mellor wrote: > > Hector stated: > > Ø I tried polling with a schedule like H/10 * * * * which means "every > 10 minutes". But polling doesn't seem to work. > > > > H/10 * *

Re: Polling in Jenkins

2016-02-16 Thread Victor Martinez
Probably there are more posts about using pull rather than polling: - http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds-from-a-git-hook/ On Tuesday, 16 February 2016 22:02:48 UTC, Hector Magnanao wrote: > > Jenkins is telling me that I have too many threads stuck. > > On

Re: With global security enabled, how to block some users from killing (cancelling) other's jobs?

2016-02-16 Thread Victor Martinez
Have you tried the Ownership plugin? It gives more granularity: - https://wiki.jenkins-ci.org/display/JENKINS/Ownership-Based+security Cheers On Tuesday, 16 February 2016 20:59:32 UTC, Nicolas Perrier wrote: > > Greetings, > > My Jenkins instance has Global Security enabled and uses the Matrix-ba

Re: plugin info

2016-02-16 Thread Victor Martinez
Hi, If you need help with developing it's worth if you ask the Jenkins dev groups instead this one. Cheers On Tuesday, 16 February 2016 03:53:12 UTC, Irfan Sayed wrote: > > please suggest. i am stuck really > > Regards > Irfan > > > On Mon, Feb 15, 2016 at 2:42 AM, Irfan Sayed > wrote: > >> p

Scheduled maintenance notice: 2016-02-17 05:00 UTC

2016-02-16 Thread R. Tyler Croy
I will be rolling some reboots through the Jenkins infrastructure this evening (PST) in order to address CVE-2015-7547 / USN-2900-1 (http://www.ubuntu.com/usn/usn-2900-1/). Our internal ticket tracking this can be found here: https://issues.jenkins-ci.org/browse/INFRA-566 I expect the impact to b

Re: Scheduled maintenance notice: 2016-02-17 05:00 UTC

2016-02-16 Thread niristotle okram
Does this include the update center site as well? On Tuesday, February 16, 2016, R. Tyler Croy wrote: > > I will be rolling some reboots through the Jenkins infrastructure this > evening > (PST) in order to address CVE-2015-7547 / USN-2900-1 > (http://www.ubuntu.com/usn/usn-2900-1/). Our interna

Is there any way for an Administrator to view a job as Non-Admin

2016-02-16 Thread Mark Bidewell
Is there any way for an Administrator to view a job as Non-Admin? This would be helpful when testing roles and permissions. Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from

Re: Scheduled maintenance notice: 2016-02-17 05:00 UTC

2016-02-16 Thread R. Tyler Croy
(replies inline) On Tue, 16 Feb 2016, niristotle okram wrote: > Does this include the update center site as well? Yes, consider everything hosted under jenkins-ci.org to be subject to this maintenance notice (not everything will be affected but might as well include it) > On Tuesday, Februar

Re: Is there any way for an Administrator to view a job as Non-Admin

2016-02-16 Thread jieryn
https://wiki.jenkins-ci.org/display/JENKINS/Extended+Read+Permission+Plugin Then just look at the job without being logged in.. On Tue, Feb 16, 2016 at 7:33 PM, Mark Bidewell wrote: > Is there any way for an Administrator to view a job as Non-Admin? This > would be helpful when testing roles an

Using Jenkins Pipeline to run tests against Docker image

2016-02-16 Thread Lou Sacco
I'm using the Pipeline plugin to spawn a Docker image that I could run some tests against. I have a Node.js project that is basically a REST service. I have some tests written with Mocha that I would like to run once the server is up. This seems like the right plugin to accomplish this and the G

Re: Scheduled maintenance notice: 2016-02-17 05:00 UTC

2016-02-16 Thread R. Tyler Croy
(replies inline) On Tue, 16 Feb 2016, R. Tyler Croy wrote: > > I will be rolling some reboots through the Jenkins infrastructure this evening > (PST) in order to address CVE-2015-7547 / USN-2900-1 > (http://www.ubuntu.com/usn/usn-2900-1/). Our internal ticket tracking this can > be found here: h