Re: Remote trigger job between masters with file upload/transfer

2015-03-30 Thread Brantone
Best option looks to be a bit of a cobbled together solution of : get next build number, curl by posting the file, then using that build number to monitor until it's completed. Feels like a complete hack, but ... so be it :( On Friday, 6 March 2015 00:27:38 UTC-8, Brantone wrote: Hey,

Re: Automatic build chain

2015-03-30 Thread Brantone
Just to be clear, based on your description, the build order would be D - B - C - A ? Are B + C in parallel?? Yes, there are a number of plugins that do that, a great one is Multi-Job plugin with the concept of phases this can be achieved, especially the parallel execution of B + C, should it

Re: Slack Plugin doesn't notify channel

2015-03-30 Thread Brantone
I'm guessing part of what you're seeing is mentioned here: https://github.com/jenkinsci/slack-plugin/issues/51 Have you verified your configs in the Manage Jenkins Configure System Global Slack Notifier Settings ? I've found that that's a better test of configuration and values stick

Re: gradle build issues in building android projects.

2015-03-30 Thread sakthi dass
yes i am using command line to build the cordova project.it works fine. C:\Users\Sakthi Balan\Desktop\CordovaAndroid\hellocordova build Running command: cmd /s /c C:\Users\Sakthi Balan\Desktop\CordovaAndroid\hello \platforms\android\cordova\build.bat Buildfile: C:\Users\Sakthi

Re: How to read the logged in user's password in Jenkins as plain text?

2015-03-30 Thread Brantone
That's quite a security issue and generally not recommended. As a compromise, if it's required as part of a job, could use the Password Parameter option and have the user re-enter it. On Friday, 27 March 2015 16:38:17 UTC-7, Mantoo Ankalakoti wrote: Hi, I want to read the logged in users

Re: Is it OK to link config.xml files?

2015-03-30 Thread Brantone
A fifth option is https://github.com/JoelJ/ez-templates On Wednesday, 25 March 2015 14:42:48 UTC-7, Steve K wrote: Thanks for the replies. There have been four replies and four different approaches. I will look into using either the Template Project or the Job DSL plugins. I'm not as

RE: How to read the logged in user's password in Jenkins as plain text?

2015-03-30 Thread Mantoo Ankalakoti
Hi, In my Jenkins job I have created users with Jenkins own user database. The passwords and user names are same as the svn credentials. So in my job I am trying to connect to svn using the logged in users credentials. So I need this scenario.. Thanks and Regards, Mahantesh.C.A On

RE: How to read the logged in user's password in Jenkins as plain text?

2015-03-30 Thread Matthew.Webber
Take a look at https://wiki.jenkins-ci.org/display/JENKINS/Credentials+Plugin From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mantoo Ankalakoti Sent: 30 March 2015 10:13 To: jenkinsci-users@googlegroups.com Subject: RE: How to read the logged in

Re: how can I monitor a repository without having to check out code into jekins workspace

2015-03-30 Thread michele Hallak-Stamler
Using the solution of plugworld will work but the changes will not be documented. I have a real problem with the git plugin since we have to use filters for header expansion. It doesn't work with git init + fetch. It works with git clone but that's not the selected implementation of the git

RE: How to read the logged in user's password in Jenkins as plain text?

2015-03-30 Thread Matthew.Webber
Mantoo (original poster), if you tell us what you are trying to achieve, there might be a better way to do it that does not need the user’s password. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Brantone Sent: 30 March 2015 08:38 To:

M2 Release Plugin - mask scm password issue

2015-03-30 Thread Andreas
Hi, I've a issue with password disclosure when using the M2 Release Plugin and entering the password. During the release build the SCM Password is passed to a child maven instance and unfortunately dumped in plain text (not masked) to the log output. I would expect that this password is

[workflow-plugin] How can I get the hostname of the parent node

2015-03-30 Thread Clifford Sanders
In the following workflow I need to get the hostname of the parent node. node('clifford') { sh sh create-modules-list.sh modules.txt } def branches = [:] branches[build1] = { node('clifford') { ws { sh ssh build@${PARENT_HOST} 'bash -s' get-next-module.sh

Re: Slack Plugin doesn't notify channel

2015-03-30 Thread Hugo M
Hi Brantone, thanks for your answer. Both Test connection in job configuration and in Global Settings work in the sense that a message is posted on Jenkins: Slack/Jenkins plugin: you're all set. If I put wrong data there I get Success too but no message is posted, and I can see errors in the

Is slave machine needs Master server URL to build a job in Slave?

2015-03-30 Thread Parthiban S
For slave machine, we are using Master Server URL only, then whats the difference between Master and Slave machine. If we use master URL in Slave machine. Same page(master machine job) only display?? -- You received this message because you are subscribed to the Google Groups Jenkins Users

Re: Is slave machine needs Master server URL to build a job in Slave?

2015-03-30 Thread Parthiban S
yes. Actually my question was Is there any option to provide Slave machine URL in master job? I need a run a master job in slave machine with slave machine URl port. On Monday, March 30, 2015 at 4:16:11 PM UTC+5:30, Parthiban S wrote: For slave machine, we are using Master Server URL only,

Re: Is slave machine needs Master server URL to build a job in Slave?

2015-03-30 Thread Daniel Beck
That's not how slaves work. You configure them globally (e.g. manually launched, or via SSH, ...), including the labels the slave has. You assign jobs to them based on project label expressions. These are boolean expressions, and Jenkins chooses one of the nodes (slaves and master) whose

Re: Is slave machine needs Master server URL to build a job in Slave?

2015-03-30 Thread Parthiban S
Can you tell me how to configure manually for provide Slave IP address in master's Job? On Monday, March 30, 2015 at 4:16:11 PM UTC+5:30, Parthiban S wrote: For slave machine, we are using Master Server URL only, then whats the difference between Master and Slave machine. If we use master

Re: [workflow-plugin] execute post build step regardless of any errors that occured before

2015-03-30 Thread Clifford Sanders
Thanks Baptiste, sounds like the solution. I will try that. Clifford Am Samstag, 28. März 2015 13:53:15 UTC+1 schrieb Baptiste Mathus: You can use try/catch/finally constructs. Cheers 2015-03-26 17:49 GMT+01:00 Clifford Sanders cliff...@gmail.com javascript:: Hi, I'm currently

Re: Is slave machine needs Master server URL to build a job in Slave?

2015-03-30 Thread Daniel Beck
Did you read https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds ? On 30.03.2015, at 12:46, Parthiban S sparth...@gmail.com wrote: For slave machine, we are using Master Server URL only, then whats the difference between Master and Slave machine. If we use master URL in Slave

SVN account and LDAP account association / Email notification

2015-03-30 Thread Laurent Tourreau
Hi all In my company, all users have an unique user id (UID) made up of 6 digits. All have a LDAP account using this UID as login. Also, all have a mail with the following pattern: *firstname.lastname*@mycompany.com On Jenkins, we use LDAP plugin to create and manage user accounts. Email

Re: M2 Release Plugin - mask scm password issue

2015-03-30 Thread Andreas
Me again My current workaround is to additionally expose the password to the environment by setting SCM password environment variable in the advanced options of the m2release plugin. In this case the password is also stored as PasswordParameterValue and thus detected as to be masked by the

Re: Slack Plugin doesn't notify channel

2015-03-30 Thread Hugo M
Another discovery, when I press Test connection I see things happening in the jenkins.log. But If I start a job, or if that job fails (job configured with Slack plugin), nothing appears on the log (nothing related with Slack plugin). Does Slack plugin has a dependency on another plugin? It seems

Re: mark and reference artifacts of another build of a job

2015-03-30 Thread Richard Bywater
Have you looked at https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin already? That should do roughly what you want although you might need to calculate the build number potentially (possibly using EnvInject plugin? ) Richard On 4:55AM, Tue, 31/03/2015 null sl...@dresearch-fe.de

People link and Active Directory groups

2015-03-30 Thread Eric Wood
I use Active Directory for authentication and use role-base strategy for authorization.  As an admin, I can select the People link and see a list of users. If I select the user, I can see a list of all of the active directory groups that the user is a member of.  Individual users do not see

Re: Is slave machine needs Master server URL to build a job in Slave?

2015-03-30 Thread Richard Bywater
I'm not sure why you keep asking the same question over and over when you've received the answer twice now? As Daniel has already pointed out that is not how slaves work in Jenkins - you assign labels to the slave and relevant job and then Jenkins runs the job on the node. If that doesn't work

Re: Slack Plugin doesn't notify channel

2015-03-30 Thread Brenton Bartel
No other dependency as far as I'm aware. Have you added Slack as a post-build action and checked off necessary options in the job itself? On 30 March 2015 at 10:13, Hugo M ham1...@gmail.com wrote: Another discovery, when I press Test connection I see things happening in the jenkins.log. But

Re: M2 Release Plugin - mask scm password issue

2015-03-30 Thread Eric Wood
try using the masked password plugin.  On Monday, March 30, 2015 12:00 PM, Andreas andreas.man...@gmail.com wrote: Me again My current workaround is to additionally expose the password to the environment by setting SCM password environment variable in the advanced options of

Re: Slack Plugin doesn't notify channel

2015-03-30 Thread Brenton Bartel
Agreed would be handy ... even anything at this point since it's pretty scarce. It does seem slightly counter-intuitive that a Post-build action would be required for something that could send a notification before it even builds ... but, there ya have it. On 30 March 2015 at 13:23, Hugo M

Re: Slack Plugin doesn't notify channel

2015-03-30 Thread Hugo M
Wow! I didn't know that I should add it as a post-build action. It worked like a charm. Thanks!! Maybe this should be added to Jenkins Instructions section of the repo README? [image: Hugo Massaroli on about.me] Hugo Massaroli about.me/hugo.massaroli http://about.me/hugo.massaroli

matrix-auth: Puzzling floatover help for Slave-Build permission

2015-03-30 Thread G Dameron
Using matrix-auth 1.2 on core 1.565.1. The floatover says: This permission allows users to run jobs as them on slaves. The implication here for Linux slaves is that enabling this permission causes the slave's owning account to magically su to the logged-in user when a job runs. (That doesn't

Multiple upstream jobs = extra downstream builds

2015-03-30 Thread russh347
I've been looking at the timing of this issue and I now have more/better information. Here's what happens: Downstream job, DS, has two upstream jobs, US1 and US2. 03:35PM - US1 completed 04:48PM - US2 completed 04:48PM - DS begin 06:10PM - DS completed 06:11PM - DS begin (again) How to I

How to setup jenkins in production machine manually which is running Ubuntu 12.04?

2015-03-30 Thread comptechgeeky
I have a machine in production which is running Ubuntu 12.04. I need to setup Jenkins on it. I was trying to follow this tutorial - https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu

Re: M2 Release Plugin - mask scm password issue

2015-03-30 Thread Andreas
Eric, thanks for the hint. Nevertheless, the masking just works if I also expose the password as SCM password environment variable, for both EnvInject and Mask Password plugin. Kind Regards, Andreas. Am Montag, 30. März 2015 22:06:25 UTC+2 schrieb eric...@rocketmail.com: try using the

[Email-Ext plugin] don't see triggers

2015-03-30 Thread Murthy Gandikota
Hi Using Jenkins 1.596 Installed Email-Ext plugin The documentation says ( https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin) For a project to use the email-ext plugin, you need to enable it in the project configuration page. Select the checkbox labeled Editable Email Notification

Re: [workflow-plugin] How can I get the hostname of the parent node

2015-03-30 Thread Baptiste Mathus
currentBuild.getBuiltOn(), at least as a starting point? (Though I didn't check if this is actually an AbstractBuild instance which is passed) Cheers 2015-03-30 13:36 GMT+02:00 Clifford Sanders clifford...@gmail.com: In the following workflow I need to get the hostname of the parent node.

Re: How to setup jenkins in production machine manually which is running Ubuntu 12.04?

2015-03-30 Thread Baptiste Mathus
https://jenkins-ci.org/debian/jenkins-ci.org.key works for me. Seems a network issue on your side. FWIW: $ md5sum jenkins-ci.org.key 9fa06089848262c5a6383ec27fdd2575 jenkins-ci.org.key Cheers 2015-03-31 0:16 GMT+02:00 comptechge...@gmail.com: I have a machine in production which is running

Re: Making downstream jobs wait for upstream

2015-03-30 Thread Baptiste Mathus
That feature is to my knowledge only supposed to work (and works for us) at one level. If you have more than one, that might the issue. In your case, you may be more interested in setting up some shared token to prevent those builds run simultaneously IIUC. If so, then see the Throttle Concurrent

mark and reference artifacts of another build of a job

2015-03-30 Thread sledz
We're looking for a solution for the following scenario. One build should be marked e.g. by a manual build parameter. And a later build should have access to the artifacts of the marked build. Until now we've realizied this by filesystem symlinks pointing to the marked builds created as a

Making downstream jobs wait for upstream

2015-03-30 Thread russh347
We have many interrelated jenkins jobs. When an upstream job builds, some downstream jobs build multiple times. We've looked into various plugins (Join, Promoted Builds, MultiJob, BuildFlow, workflow) none of these seem to fit our situation. It seems that the Block build when