AW: Testlink integration with Maven project in Jenkins

2015-10-16 Thread Eric Engel
Hi, the Testlink Plugin is in my opinion a pain to work with. I would suggest using the Testlink REST API to gather data needed before job executions and to write back information to Testlink after a build succeded/failed. You could write your own Jenkins plugin to do that, or use scripts in p

Email-ext plugin (system groovy and workflow jobs)

2015-10-16 Thread Leon Leon
Hello everyone, I have two questions about the Email-ext plugin: 1) Is there a way to use the functions of Email-ext plugin in a Workflow ? (I need to send notifications to culprits, developers ect ..) ? 2) Is it possible to access these lists (i.e developers, culprits, ect ..) of a specified

Failed to instruct Maven plugin(2.12) to compile my project using JDK 1.6

2015-10-16 Thread Levski Weng
What I want is to instruct the Maven plugin in Jenkins to build my project with JDK 1.6, but it seems that the Maven plugins complains the mismatch of the JDK version. Here is the console output: - Parsing POMs Modules changed, recalculating dependency graph Established TCP socket on 6939 [mana

cannot run ant on mac os x slave

2015-10-16 Thread Sergey Solozhentsev
Hi I'm using Jenkins 1.633. master on windows slave on mac os x El capitan. Mac os X slave is started from LaunchDaemons plist. I'm trying to execute ant script on mac os x slave but jenkins does not find ant. I installed ant using brew. ant -version from terminal shows correct version. If I

Re: cannot run ant on mac os x slave

2015-10-16 Thread Sergey Solozhentsev
I forgot to mention that I was trying to set node tool path for ant but it seems it ignore it. -- 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+

Re: cannot run ant on mac os x slave

2015-10-16 Thread Victor Martinez
You might need to check whether that shell session contains the right environment path variables path environment variable via bashrc doesn't work as expected since jenkins ssh slaves run as non interactive ssh so you will need to configure your /etc/ssh/config accordingly, I guess so. Cheers

RE: P4 Jenkins

2015-10-16 Thread Ginga, Dick
We use Perforce but a different plugin (I think, there are at least 2). What does the help for “Perforce Triggered” say? From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Martin Sent: Thursday, October 15, 2015 7:13 PM To: Jenkins Users Subject: P4 Jen

Re: cannot run ant on mac os x slave

2015-10-16 Thread Sergey Solozhentsev
Thanks for response. You are tight the issue is the PATH does not contains* /usr/local/bin*. I do not start slave using ssh. And I cannot find a place where I must set correct PATH environment variable. Even If I set this variable for slave node I have the same result. I do not understand where

Re: What are the difference between Jenkins and HP ALM?

2015-10-16 Thread Manjunath Kattemane
Hi All, I am trying to execute ALM test set through Jenkins. I have few doubts, * One "TestSet" has multiple scripts, can we run individual test through Jenkins? My requirement is I have one test set in ALM which has 20 test cases, I need to execute all 20 test cases using Jenkins parallel executi

Re: Multi-Branch Project Plugin: NoClassDefFoundError: Could not initialize class org.eclipse.jgit.transport.Transport

2015-10-16 Thread Emmanuel Vanhoucke
Exactly, the same problem. I came back in a previous version of Jenkins and everithing was ok... Le vendredi 16 octobre 2015 08:32:26 UTC+2, Timo M a écrit : > > i have exactly the same error. Is there a solution? > > Am Mittwoch, 14. Oktober 2015 16:46:59 UTC+2 schrieb Alex Miles: >> >> Hi all,

Re: Maven settings.xml from a URL

2015-10-16 Thread Justin
Awesomesauce. Thanks. On Thursday, October 15, 2015 at 4:47:42 PM UTC-5, Justin wrote: > > We run our Jenkins nodes with a service account that has a a > network-mounted home directory. I don't want to rely on that account's > ~/.m2/settings.xml (beacuse people can and do periodically mess it up

Way to determine plugin version number from hpi/jpi file?

2015-10-16 Thread Ryan Fox
Does anyone know if there is a way to determine the version number of a plugin from just the hpi/jpi file? I have multiple copies of a plugin, but noway to tell the specific version without having to first load them into Jenkins. -- You received this message because you are subscribed to the

Re: Maven settings.xml from a URL

2015-10-16 Thread Mark Waite
There is a matrix plugin that will allow you to run a job on all nodes with a specific label. It is the ElasticAxis plugin. I find it quite helpful. It allows me to run git client plugin and git plugin tests on every slave currently available. There is a plugin that will allow you to provide con

Way to determine plugin version number from hpi/jpi file?

2015-10-16 Thread Victor Martinez
Afaik, those files are a kind of jar files, you can unzip them, and open the manifest.MF file which contains that version information and their dependencies, which is allocated in the meta-inf folder. look at the puppet jenkins module since it uses that implementation to check whether the versi

Re: Email-ext plugin (system groovy and workflow jobs)

2015-10-16 Thread Slide
I am working on added an email-ext for workflow, but I haven't had time to complete the work yet. All email-ext does is use Jenkins' APIs to get the list of developers and culprits. The thing to remember is that some of that information would be accessed differently in a workflow since it doesn't e

How to checkout file in Jenkins perforce plugin ?

2015-10-16 Thread Sanjeev Singh
Hi, I am a new user to Jenkins and trying to setup a C++ build using perforce. I am able to create the view and build the project fine using MSBuild. But I need to modify one header file containing version info before build and submit the changed file on perforce after build. I am trying to use

Re: Way to determine plugin version number from hpi/jpi file?

2015-10-16 Thread Ryan Fox
That worked. Thanks for the tip! On Friday, October 16, 2015 at 8:57:37 AM UTC-6, Victor Martinez wrote: > > Afaik, those files are a kind of jar files, you can unzip them, and open > the manifest.MF file which contains that version information and their > dependencies, which is allocated in th

Re: Multiple Jenkins possible ? - quick question

2015-10-16 Thread Zaro
it's in the wiki, in 'configuring multiple jenkins masters section'. On Thu, Oct 15, 2015 at 12:00 PM, Fadi Al-Farah wrote: > Yes I've tried, the instructions from the wiki. I'm at the point where I'm > trying to setup a gearman server, but I don't think it's running. (When I > try to Test the co

RE: How to checkout file in Jenkins perforce plugin ?

2015-10-16 Thread Ginga, Dick
This is not really a Jenkins question. It is a Perforce question but we use Perforce and: -c default --- is default your workspace name? Jenkins usually changes the client workspace name to append the node name. do you have “Let Jenkins manage the workspace” selected? Does the user you are u

Re: Having one slave attached to 2 different masters ?

2015-10-16 Thread Khai Do
I usually connect with 2 different users on the slave so that each connection has it's own WORKSPACE directory. Try that and see if it works for you. On Monday, August 17, 2015 at 8:27:50 PM UTC-7, Taher Furniturewala wrote: > > *Thank you [Bjorn , Khai , Chanda ] for the responses . * > > >

Re: P4 Jenkins

2015-10-16 Thread Russ Tremain
Hi Martin, what version of p4-jenkins are you using? not sure what "triggered by perforce" means - I don't have that in my configuration. I would turn it off. also make sure your jenkins and perforce server are in sync time-wise. -Russ At 4:12 PM -0700 10/15/15, Martin wrote: Hello, I

Re: P4 Jenkins

2015-10-16 Thread Tim Hargreaves
We're running Perforce using the other plugin and just use the Poll SCM scheduler. It works as expected. On Thursday, October 15, 2015 at 4:12:55 PM UTC-7, Martin wrote: > > Hello, > > I am configuring a Perforce plugin for Jenkins, and my configuration is > attached. The problem is that the bu

Re: How to checkout file in Jenkins perforce plugin ?

2015-10-16 Thread Tim Hargreaves
What we do is just have a user with read only access perform the sync and just have the workspace set to 'allwrite' On Friday, October 16, 2015 at 8:25:29 AM UTC-7, Sanjeev Singh wrote: > > Hi, > I am a new user to Jenkins and trying to setup a C++ build using perforce. > I am able to create the

RE: How to checkout file in Jenkins perforce plugin ?

2015-10-16 Thread Ginga, Dick
I think that will let you edit the copy of the file in the workspace but you can’t check it out and in. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Tim Hargreaves Sent: Friday, October 16, 2015 1:32 PM To: Jenkins Users Subject: Re: How to checko

Global environmental variables

2015-10-16 Thread Peter Berghold
Riddle me this Batman. Is there a way in Jenkins to set a global value that build jobs can access in a shell? Reason I ask is I'm about to create a build job that sets up files for release by gathering a host of modules, staging them and then creating not one but two tarballs for distribution.

RE: Global environmental variables

2015-10-16 Thread John Mellor
I write out a file containing the globals and then source it wherever required. For downstream jobs, I have to make the file an artifact, so it gets copied to the master node, and then use the Copy-To-Slave plugin to pull it over to the current node. P.S, all of my builds use various forms of

Jenkins Global Build Stats only produce two builds

2015-10-16 Thread Jirong Hu
I just installed this plugin, it works fine in our DEV environment (only has a master), but on PROD (build on Slaves, actually executors on the same one Windows Slave) it only produce two builds. I created the report with all default settings which should includes all nodes. Any idea? Thanks

Re: How to checkout file in Jenkins perforce plugin ?

2015-10-16 Thread Tim Hargreaves
My mistake. Missed the part where you want to submit it. On Fri, Oct 16, 2015 at 11:09 AM, Ginga, Dick wrote: > I think that will let you edit the copy of the file in the workspace but > you can’t check it out and in. > > > > *From:* jenkinsci-users@googlegroups.com [mailto: > jenkinsci-users@go

Re: Global environmental variables

2015-10-16 Thread Peter Berghold
Yah... thought of that and I'm trying to avoid that. On Fri, Oct 16, 2015, 15:14 John Mellor wrote: > I write out a file containing the globals and then source it wherever > required. For downstream jobs, I have to make the file an artifact, so it > gets copied to the master node, and then use

Re: Multi-Branch Project Plugin: NoClassDefFoundError: Could not initialize class org.eclipse.jgit.transport.Transport

2015-10-16 Thread Timo M
which version do you use where it is working again? hope this issue will be fixed soon, need the multi column plugin running :/ Am Freitag, 16. Oktober 2015 14:56:14 UTC+2 schrieb Emmanuel Vanhoucke: > > Exactly, the same problem. I came back in a previous version of Jenkins > and everithing was

Re: Global environmental variables

2015-10-16 Thread Christopher Orr
You can do something similar with the EnvInject plugin; there's a build step to export some properties to the environment — that would at least avoid the necessity to `source` the script everywhere. On 16/10/15 21:53, Peter Berghold wrote: > Yah... thought of that and I'm trying to avoid that. >

Re: P4 Jenkins

2015-10-16 Thread Martin
Hi, Russ: I am using this one: https://wiki.jenkins-ci.org/display/JENKINS/P4+Plugin, which is from Perforce. It should be the right one to choose, according to the documentation. Thanks, Martin On Friday, October 16, 2015 at 1:18:56 PM UTC-4, Russ Tremain wrote: > > Hi Martin, > > what versio

Re: Publish tar.gz file to Nexus

2015-10-16 Thread Jason Tran
follow suggestion, I am using Assembly Plugin, but still having trouble create tar.gz for Directory RE *Here is my pom.xml:* http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.

Re: Subversion comment to email subject

2015-10-16 Thread Slide
It has a logger, not a listener: binding.put("logger", listener.getLogger()); If you need to get environment variables you can do it like this ENV(var: 'NAME_OF_VAR'). Any token-macro token can be used in this way. On Thu, Oct 15, 2015 at 8:03 AM Philippe Payant wrote: > I am so close now! > >