Re: SonarQube plugin changes?

2015-11-18 Thread Duarte Meneses
The plugin is not deprecated, only the sonar-maven job type. There are several ways of running an analysis with the plugin. We feel that it is better to use Jenkins' standard maven target (in a Freestyle project or maven project) with the new functionality of injecting the sonarqube

setup jenkins job to build environment, build, compile, and run unit tests. Am I on the right track?

2015-11-18 Thread Walter Gunter
I am wondering if I am going down the right path. I was stuck for a while thinking I was doing good when all jenkins was doing was pulling my code from my gitlab repo and then calling it successful. I didn't for the life of me know what to do next to be able to compile successfully without my

Re: Jenkins pre-build check of pom.xml

2015-11-18 Thread Baptiste Mathus
Using a simple freestyle job, just add a first step to check the pom.xml (use what works best for you: shell, ant...), then call the typical mvn build. A failing step will fail the whole build immediately (hence not call the mvn build in that example) Cheers Le 18 nov. 2015 3:06 AM, "Mark

Re: Correct way to stop jenkins in docker

2015-11-18 Thread Baptiste Mathus
Kill -9 should always be a last resort solution. docker stop should work. But beware the stop timeout. If for some reason your Jenkins instance takes more than 10 seconds to stop gracefully, docker will then kill (-9) it. In that case use the option to possibly make that timeout a bit higher.

not able to see browser when running the test cases from jenkins

2015-11-18 Thread Raj
Hi, I am able to run selenium2Library robot framework test cases in jenkins but I am not able to see browser when running the test cases from jenkins I am using ubuntu 14.04 any help would be appreciated. Thanks in advance -- You received this message because you are subscribed to the Google

Re: Scriptler "suddenly" broken - not sure how to investigate further

2015-11-18 Thread Itamar Ostricher
I ended up setting up a new jenkins instance and copying the state from the broken one, and it seemed to be working fine. I don't really know what happened, so I don't quite have what to report in a ticket. I don't think a partial stack trace is very useful... Thanks anyway :-) On Mon, Nov 16,

not able to see browser when running the test cases from jenkins

2015-11-18 Thread Victor Martinez
If you use ssh connections, bear in mind they are non interactive AFAIK You can run jnlp connections instead X11 plugin might also help you, I guess so I hope someone else can provide another view My two cents -- You received this message because you are subscribed to the Google Groups

Jenkins not saving P12 certificate from Google Service Account from private key

2015-11-18 Thread Andrew Novinger
For some reason Jenkins lost the original p12 certificate from Google for the API Service account to upload to google. I have recreated a new P12 certificate, and downloaded it my local machine. When I try to add the certificate to the account, it shows up, when I hit save and reopen the

Re: SonarQube plugin changes?

2015-11-18 Thread Jeff
Thank you for the clarification. Not sure how I missed the links on the plugin page. I'll start getting it working the "better way". :-) On Wed, Nov 18, 2015 at 9:48 AM, Duarte Meneses < duarte.mene...@sonarsource.com> wrote: > The plugin is not deprecated, only the sonar-maven job type. There

Re: setup jenkins job to build environment, build, compile, and run unit tests. Am I on the right track?

2015-11-18 Thread Curtis Kline
Walter, You can think of Jenkins as a GUI for cron. It does a great job scheduling commands that run on your OS of choice. Anything you have installed on the Jenkins host can be scheduled via the Jenkins UI. But of course to be able to run the commands you'll need to install the utilities (build

Jenkins build failure but tests pass

2015-11-18 Thread Alex Wouda
Hi, Our unit tests all pass, but in the end we still got an error. I'm struggling to understand what goes wrong here: [info] Passed: : Total 205, Failed 0, Errors 0, Passed 205, Skipped 0 [info] Passed: : Total 7, Failed 0, Errors 0, Passed 7, Skipped 0 [info] Passed: : Total 24, Failed 0,

Re: Future of the Maven Project Type

2015-11-18 Thread Stephen Connolly
My plan, once I come up with a better name for literate, is to have that project type be able to provide smart builds of Maven projects with near zero configuration (other than adding a marker file to say literate should consider this as a valid branch) I see s/workflow/pipelines/g as the project

Fwd: matrix based security question

2015-11-18 Thread Gabor Gabesz
Hi all, I have a security problem with Project-based Matrix Authorization Strategy Jenkins version: 1.630 I enabled it in one of my jobs, played with it for a while and once accidentally pressed 'save' after removing everyone from the list... The "Block inheritance of global authorization

RE: Matrix Authorization Strategy Plugin - max number of user entries?

2015-11-18 Thread Matthew.Webber
I’m don’t know whether that setting will solve the problem or not (it depends on what “maxed out” means: was there an error message or traceback? When reporting problems, it often a good idea to provide specific details about what happened when the error occurred.) If you do want to change the

Re: Jenkins build failure but tests pass

2015-11-18 Thread Alex Wouda
false alarm. All unit test passed, but there is an error... sorry Alex On Wednesday, November 18, 2015 at 9:00:16 AM UTC+1, Alex Wouda wrote: > > Hi, > > Our unit tests all pass, but in the end we still got an error. I'm > struggling to understand what goes wrong here: > > [info] Passed: :

Request Jenkin REST API documentation

2015-11-18 Thread vivekanandvv3
Hi All, I am trying to analyze Jenkins REST API methods. I have installed the Jenkins and accessed the API documentation. But it doesn't provide detail information. Is there any other resources? I also have a another problem. I tried to create a job using below request:

Correct way to stop jenkins in docker

2015-11-18 Thread Stanislav Baiduzhyi
The obvious option to stop dockered jenkins would be: docker stop some-container-name But is that the correct way, or is it similar to kill -9 and there is a proper way of stopping it "gently"? Regards, Stanislav -- You received this message because you are subscribed to the Google Groups

How to change the PATH env?

2015-11-18 Thread stevelee1739
Hi, I am running jenkins-1.619-1.1.noarch.rpm on a Red Hat server. I used "sudo service jenkins start" to run the jenkins server. From the System Info page, the PATH is set to /sbin:/usr/sbin:/bin:/usr/bin How can I append other location to this PATH env variable? I don't want to modify

Re: how to get prqa-plugin.hpi

2015-11-18 Thread Christopher Orr
See https://issues.jenkins-ci.org/browse/INFRA-489 On 13/11/15 03:19, zhangkm wrote: > Hi, > why I can't get the plugin(prqa-plugin.hpi) from > https://wiki.jenkins-ci.org/display/JENKINS/Programming+Research+Plugin ? > > It always prompts error ,"The requested URL /latest/prqa-plugin.hpi was

Re: Future of the Maven Project Type

2015-11-18 Thread Christopher Orr
On 18/11/15 11:47, Stephen Connolly wrote: > My plan, once I come up with a better name for literate, is to have that > project type be able to provide smart builds of Maven projects with near > zero configuration (other than adding a marker file to say literate > should consider this as a valid

Re: Jenkins not saving P12 certificate from Google Service Account from private key

2015-11-18 Thread Christopher Orr
Do you see the files being created in $JENKINS_HOME/credentials/gauth (that's from memory, so not 100% sure on the path)? Are those gauth p12 filenames listed in $JENKINS_HOME/credentials.xml? On 18/11/15 19:45, Andrew Novinger wrote: > For some reason Jenkins lost the original p12 certificate

Workflow and executor use

2015-11-18 Thread Mark Bidewell
When running my workflows, an executor stays allocated for the duration of the workflow. As I consider the possibility of complex flows that include pauses for things like QA approval, it seems likely that I will run out of executors. Are there ways in workflow to release the executor while

Cloud Foundry Plugin: Unknown host

2015-11-18 Thread Mark Heckler
Esteemed colleagues, I'm running a Jenkins Docker container built upon the jenkinsci/jenkins image (https://hub.docker.com/r/hecklerm/jenkins/), and have connected it to Gitlab and Maven, and builds are working fine. After adding the Cloud Foundry plugin, I run into some difficulties. I've