Re: Jenkins: How to run test on multiple hosts in parallel?

2018-08-06 Thread sujaypc1
If your nodes are on linux, try installing pssh on the server 1. Install pssh yum install python-pip pip install pssh 2. create a host file 'pssh-host' with the number of hosts along with IP address and port number that you need to connect to remote systems using pssh. 3. Execute

Re: Unable to launch a browser

2018-08-06 Thread sujaypc1
Try to run Jenkins from the command line and start browser cd "C:\Program Files\Jenkins" && java -jar jenkins.war On Tuesday, August 7, 2018 at 10:03:30 AM UTC+5:30, Jan Monterrubio wrote: > > Does the agent have X11 or any sort of graphical input? If not could you > use something like selenium

Re: Poll Mailbox Trigger Plug-in not working

2018-08-06 Thread Jan Monterrubio
Is this configured correctly? https://github.com/jenkinsci/poll-mailbox-trigger-plugin/blob/master/README.md#screenshots On Sun, Aug 5, 2018 at 23:42 Kuppam Bhanuchandar < bhanuchandarkup...@gmail.com> wrote: > Hi , > > I am using Poll Mailbox Plug-in , Test connection showing error like, > >

Re: Getting error while running jenkins war in command prompt

2018-08-06 Thread Jan Monterrubio
What Jenkins version? https://issues.jenkins-ci.org/plugins/servlet/mobile#issue/JENKINS-50272 Double check if the jdk tool plugin is installed. It should come as part of core. On Sun, Aug 5, 2018 at 23:42 wrote: > I have installed jdk 8 and set path in system variable. I am getting > below

Re: Jmeter Test execution - Blank Performance Trend graphs

2018-08-06 Thread Jan Monterrubio
I can’t find anything super obvious from a quick glance at the code. Can you enable logging for: hudson.plugins.performance Maybe it will show us how it’s evaluating whether there’s previous results or not. Looks like the class where we might find what’s happening might be

Re: Unable to launch a browser

2018-08-06 Thread Jan Monterrubio
Does the agent have X11 or any sort of graphical input? If not could you use something like selenium to start the browser in headless mode? On Mon, Aug 6, 2018 at 07:37 Ajith Raman wrote: > Hello All, > > > > I try to launch a browser via Jenkins. Unfortunately, it doesn't works > (But the

Re: Jenkins pipeline build use Jenkins file from current branch that's being built

2018-08-06 Thread Lance Lyons
unsubscribe On Mon, Aug 6, 2018 at 8:50 AM, Daniel Anechitoaie wrote: > Hi, > > I'm using Jenkins Pipeline job type and I have it build all branches (**) > when a push to BitBucket is made. > Currently the configuration is inside Jenkins but I'd like to have it > inside a Jenkinsfile. > From

Re: Jenkins pipeline build use Jenkins file from current branch that's being built

2018-08-06 Thread bearrito
You likely need to change the Trustmodel. By default the Jenkinsfile from the branch being merged into is used. Please consider carefully the impact of allowing users to modify Jenkinsfiles. In my use case this isn't acceptable, however, it might be in yours. Best, -b On Monday, August 6,

Re: Jenkins pipeline build use Jenkins file from current branch that's being built

2018-08-06 Thread bearrito
On Monday, August 6, 2018 at 9:50:36 AM UTC-4, Daniel Anechitoaie wrote: > > Hi, > > I'm using Jenkins Pipeline job type and I have it build all branches (**) > when a push to BitBucket is made. > Currently the configuration is inside Jenkins but I'd like to have it > inside a Jenkinsfile. >

Jenkins pipeline build use Jenkins file from current branch that's being built

2018-08-06 Thread Daniel Anechitoaie
Hi, I'm using Jenkins Pipeline job type and I have it build all branches (**) when a push to BitBucket is made. Currently the configuration is inside Jenkins but I'd like to have it inside a Jenkinsfile. >From what I see I need to specify a different repo/branch from where to take that file.

Re: How to know if the pull requests are trusted ?

2018-08-06 Thread Denis Mone
Maybe you need to have your branch parametrized inside Jenkinsfile For example: checkout([$class: 'GitSCM', > branches: [[name: "${sha1}"]], // parametrized value > doGenerateSubmoduleConfigurations: false, > extensions: [[$class: 'CleanBeforeCheckout']], >

Re: Disk space is too low. Only "less than a GB" left on /var/lib/jenkins

2018-08-06 Thread Baptiste Mathus
Note, also, that disk space is generally cheap these days. Much much cheaper than engineering time. You didn't tell us how many jobs this instance is running, and what kind of workload. Depending on this, 5.4 might be enough, or way too small. I usually see masters with dozens, at least, of

Unable to launch a browser

2018-08-06 Thread Ajith Raman
Hello All, I try to launch a browser via Jenkins. Unfortunately, it doesn't works (But the build succeeds). Please find below the command used: Build (Execute Windows Batch Command): *start chrome "www.google.com"* Could someone help me on this? Regards, Ajith -- You received this

Re: Can i run master and slave on same machine

2018-08-06 Thread Mark Waite
Refer to https://wiki.jenkins.io/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines+on+Windows or https://stackoverflow.com/questions/24962504/adding-a-slave-to-jenkins or http://scmquest.com/jenkins-master-slave-setup-and-configuration-with-screenshots/ or

How to know if the pull requests are trusted ?

2018-08-06 Thread Ramanathan Muthaiah
Hello, We're running Jenkins v2.32.2 (agreed, it's very very old, but this is in the enterprise) and am trying to setup multibranch for one of Git repos (hosted in github enterprise - GHE). For every build job, triggered by Jenkins multibranch, pipeline kicks in but Jenkinsfile changes in PR

Re: Disk space is too low. Only "less than a GB" left on /var/lib/jenkins

2018-08-06 Thread Amit Ghatwal
Few methods which we employ to save on space is by using 1. any "post-build" for any job to delete job workspace if not needed. 2. Limit the number of job build logs to minimum - say around 2-4. 3. Install this disk usage plugin - https://wiki.jenkins.io/display/JENKINS/Disk+Usage+Plugin which

Re: Jmeter Test execution - Blank Performance Trend graphs

2018-08-06 Thread Ajith Raman
Hi Jan, Thank you very much for the response. The plug-in used is Performance.hpi (version - 2.1). Regards, Ajith On Sunday, 5 August 2018 09:20:27 UTC+5:30, Jan Monterrubio wrote: > > What plugin is generating the performance trends? > > On Fri, Aug 3, 2018 at 3:06 PM Ajith Raman > wrote: >

Mesos and Kuberentes configured on the same jenkin instance

2018-08-06 Thread pbasanta2002
Hi , I have a jenkin instance where mesos and K8S clouds configured .. If for some reason jobs need to be executed on mesos not able to start then K8S jobs also not starting . Just want to know is this expected ? Regards, Basanta -- You received this message because you are subscribed to the

Re: Can i run master and slave on same machine

2018-08-06 Thread Amit Ghatwal
I have set up a single machine to run as jenkins- master+slave successfully many a times , been able to deploy jobs successfully as well on the machine at "Remote root directory" for the added slave node .Every job deployed creates a folder with the job name . Can you elaborate more on where