maven-install-plugin - generating jar in jenkins internal maven repository

2019-04-09 Thread Mauro Flores
am I doing wrong? Thanks. Mauro Flores. -- 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

Re: maven plugin - how to obtain the jenkins user name

2014-05-08 Thread Mauro Flores
> > Look at https://wiki.jenkins-ci.org/display/JENKINS/Build+User+Vars+Plugin > That's it!!! I just need to code this at my maven plugin: System.getProperty("BUILD_USER_ID"). Thank you very much Larry. Thanks Gavriil Konovalenko, the plugin author. Jenkins is awsome! -- You received this

Re: maven plugin - how to obtain the jenkins user name

2014-05-08 Thread Mauro Flores
I understand that maven and jenkins are unrelated projects. I've thought that when the maven plugin is running inside a job started by jenkins, the jekins running context could be available somehow for maven plugin code. For instance, each jenkins job runs in a different jvm, it would be easy t

Re: maven plugin - how to obtain the jenkins user name

2014-05-05 Thread Mauro Flores
; >> Regards. Mauro. >> >> Em sábado, 3 de maio de 2014 12h04min32s UTC-3, Baptiste Mathus escreveu: >>> >>> Well, no indeed. Maven is an independent project and generally runs out >>> of Jenkins. >>> >>> Maybe you should explain a b

Re: maven plugin - how to obtain the jenkins user name

2014-05-05 Thread Mauro Flores
gt; > Regards. Mauro. > > Em sábado, 3 de maio de 2014 12h04min32s UTC-3, Baptiste Mathus escreveu: >> >> Well, no indeed. Maven is an independent project and generally runs out >> of Jenkins. >> >> Maybe you should explain a bit more what you are trying to

Re: maven plugin - how to obtain the jenkins user name

2014-05-05 Thread Mauro Flores
UTC-3, Baptiste Mathus escreveu: > > Well, no indeed. Maven is an independent project and generally runs out of > Jenkins. > > Maybe you should explain a bit more what you are trying to achieve. > > Cheers > Le 1 mai 2014 00:50, "Mauro Flores" > > a

getCiManagement()

2014-05-02 Thread Mauro Flores
Hello, I'm developing a maven plugin to run in jenkins, Why does the method getCiManagent() return null? Shouldn't it return jenkins managent context? MavenProject mp = (MavenProject) super.getPluginContext().get( "project"); mp.getCiManagement(); "The element contains informations required

Re: maven plugin - how to obtain the jenkins user name

2014-04-30 Thread Mauro Flores
Maybe I haven't expressed myself correctly. I get a ClassNotFound exception for hudson.model.User. Does a maven plugin (not a jenkins plugin) has access to jenkins classpath ? Regards. Mauro Flores. Em terça-feira, 29 de abril de 2014 18h29min31s UTC-3, Mauro Flores escreveu: >

Re: maven plugin - how to obtain the jenkins user name

2014-04-29 Thread Mauro Flores
w I lot of jars are brought. org.jenkins-ci.main jenkins-core 1.543 Em sábado, 26 de abril de 2014 11h59min44s UTC-3, Michael Clarke escreveu: > > Use > User.current()<http://javadoc.jenkins-ci.org/hudson/model/User.html#current()> > > > On 25 Apri

maven plugin - how to obtain the jenkins user name

2014-04-25 Thread Mauro Flores
Hello, I'm building a maven plugin. I'd like to access the name of the user logged on jenkins inside the maven plugin. Regards. Mauro. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving ema