Re: UNable to change password at https://accounts.jenkins.io/

2017-01-25 Thread Baptiste Mathus
Please prefer the Jenkins-infra ml for such requests. Or the IRC channel with that name. Le 25 janv. 2017 11:31 PM, "Rinaldo DiGiorgio" a écrit : > I am unable to change my password and login. > > > On Thursday, August 4, 2016 at 11:14:21 AM UTC-4, Daniel Beck wrote: >> >> Is the password change

Re: Is it possible to echo the ${JOB_NAME} excluding the folder/

2017-01-25 Thread Dirk Heinrichs
Am 26.01.2017 um 00:46 schrieb Daniel Beck: >> On 25.01.2017, at 11:59, Dirk Heinrichs >> wrote: "Prepare an environment for the run" and enter the following >> snippet under "Evaluated Groovy script" (may need Groovy plugin): > This is envinject plugin. Yes, but I wasn't sure whether the Groov

Does kubernetes plugin allow modifying POD resource limits?

2017-01-25 Thread J
I'm trying to schedule jenkins-slave PODs on a locally running cluster of mine which already has resource limits for cpu/memory for PODs & Containers. Firstly where can we specify resource limits for PODs (UI or anywhere)? The values I do specify through the jenkins UI seem to be meant for conta

Using JNLP4

2017-01-25 Thread tamal
Hi, We want to use JNLP4 with swarm plugin. https://github.com/jenkinsci/remoting/pull/92 . I have only enabled JNLP4 protocol in my Jenkins master. Now, do I need to compile Swarm plugin to use the latest java remoting jar? How do I know that my swam plugin in using JNLP4 properly? Our main i

Re: Is it possible to echo the ${JOB_NAME} excluding the folder/

2017-01-25 Thread Daniel Beck
> On 25.01.2017, at 11:59, Dirk Heinrichs wrote: > > "Prepare an environment for the run" and enter the following snippet under > "Evaluated Groovy script" (may need Groovy plugin): This is envinject plugin. -- You received this message because you are subscribed to the Google Groups "Jenki

Getting information about a matrix job from a pipeline job

2017-01-25 Thread Teresa Peters
I have a new pipeline job that I want to use to run tests from a matrix job. The matrix job runs a single Calabash test on several nodes associated with a label. I want the pipeline job to be able to tell me what nodes were run and what the result of the test was for each node. Is that possible?

Re: UNable to change password at https://accounts.jenkins.io/

2017-01-25 Thread Rinaldo DiGiorgio
I am unable to change my password and login. On Thursday, August 4, 2016 at 11:14:21 AM UTC-4, Daniel Beck wrote: > > Is the password change still a problem? > > Re the UX, could you file issues in the INFRA project of our issue > tracker, with the 'account' component? > > https://wiki.jenkin

sh pipeline step started to fail after update to 2.42

2017-01-25 Thread Rinaldo DiGiorgio
The following code was working with 2.41 ( maybe it was 2.40 ) node("master") { sh 'ls' } I get the following error Running on master in /scratch/mach5-j/jenkins/jobs/sh issue/workspace[Pipeline] {[Pipeline] sh[workspace] Running shell script nohup: failed to run command ‘sh’: No such file

Re: Blue Ocean is showing a blue bar at about 90% for 20 minutes

2017-01-25 Thread Rinaldo DiGiorgio
Hi James, Thanks for the information. Blue Ocean seems to address one of my challenges with Jenkins. The User interface was basically not written in a way that allowed one to provide their own. Suppose I have some UI components that I want to use for showing build results and I want to replace

Re: Merge before Build and push back to git origin

2017-01-25 Thread Mark Waite
I assume that when you say that you have two branches, you mean two branches that are in the same git repository. If that is correct, then you should be able to merge without using the multiple SCM's plugin. Mark Waite On Mon, Jan 23, 2017 at 8:12 AM 'HaPe' via Jenkins Users < jenkinsci-users@go

Re: groovy access to Jenkins description

2017-01-25 Thread Richard Ginga
Indra, thank you very much. :) Dick On Wed, Jan 25, 2017 at 2:00 PM, Indra Gunawan (ingunawa) < ingun...@cisco.com> wrote: > Here you go a snippet of groovy I use to post System Message on Jenkins to > post Common Maintenance Windows downtime info: > > > > import hudson.model.* > > > > def sysMe

Re: groovy access to Jenkins description

2017-01-25 Thread Indra Gunawan (ingunawa)
Here you go a snippet of groovy I use to post System Message on Jenkins to post Common Maintenance Windows downtime info: import hudson.model.* def sysMessage = Hudson.instance.systemMessage def newSysMessage = sysMessage ?: "" … cmwHeader = "" if (cmwHeader != "") { newSysMessage = newSy

Re: groovy access to Jenkins description

2017-01-25 Thread Richard Ginga
more specifically, i want to change the System Message programmatically. How can I do this? On Wed, Jan 25, 2017 at 8:51 AM, Richard Ginga wrote: > > I want to publish global information in the Jenkins main description using > groovy. where is the class/method to do that? > > thank you > -- > D

Re: jenkins java api

2017-01-25 Thread Danny Wong
Ok. It looks like I found the Jenkins java api class to give me what I want. From: Danny Wong Date: Wednesday, January 25, 2017 at 10:39 AM To: khmarbaise , Jenkins Users Subject: Re: jenkins java api Hi, I can get all the build names via REST api fine when I make an external call to a python

Re: jenkins java api

2017-01-25 Thread Danny Wong
Hi, I can get all the build names via REST api fine when I make an external call to a python script. I wanted to try implementing within Jenkins groovy scripting. From: khmarbaise Date: Wednesday, January 25, 2017 at 10:37 AM To: Jenkins Users Cc: Danny Wong Subject: Re: jenkins java api Hi,

Re: jenkins java api

2017-01-25 Thread khmarbaise
Hi, you should get only the appropriate job by selecting via name and then you can get information about a part of the job like a pipeline part...may be via the REST API ? I never tried to use this within a pipeline itself... Kind regards Karl Heinz Marbaise On Wednesday, January 25, 2017 at 7

jenkins java api

2017-01-25 Thread Danny Wong
Hi guys, I would like to retrieve all the jobs (and their name) in a specific Jenkins pipeline. I’m looking at Jenkins api using groovy examples, but I have not found the option. I found this example: // Get the list of all jobs and print them //activeJobs = hudson.model.Hudson.insta

Re: Kubernetes does not show as Cloud Provider

2017-01-25 Thread J
Yep that fixed it. Thanks Carlos. It would be good if you mentioned that on the plugin page or the the github README. For anyone else that stumbles here, I had to completely remove jdk-7 before this started working. On Wednesday, 25 January 2017 09:51:35 UTC-8, Carlos Sanchez wrote: > > Unsuppo

Re: Kubernetes does not show as Cloud Provider

2017-01-25 Thread Carlos Sanchez
Unsupported major.minor version 52.0 Kubernetes plugin requires Java 8 On Wed, Jan 25, 2017 at 6:28 PM, J wrote: > I did a new install and I see a bunch of warnings all failing to load >> modules and all citing the same major minor version error (highlighted >> below): >> > > > INFO: Jenkins is

Re: Kubernetes does not show as Cloud Provider

2017-01-25 Thread J
> > I did a new install and I see a bunch of warnings all failing to load > modules and all citing the same major minor version error (highlighted > below): > INFO: Jenkins is fully up and running Jan 25, 2017 5:20:12 PM hudson.model.UpdateSite$Plugin getNeededDependencies WARNING: Could

NonCPS not working properly?

2017-01-25 Thread Torsten Reinhard
Hi, I put that (tested) one-liner for converting a xml to a Map to a @NonCPS funkction @NonCPS def readXml( String xml ) { return new XmlSlurper().parseText(xml).children().collectEntries { n-> [( n.name()):{->n.children()?.collectEntries(owner)?:n.text()}()]} } When using it inside a pip

Showing trend results for multiple projects on one view

2017-01-25 Thread 'Ian Smith' via Jenkins Users
Hi, What I have been requested to produce is the means of having a single screen image that can be displayed on a large TV that shows the output of the test result analysis of two different jobs. Given that going to http://ci-server/job/jobname/test_results_analyzer/ shows that it is possible

Re: Jenkinsfile, running in two modes and tracking results

2017-01-25 Thread 'Ian Smith' via Jenkins Users
I have bodged round this for now. I'm using HTML report plugin for generating results for all of the tests and jUnit for the tests expected to pass. It gives me the tracking that I need for regression catching but isn't the perfect solution. -- You received this message because you are subscri

groovy access to Jenkins description

2017-01-25 Thread Richard Ginga
I want to publish global information in the Jenkins main description using groovy. where is the class/method to do that? thank you -- Dick Ginga Build Engineer rgi...@disruptorbeam.com -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubs

Re: Calculate changelog against specific branch using weird ref syntax

2017-01-25 Thread Jordan Coll
Ok. compareRemote should obviously be the remote (i.e. origin). So yeah, works perfectly. Not feeling dumb at all =| On Wednesday, January 25, 2017 at 2:52:08 PM UTC+2, Jordan Coll wrote: > > So I've been setting up a new pipeline job, and since we use private > branches that are then merged into

Calculate changelog against specific branch using weird ref syntax

2017-01-25 Thread Jordan Coll
So I've been setting up a new pipeline job, and since we use private branches that are then merged into release branches, I added a [$class: 'ChangelogToBranch', options: [compareRemote: "jordan/master", compareTarget : "master"]] to my checkout. This consistently results in Using 'Changelog

Extended Choice Parameter read from JSON file

2017-01-25 Thread Gadi Dor
Dear Sir, I want to start using Extended Choice Parameter , I can load json parameter from here: def object = '''{ disable_edit_json: true, disable_properties: true, no_additional_properties: true, disable_collapse: true, disable_array_add: true,

Re: AWS ECS Plugin

2017-01-25 Thread Rajasekaran R
Yes you are correct I am also running my slave jenkins user under docker group but I cant run docker commands using Jenkins user. My Dockerfile end of the lines look likes.. RUN usermod -aG docker jenkins RUN gpasswd -a jenkins docker #RUN systemctl restart docker USER jenkins ENTRYPOINT ["/usr

Re: Is it possible to echo the ${JOB_NAME} excluding the folder/

2017-01-25 Thread Dirk Heinrichs
Am 25.01.2017 um 12:05 schrieb Mark Allison: > Thanks for the reply. I am using a pipeline job, so can I just put > this in my pipeline script? > > JOB_BASE_NAME: JOB_NAME.split('/').last() Didn't use pipeline scripts, yet. So I don't know what their exact syntax is. Bye... Dirk -- *Dirk

Re: Is it possible to echo the ${JOB_NAME} excluding the folder/

2017-01-25 Thread Mark Allison
Thanks for the reply. I am using a pipeline job, so can I just put this in my pipeline script? JOB_BASE_NAME: JOB_NAME.split('/').last() On Wed, 25 Jan 2017 at 10:59 Dirk Heinrichs wrote: > Am 25.01.2017 um 11:38 schrieb Mark Allison: > > I want to use the ${JOB_NAME} environment variable

Re: Is it possible to echo the ${JOB_NAME} excluding the folder/

2017-01-25 Thread Dirk Heinrichs
Am 25.01.2017 um 11:38 schrieb Mark Allison: > I want to use the ${JOB_NAME} environment variable on my Windows > slave, however my project is in a folder in Jenkins and I want to > exclude the folder. How can I use %JOB_NAME% without the folder name? In the job configuration, check "Prepare an e

Is it possible to echo the ${JOB_NAME} excluding the folder/

2017-01-25 Thread Mark Allison
I want to use the ${JOB_NAME} environment variable on my Windows slave, however my project is in a folder in Jenkins and I want to exclude the folder. How can I use %JOB_NAME% without the folder name? Thanks -- Sent from my phone -- You received this message because you are subscribed to the G

Re: When Connecting to GitLab from Jenkins it is failing

2017-01-25 Thread terrasson marc
I too fall in this pit trap. Anyone found a workaround? -- 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 t

Re: Jenkins jobs on cifs mount drive

2017-01-25 Thread Christoph Nenning
You can modifiy your mount command to include uid of your local jenkins user: -o username="remote samba user",uid=local-jenkins-uid Regards, Christoph > From: jer...@bodycad.com > To: Jenkins Users , > Date: 24.01.2017 20:18 > Subject: Jenkins jobs on cifs mount drive > Sent by: jenkinsci-u

Re: Pipeline checkout poll argument

2017-01-25 Thread Christoph Nenning
Yes you are right :) When polling is set to true jenkins starts polling that url. First run must be triggered manually to get jenkins startig to poll. Regards, Christoph > From: jer...@bodycad.com > To: Jenkins Users , > Date: 24.01.2017 20:06 > Subject: Pipeline checkout poll argument > Se

Re: Kubernetes does not show as Cloud Provider

2017-01-25 Thread Carlos Sanchez
It should show, maybe you are missing some plugin dependencies or have dependency conflicts. Check the jenkins log at startup for errors. On Wed, Jan 25, 2017 at 12:11 AM, J wrote: > Hi, > > I'm using the latest version of Jenkins (2.32) and the Kubernetes plugin > (0.10). I've tried re-installi