Re: Using git hook with Workflow Plugin with 'computed' repository url?

2015-02-03 Thread Baptiste Mathus
Cool you dug on that one. Though I'm not sure for your question, I would advise you to simply go ahead and file a pull request on some .md of the workflow-plugin codebase. This way this information will either be put by committers elsewhere at the right place or be just merged. In both case you won

Re: !! Android emulator plugin can't find my SDK

2015-02-03 Thread Olexandr Matuzenko
Thanks for prompt reply. The only thing helped me is to remove completely Jenkins and install it via brew install jenkins and make all steps from this tutorial https://mattonrails.wordpress.com/2011/06/08/jenkins-homebrew-mac-daemo/. Now Android sdk is available, but before that chmod command d

Re: Is there a token for build node (slave)

2015-02-03 Thread Slide
I updated the issue with my findings. On Tue Feb 03 2015 at 3:36:06 PM Daniel Beck wrote: > There it is: https://issues.jenkins-ci.org/browse/JENKINS-19222 > > On 03.02.2015, at 23:33, Slide wrote: > > > I'm not sure, I hadn't looked into it. I just check in my scripts if > NODE_NAME is empty a

Re: !! Android emulator plugin can't find my SDK

2015-02-03 Thread Christopher Orr
On 02/03/2015 09:01 PM, Olexandr Matuzenko wrote: I installed Jenkins on my os x / localhost:8080 and uploaded android-emulator-plugin on it. But, when I try to set "Android SDK root" in Configure System I'm getting Does not appear to be a valid directory (path like /Users/mat/Library/Android/sd

Re: Is there a token for build node (slave)

2015-02-03 Thread Daniel Beck
There it is: https://issues.jenkins-ci.org/browse/JENKINS-19222 On 03.02.2015, at 23:33, Slide wrote: > I'm not sure, I hadn't looked into it. I just check in my scripts if > NODE_NAME is empty and if so, assume master. > > On Tue Feb 03 2015 at 3:32:28 PM Daniel Beck wrote: > Isn't it just w

Re: Is there a token for build node (slave)

2015-02-03 Thread Slide
I'm not sure, I hadn't looked into it. I just check in my scripts if NODE_NAME is empty and if so, assume master. On Tue Feb 03 2015 at 3:32:28 PM Daniel Beck wrote: > Isn't it just whether env-inject is installed that breaks this? > > On 03.02.2015, at 22:37, Slide wrote: > > > Be careful with

Re: Is there a token for build node (slave)

2015-02-03 Thread Daniel Beck
Isn't it just whether env-inject is installed that breaks this? On 03.02.2015, at 22:37, Slide wrote: > Be careful with this, if your stuff ends up running on master, it may or may > not be set...it was fixed at one point and then got broken again. I don't > know the current status. > > On Tu

RE: Is there a token for build node (slave)

2015-02-03 Thread Ginga, Dick
Sorry again folks, just found the getBuiltOnStr method. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ginga, Dick Sent: Tuesday, February 03, 2015 4:42 PM To: jenkinsci-users@googlegroups.com Subject: RE: Is there a token for build node (slave) Sli

RE: Is there a token for build node (slave)

2015-02-03 Thread Ginga, Dick
Slide, actually I will be using this in mostly Build Flow projects, can I get this name from a “build” field like build.number? From: Ginga, Dick Sent: Tuesday, February 03, 2015 4:39 PM To: jenkinsci-users@googlegroups.com Subject: RE: Is there a token for build node (slave) Thanks, Slide. Fro

RE: Is there a token for build node (slave)

2015-02-03 Thread Ginga, Dick
Thanks, Slide. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide Sent: Tuesday, February 03, 2015 4:37 PM To: jenkinsci-users@googlegroups.com Subject: Re: Is there a token for build node (slave) Be careful with this, if your stuff ends up runnin

Re: Is there a token for build node (slave)

2015-02-03 Thread Slide
Be careful with this, if your stuff ends up running on master, it may or may not be set...it was fixed at one point and then got broken again. I don't know the current status. On Tue Feb 03 2015 at 2:35:40 PM Ginga, Dick wrote: > Sorry folks, I just found it and it is NODE_NAME. J > > > > *From

RE: Is there a token for build node (slave)

2015-02-03 Thread Ginga, Dick
Sorry folks, I just found it and it is NODE_NAME. :) From: Ginga, Dick Sent: Tuesday, February 03, 2015 4:22 PM To: jenkinsci-users@googlegroups.com Subject: Is there a token for build node (slave) When using a label to group slaves, is there a global token that tells which actual slave the job

Is there a token for build node (slave)

2015-02-03 Thread Ginga, Dick
When using a label to group slaves, is there a global token that tells which actual slave the job landed on? Dick Ginga, Informatics R&D PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 Winter Street, Waltham MA 02451 dick.gi...@perkinelmer.com

How does the copy artifact plugin determine upstream job with Global Setting?

2015-02-03 Thread Eric Wood
I have a job that copies artifacts from an upstream job.  The job setting in the build steps says: Copy Artifact from another project: Which Build: Upstream build that triggered this job The advanced settings say:     Which for multiple upstream: Use global setting This is confirmed by l

!! Android emulator plugin can't find my SDK

2015-02-03 Thread Olexandr Matuzenko
I installed Jenkins on my os x / localhost:8080 and uploaded android-emulator-plugin on it. But, when I try to set "Android SDK root" in Configure System I'm getting Does not appear to be a valid directory (path like /Users/mat/Library/Android/sdk) Setting ANDROID_HOME to Environment variables

Re: How to exit a Groovy postbuild script gracefully?

2015-02-03 Thread Kanstantsin Shautsou
Just don't throw error, especially RuntimeException. On Thursday, January 29, 2015 at 3:04:52 AM UTC+3, MCSF wrote: > > Hello, > I want to be able to exit the Groovy postbuild step gracefully if the > build status was ABORTED. > Here is what I have now: > >def buildstatus = manager.build.getR

RE: P4 plugin and Perforce plugin???

2015-02-03 Thread Ginga, Dick
Thanks I guess ☺ From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Kanstantsin Shautsou Sent: Tuesday, February 03, 2015 1:53 PM To: jenkinsci-users@googlegroups.com Subject: Re: P4 plugin and Perforce plugin??? For github features there are even 4 or

Re: 500 Error invoking git-hook with Workflow plugin?

2015-02-03 Thread Kenneth Baltrinic
I have been working on git triggers most of the day and in the process have determined more information about this problem and have opened JENKINS-26761 as a result. In summary, it appears that after a jenkins restart, all git hooks are broke

Re: Flash Player Vulnerability

2015-02-03 Thread Daniel Beck
On 03.02.2015, at 16:29, Wt Riker wrote: > The link is: > > http://jenkins.server.com:8080/static/452bd4e7/scripts/yui/connection/connection-min.js Better readable file: https://github.com/jenkinsci/jenkins/blob/master/war/src/main/webapp/scripts/yui/connection/connection-debug.js#L1046 It's

Re: SQL Injection Vulnerability

2015-02-03 Thread Kanstantsin Shautsou
This is not an SQL injection, configuration page calls all checks for form validations https://wiki.jenkins-ci.org/display/JENKINS/Form+Validation On Tuesday, February 3, 2015 at 9:35:15 PM UTC+3, Daniel Beck wrote: > > Just to clear this up, since it was reported publicly: > > This appears to b

Re: P4 plugin and Perforce plugin???

2015-02-03 Thread Kanstantsin Shautsou
For github features there are even 4 or 5 plugins ;) About perforce search initial thread in jenkins-devel maillist. One plugin supported by community, second by perforce itself. On Tuesday, February 3, 2015 at 9:44:02 PM UTC+3, rginga wrote: > > I use the Perforce plugin version 1.3.26 and anot

Re: Using git hook with Workflow Plugin with 'computed' repository url?

2015-02-03 Thread Kenneth Baltrinic
I dug into the source code and figured this out. Jenkins does not attempt to parse the groovy code to determine the url, rather it captures the actual URLs that were fetched the last time the job ran. Thus the problem I was having was not due to Jenkins not being able to figure out the url pe

P4 plugin and Perforce plugin???

2015-02-03 Thread Ginga, Dick
I use the Perforce plugin version 1.3.26 and another Jenkins server is our company is using the P4 plugin version 1.0.14. why are there 2? I prefer the Perforce plugin I am using but which is the official one? Dick Ginga, Informatics R&D PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONME

Re: SQL Injection Vulnerability

2015-02-03 Thread Daniel Beck
Just to clear this up, since it was reported publicly: This appears to be from the CVS plugin and is clearly a false positive: https://github.com/jenkinsci/cvs-plugin/blob/master/src/main/java/hudson/scm/ExcludedRegion.java#L100 It seems the scanner mistakes printing parts of the input (to return

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

2015-02-03 Thread michael . obrien
Hi all, Is the following use case suitable for Jenkins and if so are there any of the many plugins you would recommend to help? In an enviroment with a large number of windows applications could Jenkins be used for testing new versions of applications work well together and also work with upda

RE: Infosys Requirement For Oracle SOA,Java Engineering,Core C++Java + PL SQL,C and Linux ,MB/IIB ,BizTalk/Dot Net Consultant

2015-02-03 Thread Ginga, Dick
Hi Partner Greetings I hope you get fired for misusing this mainline list. How dare you! From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Akhilesh Kumar Sent: Tuesday, February 03, 2015 9:14 AM To: Akhilesh Kumar Subject: Infosys Requirement For Oracl

Re: Howto define 2 Jenkins jobs on ONE PROJECT, with 2 different versions on 2 different GIT repositories

2015-02-03 Thread Sylvain Richet
(auto-response) Just using : [job] >> build >> Advanced >> Use custom workspace... with something like : /var/lib/jenkins/workspace/github-projects/${POM_ARTIFACTID} It works great ! Le mardi 3 février 2015 16:24:54 UTC+1, Sylvain Richet a écrit : > > Hi Guys, > > First time i need this (tempora

Re: Matrix job

2015-02-03 Thread Baptiste Mathus
Not really an answer yet, but just a quick thought: might be you want to have a look at the workflow plugin. IIRC there's no specific DSL yet for matrix builds, but doing through two groovy needed loops (for your axis)+the 'parallel' keyword you may be able to achieve what you'd like in less time a

Re: Web Vulnerability

2015-02-03 Thread Baptiste Mathus
Hi, Currently offline, so I can't give you the full URL. But security issues should not be reported here, but on the SECURITY project on the Jenkins JIRA instance. The issues logged there are not accessible publicly and let the secu team work on them and produce a fix before disclosure. HTH Cheers

Using git hook with Workflow Plugin with 'computed' repository url?

2015-02-03 Thread Kenneth Baltrinic
We are using a function in our cps global library to perform our git fetch. This function looks something like: def getFromStash(stashProject, stashRepo) { checkout changelog: true, poll: true, scm: [ $class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmodu

Re: workspace for a build flow plugin

2015-02-03 Thread Baptiste Mathus
BTW, even more if you're still in discovery mode, you should better use the workflow-plugin. Build-flow-plugin is largely superseded by the previous and likely to be deprecated. Cheers Le 3 févr. 2015 08:44, "Timur Batyrshin" a écrit : > Hi Dillon, > > You need to wrap your code inside node { ..

Re: 500 Error invoking git-hook with Workflow plugin?

2015-02-03 Thread Kenneth Baltrinic
I still do not know the root cause of this, however, deleting and recreating all of the workflow projects on the server solved the problem. Fortunately it was a new server with just three jobs. On Tuesday, February 3, 2015 at 10:03:50 AM UTC-5, Kenneth Baltrinic wrote: > > This is with Jenkins

Re: SQL Injection Vulnerability

2015-02-03 Thread Wt Riker
Thanks. I will move this to that forum. -- 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, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on

Re: Flash Player Vulnerability

2015-02-03 Thread Wt Riker
The link is: http://jenkins.server.com:8080/static/452bd4e7/scripts/yui/connection/connection-min.js I don't know what page contains that link or how it gets generates. Perhaps you can direct me on how to figure that out. -- You received this message because you are subscribed to the Google Gr

Howto define 2 Jenkins jobs on ONE PROJECT, with 2 different versions on 2 different GIT repositories

2015-02-03 Thread Sylvain Richet
Hi Guys, First time i need this (temporarily) : having 2 Jenkins jobs mapping the same project (say: "myproject"), but on 2 differents GIT repositories : - "myproject" on Bitbucket - "myproject" on Github My projects are all "mavenized", with inner modules and relative paths : > [...] > >

Web Vulnerability

2015-02-03 Thread Wt Riker
I have uncovered a security vulnerability in Jenkins (1.569) that needs to be resolved. When creating a job this link results: http://jenkins.server.com:8080/job/64-bit_CHRIS_PLAY_TEST_HUV02MS/descriptorByName/hudson.scm.ExcludedRegion/checkPattern As a sys admin, not a Jenkins admin, I do not k

Re: Flash Player Vulnerability

2015-02-03 Thread Christopher Orr
Hi there, Thanks for the info. Which pages are you seeing on Jenkins where this Javascript file is used, or where a Flash Player is embedded? Regards, Chris On 03/02/15 15:48, Wt Riker wrote: I found a vulnerability in flash player but it was simple enough to resolve myself. However this s

Re: SQL Injection Vulnerability

2015-02-03 Thread Christopher Orr
Hi there, Thanks for the information, but the URL you mention validates regular expressions for the CVS plugin; it has nothing to do with databases, makes no SQL queries, nor does it access any files, AFAIK. Could you maybe explain further what the error is you're seeing? If possible, could

500 Error invoking git-hook with Workflow plugin?

2015-02-03 Thread Kenneth Baltrinic
This is with Jenkins v 1.598 and Git plugin v 2.3.4. When I invoke the https://jenkins-01.mydomain.com/git/notifyCommit url with an appropriate ?url argument, either via get or post, I am getting a 500 error with the following stack trace. Yesterday I was able to "successfully" invoke this ur

SQL Injection Vulnerability

2015-02-03 Thread Wt Riker
I posted this once but it seems to have disappeared so my apologies if it shows up as a duplicate. I have discovered a security vulnerability in Jenkins (1.569). I am a sys admin, not a Jenkins admin, so I do not know how this link is generate and I don't want to start mucking with Jenkins code

Flash Player Vulnerability

2015-02-03 Thread Wt Riker
I found a vulnerability in flash player but it was simple enough to resolve myself. However this should be added to the next release. In the javascript file: .jenkins/war/scripts/yui/connection/connection-min.js This line: Needs to be changed to: This vulnerability makes it possible to st

HOT LIST OF AMERICAN VASSALCONSULTANTS

2015-02-03 Thread AV Groups
Hi All, Greetings. Please find the attached resume of my consultant for your client needs. Your patience in viewing the consultants profile, support and coordination is highly appreciated. Kindly scroll down to view more information's on each consultant. Consultant's info:- *1)PeopleSoft HRMS / H

Infosys Requirement For Oracle SOA,Java Engineering,Core C++Java + PL SQL,C and Linux ,MB/IIB ,BizTalk/Dot Net Consultant

2015-02-03 Thread Akhilesh Kumar
Hi Partner Greetings Hope you are doing well Please find the requirement and respond back with your consultants updated word resume and call me at my number given bellow. *Please send resumes at akhilesh.ku...@nlbservices.com * *Visa : h1b,gc,gcead,usc,l2ead(no opt,cpt)* 1.Role *Oracle SOA Admi

Immediate Java Developer with banking experience in NE Location (Locals Only)

2015-02-03 Thread AV Groups
Hi Partners My name is Krishna and I'm a recruiter at Americanvassal Inc, a global staffing and IT consulting company. We are constantly on the lookout for professionals to fulfill the staffing needs of our clients, and we currently have a job opening that may interest you. Below is a summary of t

[workflow-plugin] clean after checkout in GenericSCM step

2015-02-03 Thread Timur Batyrshin
Hi all, How should I clean the checkout directory using GenericSCM step of workflow-plugin? The snippet generator generates the line like the following: checkout scm: [$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: '4db1f14a-c479-48af-a3e

Re: Git Credentials on Workflow Plugin

2015-02-03 Thread Ivo Bellin Salarin
Which is this public repository where you're experiencing this problem? May you give us the complete url? Le Tue Feb 03 2015 at 10:37:45 AM, Arunkumar Perumal < arunkumar.peru...@gmail.com> a écrit : > 1. I'm trying to access public repository hence I've to use git-client > 1.14.0 > 2. In the comm

Jenkins Dynamic view creation with unix view server.

2015-02-03 Thread Babu Natesan
Hi All, I am Babu clearcase admin, I am new to jenkins, i have a requirement to automated the pre and post build activities with dynamic view creation in jenkins. 1. view should create automatically in external view server. 2. view should be dynamic and view need to created on view server lin

Re: Git Credentials on Workflow Plugin

2015-02-03 Thread Arunkumar Perumal
1. I'm trying to access public repository hence I've to use git-client 1.14.0 2. In the command line, it is running success after unset ask pass=true But it is not success in Jenkins :( On Tuesday, February 3, 2015 at 2:28:30 PM UTC+5:30, Ivo Bellin Salarin wrote: > > Please, > > have a look at

Re: Git Credentials on Workflow Plugin

2015-02-03 Thread Ivo Bellin Salarin
Please, have a look at your GIT REPOSITORY SERVER logs. These stacks are probably not related to the problem at all. To answer your other question, no, there's no way (in 1.14.0) to not pass this option. Please consider that, even if you were allowed disable this option, you could get a git proc

Re: How do I incorporate CHEF into my build and deployment process

2015-02-03 Thread Timur Batyrshin
Hi Eric, You need to understand first what exactly you want to be run and at which point. >From the quick glance it could be running Chef on already provisioned server (use SSH to do that when you need it) or creating a new server in the cloud for running tests etc on it. (It's likely there are