Re: Sending email to $DEFAULT_RECIPIENTS via Pipeline script?

2016-11-01 Thread Slide
That was added in 2.50 I believe. I added support for pipeline in token-macro and email-ext picked it up and added the necessary stuff to use it. On Tue, Nov 1, 2016 at 1:55 PM Indra Gunawan (ingunawa) wrote: > Token from EmailExt plugin still does not work in pipeline. >

Re: Stage View Disappears Completely - missing xml file in workflow folder

2016-11-01 Thread Clint Chapman
I've added an issue: https://issues.jenkins-ci.org/browse/JENKINS-39143 On Wednesday, October 19, 2016 at 10:01:36 AM UTC-4, ccha...@kinaxis.com wrote: > > After restarting jenkins (no jobs were running), my stage view > disappeared. When I go to the ajax page, I'm getting: > > Caused by:

Jenkins global config.xml read plugins xml dynamically

2016-11-01 Thread Manoj Thakkar
Hi, I have a plugin which generates an xml (config) for it. I would like to put the config in source code control also generate it programmatically. The problem is how can i make the global jenkins config read this newly generated plugin config xml file every time ? Any pointers how can i do

Re: Jenkins Server restarts even though pipeline job running

2016-11-01 Thread Daniel Beck
> On 01.11.2016, at 22:08, Bruce Evans wrote: > > My Ask: is this normal pipeline behavior? It's a feature: https://jenkins.io/doc/book/pipeline/overview/#why-pipeline (list, first item) -- You received this message because you are subscribed to the Google Groups

Jenkins Server restarts even though pipeline job running

2016-11-01 Thread Bruce Evans
Not sure if this is a bug or not. Jenkins Server 2.19.1, running on Windows 7 Enterprise SP1, on VMware Workstation v12 Jenkins Slave 1, on Win 7 Enterprise SP1, on VMware WS v12 Jenkins Slave 2, on Win 7 Enterprise SP1, on VMware WS v12 all above VM's are running on same physical host (Win10

Re: Sending email to $DEFAULT_RECIPIENTS via Pipeline script?

2016-11-01 Thread Indra Gunawan (ingunawa)
Token from EmailExt plugin still does not work in pipeline. see: http://stackoverflow.com/questions/35793687/email-ext-and-workflow-pipeline-some-tokens-not-being-expanded From: > on behalf of Jim Klo

Sending email to $DEFAULT_RECIPIENTS via Pipeline script?

2016-11-01 Thread Jim Klo
Greetings, I'm trying to send email to the $DEFAULT_RECIPIENTS settings within my Jenkinsfile Pipeline script, and having very little success. Here's what I've tried so far: emailext ( to: "${DEFAULT_RECIPIENTS}", subject: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",

Re: Jenkins 2.0: Turn off Setup wizard

2016-11-01 Thread Mike Albert
Found a solution for this issue. In previous releases, I had set this flag via JENKINS_JAVA_OPTIONS in /etc/default/jenkins. If I move that same flag from JENKINS_JAVA_OPTIONS to JAVA_ARGS in /etc/default/jenkins, it works as expected. On Wednesday, October 26, 2016 at 11:56:29 AM UTC-4,

Re: Integrating Jenkins with chef

2016-11-01 Thread Lavanya pujari
On Tuesday, November 1, 2016 at 3:04:00 PM UTC-4, Lavanya pujari wrote: > > The scenario of Integrating Jenkins with Chef is: > > I have configured jenkins with 3 plugins like Chef Identity plugin, Chef > Sinatra Plugin and Chef plugin. > > While configuring with Chef Identity, I provided

Re: Integrating Jenkins with chef

2016-11-01 Thread Lavanya pujari
The scenario of Integrating Jenkins with Chef is: I have configured jenkins with 3 plugins like Chef Identity plugin, Chef Sinatra Plugin and Chef plugin. While configuring with Chef Identity, I provided the identity name, knife.rb and pem file details. From there using sinatra plugin, I am

Re: How I can create user group in Jenkins

2016-11-01 Thread Rachel Moreno
Hi, On my personal experience, I could suggest you two options: - Having a LDAP server in which you configure users and groups. Then, you can integrate Jenkins with that server (Jenkins > Manage Jenkins > Access Control), setting permissions by group. - Using Jenkins' own

Re: Node Build History

2016-11-01 Thread Rachel Moreno
Hi Tim, Sorry, I didn't find that issue, thank you. Its comment is reasonable. It's a pity, because I'd found the source code for showing builds in Build History for a job (it works for Pipeline jobs) and the source code for showing builds in Build History for a node, and I were looking for

regenerate junitResult.xml

2016-11-01 Thread Sergey Sudakovich
On some jobs, JUnit fails to generate the test results due to OOM Error. Later on I am re-generating the junitResult.xml but the build page does not update and does not show the contest of the file. How do I force it to be reread? -- You received this message because you are subscribed to the

Re: Jenkins is hanging

2016-11-01 Thread Rachel Moreno
Hi Mirko, Please, could you provide more detail? Why are there two stop-and-start (14:12 and 14:20)? When does it happen the problem? Best regards, Rachel El martes, 1 de noviembre de 2016, 14:27:40 (UTC+1), SGD53 escribió: > > Hi Rachel, > > Please see the attached file containing the log. >

Re: ERROR fetching remote repo 'origin' from codebasehq

2016-11-01 Thread Indra Gunawan (ingunawa)
This is the error: stderr: Host key verification failed. fatal: Could not read from remote repository. You need to SSH to the node and become whatever the Jenkins user running the build on the node. You can try git clone the repo as that user and accept host key or you can add this to the

How I can create user group in Jenkins

2016-11-01 Thread osmany
Hi, I need create user groups to organize the assignment of permissions and not have to do per user. Someone can help me with this task? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails

ERROR fetching remote repo 'origin' from codebasehq

2016-11-01 Thread Neil Stoker
Hi, I am going round in circles trying to track down what is causing Jenkins giving the following error: Started by user neils Building remotely on Project_BA (project) in workspace c:\BuildAgent\ workspace\Project_BA QA Test 1 > git rev-parse --is-inside-work-tree # timeout=10 Fetching

Re: Node Build History

2016-11-01 Thread Tim Webster
Hi Rachel, I went to create the issue and saw this: https://issues.jenkins-ci.org/browse/JENKINS-38877 Looks like it's not going to be implemented (at least not in the same manner)...? On Tuesday, 1 November 2016 12:47:50 UTC, Rachel Moreno wrote: > > Hi Tim, > > Sorry, I meant *builds* from

Re: java.lang.NullPointerException

2016-11-01 Thread Rachel Moreno
Hi Daslan, It fails when it builds a ClassRealm with MAVEN_HOME/lib/*.jar. Please, could you provide information about: - Your Maven installation. How have you configured *Maven Section* in *Manage Jenkins > Configure Settings*? - Your job configuration. What have you configured?

Re: Node Build History

2016-11-01 Thread Rachel Moreno
Hi Tim, Sorry, I meant *builds* from pipeline jobs aren't shown in that view. I've noticed they are registered internally as "flow-build" whereas builds from non-pipeline jobs are registered as "build". I'll keep on searching. Thanks for your notification. Best regards, Rachel El martes, 1

Re: Jenkins API: retrieve the complete list of jobs in one single rest api access

2016-11-01 Thread Victor Martinez
If I run println Jenkins.instance.getAllItems().collect {it.fullName} it works as expected since it does some recursive search: - http://javadoc.jenkins-ci.org/jenkins/model/Jenkins.html#getAllItems() But

Jenkins API: retrieve the complete list of jobs in one single rest api access

2016-11-01 Thread Victor Martinez
Hi there, I'd like to know whether there is an easy way of retrieving the entire list of jobs in one single rest api even when those jobs are in folders without iterating through the rest api by doing traversal search or any other tree search. I've found the below suggestion, but I'm not a

Re: run wsadmin from a remote webspehre

2016-11-01 Thread vinaymurthy muluka
Hi Andy, Even I have a similar situation, project code files are in the local machine and build scripts too. I see that build.xml file has IBM WAS java path set , here I have to place the remote IBM WAS java path if I place the remote WAS path , will it work? or is there a way to get it

Re: Pipelines, github fork models and the Jenkinfile

2016-11-01 Thread Arvind Jayaprakash
This plugin is letting me do everything I wanted. https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Integration+Plugin The plugin lets me trigger pipelines based on pull request triggers from github without imposing any conventions on files that needs to be present in the source trees. I then

java.lang.NullPointerException

2016-11-01 Thread das gov
Hi I am using Jenkins ver. 2.19.1 and Maven project _Plugin 2.14. I get the error below. Please

Publish TestNG Results using build pipeline in jenkins

2016-11-01 Thread 'Archana Singh' via Jenkins Users
Hello, We are using jenkins pipeline to run our continous smoke tests. One of the stages include running TestNG automation. We want to publish results on the job using the TestResultAnalyzer plugin. Currently, we have installed the TestResultAnalyzer, and it shows data for a normal jenkins