Re: Jenkins configuration and selenium Grid

2015-09-16 Thread steliosP
Hello Richard. The nodes are connected to jenkins hub, and are you can see them in selenium grid hub management tab. But my question remains: how you can build a project in jenkins, and make it run on nodes?When upon pressing build you get :(pending—Waiting for next available executor) On

RE: Patterns in Role-based strategy

2015-09-16 Thread Matthew.Webber
Try (?!.*PROD).* Matthew -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ginga, Dick Sent: 15 September 2015 20:28 To: jenkinsci-users@googlegroups.com Subject: RE: Patterns in Role-based strategy I've tried them

Re: Remote build with token parameter crashing

2015-09-16 Thread zhu kane
IMO the remote api of parameter build does not work if you enabled authentication, there is no workaround especially you are using oauth2. You can workaround it via Build Token Root plugin. https://wiki.jenkins-ci.org/display/JENKINS/Build+Token+Root+Plugin Kane On Wed, Sep 16, 2015 at 1:30

Re: Jenkins configuration and selenium Grid

2015-09-16 Thread Richard Lavoie
Hi, The selenium plugin was never meant to make a build run on a particular node depending on browser capabilities. What this plugin does is use your slaves as "browser providers" so that you can reuse your "sleeping" nodes. For example, let's say I have 2 nodes with matching selenium

GoogleRobotPrivateKeyCredentials AccountIdNotSetException

2015-09-16 Thread Andreas Schuldei
hi, i am setting up a CI pipeline that creates docker images, uploads them to my google docker registry/repository and then redeploys my webapp. Right now I work on the docker push step, which fails with this stack trace: ERROR: Build step failed with exception

Re: Remote build with token parameter crashing

2015-09-16 Thread John Marks
The same thing happens with the Build Token Root Plugin (X is used instead of the real server DNS): curl -X POST http://X:8915/jenkins/job/build-entity-service/buildByToken/build?token=gmasbuild I'm running with Tomcat 7.0.47, so I also made sure that URI encoding is UTF-8 (I don't

Re: Annotating JIRA ticket is not working

2015-09-16 Thread Ashish Yadav
One other note…this works sporadically. Some JIRA tickets do get updated, while some do not. Any ideas what might be causing this or how to resolve it? From: Ashish Yadav > Reply-To:

Is it possible to run selenium test case as windows batch command in jenkin

2015-09-16 Thread Syamkumar Adapa
Hi, Hello below is the config that is already available in my machine Selenium .net 2.47 versions (web application) Visual studio 2012 I'm able to build the deployment code using Jenkins. I'm able to build selenium test using Visual studio by configuring Selenium .net 2.47 versions (web

Is there a way to have a step in a pipeline wait until a specific time to start?

2015-09-16 Thread nfwlpw
Here's my dilemma. I have a job in my pipeline that sits off the main path, but they do depend on part of the main pipeline (parameters and artifacts). The team that owns this job is in a different timezone so they want the job to start at a time convenient for them. Is there a way I can

Re: Annotating JIRA ticket is not working

2015-09-16 Thread Victor Martinez
Hi, Can you log change your log severity to ALL? - https://wiki.jenkins-ci.org/display/JENKINS/Logging Logger: hudson.plugins.jira.JiraChangeLogAnnotator Then you will be able to see the below traces: -

Batch command with slave mode configuration

2015-09-16 Thread Quang Truong
Dear all, I have encountered an issue like this: - If I setup a slave by downloading and running the jnlp file (no need to install as Window service, just leave the java dialog as connected process). Then I can run this batch command: setlocal EnableDelayedExpansion FOR /f "tokens=1 delims=<"

Jenkins Area Meetup in San Jose

2015-09-16 Thread Alyssa Tong
Hi All, We have a meetup in the Bay Area on Wed Sept 23 with special guest speaker from Docker. Join us for food, fun and network. If you'd like to become a speaker at our next JAM (Oct 21) or would like to become a venue host pls let me

Can post to jenkins modify the branch of the SCM?

2015-09-16 Thread John Cary
I would like developers to be able to fire off a test of their branch of the project. So, e.g., I have a project, myproj, and jenkins is ordinarily set up to run the builds and test, e.g., myproj/branches/test by executing a top-level test script, e.g., tst.sh. Is there a way to remotely

Re: Jenkins and Git Error Returned Status Code 128:

2015-09-16 Thread angel . williams
Again this is the error I get if I supply credentials via the GIT source code setup traditionaly: Failed to connect to repository : Command "C:\Git\cmd\git.exe -c core.askpass=true ls-remote -h https://company.visualstudio.com/DefaultCollection/_git/CompanyHEAD; returned status code 128:

Re: how to send cucumber report content to recipient via email?

2015-09-16 Thread Slide
If you use Jelly or Groovy templates you can access the Jenkins api to retrieve the reports and place them into the email. You can look on github for examples of the templates. On Wed, Sep 16, 2015, 13:46 Ashley Chen wrote: > Hi all, > > I have set up a project on Jenkins

Re: Jenkins and Git Error Returned Status Code 128:

2015-09-16 Thread angel . williams
Mark, I can through jenkins do a complete commandline clone, checkout and all what I can't do is get the GIT Plugin/ Source inside a job do it without that type of access i can't use scm polling at all to start a build if there are changes. I do not do daily builds unles there is a change. I

Re: Batch command with slave mode configuration

2015-09-16 Thread Victor Martinez
Hi Quang, C:/Windows/System32/nbtstat.exe is not windows format. AFAIK it should be backlash instead. You could try to set your path variable too. Cheers On Wednesday, 16 September 2015 21:39:33 UTC+2, Quang Truong wrote: > > Dear all, > > I have encountered an issue like this: > > - If I

how to send cucumber report content to recipient via email?

2015-09-16 Thread Ashley Chen
Hi all, I have set up a project on Jenkins and choose Post-build Action "Publish cucumber results as a report" and "Editable Email Notification". On jenkins, I can see cucumber reports after each build (with full content, like scenarios, steps, etc), but email only receive build result, like

jenkins DSL Gerrit Project setup

2015-09-16 Thread GC
Hello Jenkins Users, Is anyone using DSL to generate the jobs that Gerrit Trigger ? Basically we want to get file path restriction on the trigger. Below snippet triggers { gerrit { events { patchsetCreated() commentAdded() project('project',

Re: Jenkins and Git Error Returned Status Code 128:

2015-09-16 Thread Mark Waite
I created https://markwaite.visualstudio.com/ . I was able to upload the git client plugin source code and checkout from that repository into a Jenkins job using my Visual Studio Online user name and password in the credentials associated with the Jenkins job. I confirmed I could checkout on

Re: jenkins DSL Gerrit Project setup

2015-09-16 Thread GC
basically missing or cannot figure out how to generate the below ANT builds/code1/** ANT buildz/code3/ On Wednesday, September 16, 2015 at 4:37:28 PM

Jenkins container with Docker container

2015-09-16 Thread Kha Nguyen
I have a use case where I run Jenkins inside a container using this Jenkins official image . Then I also need Jenkins to build Docker images, and for that I also run another container, known as docker-in-docker, with this official image with tag 'dind'

Re: Generating parallel flow with Build Flow Plugin

2015-09-16 Thread Jay Neese
I am using a similar configuration as OP, except that multiple *different* jobs must be ran in parallel. I have two separate build jobs (test1 and test2) that are being fed into the parallel function and rather than running jobs test1 and test2, it is running test2 twice. In my case the

Re: GoogleRobotPrivateKeyCredentials AccountIdNotSetException

2015-09-16 Thread Andreas Schuldei
aparently i had created the wrong type of credential for this kind of interaction. selecting an other credential helped over this hurdle. On Wednesday, September 16, 2015 at 2:16:04 PM UTC+2, Andreas Schuldei wrote: > > hi, > > i am setting up a CI pipeline that creates docker images, uploads

Re: jenkins DSL Gerrit Project setup

2015-09-16 Thread Baptiste Mathus
Yes. Using it for around twenty jobs. You might need to read about what's called the "configure block" here. Didn't check for that very case, but job dsl has a nice way to generate custom xml when it doesn't (yet) support a plugin or a specific plugin's use case. I remember we indeed used the

Re: Jenkins container with Docker container

2015-09-16 Thread Baptiste Mathus
Hi, Paraphrasing if you're using docker in docker, then think twice ;). You certainly want to read https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/ (blog by the very author of DinD, hence obviously insightful). Cheers Le 17 sept. 2015 5:21 AM, "Kha Nguyen"

Re: Jenkins container with Docker container

2015-09-16 Thread Kha Nguyen
Wow! This is interesting! I wonder why this post never showed up in my Google search. On Thursday, September 17, 2015 at 11:59:49 AM UTC+7, Baptiste Mathus wrote: > > Hi, > Paraphrasing if you're using docker in docker, then think twice ;). > > You certainly want to read >

Re: Generating parallel flow with Build Flow Plugin

2015-09-16 Thread Jay Neese
I am using a similar configuration as OP, except that multiple *different* jobs must be ran in parallel. I have two separate build jobs (test1 and test2) that are being fed into the parallel function and rather than running 1 and 2, it is running the second job twice. In my case the jobs