Re: Gerrit-trigger with multiple Git-repos
In method: *public CollectionRevision getCandidateRevisions(boolean isPollCall, String singleBranch, GitClient git, TaskListener listener, BuildData data, BuildChooserContext context)* I have *singleBranch* == null, can this cause my problem? 2asmundo: thanks for the tip, I'll try it. On Thursday, August 15, 2013 6:00:39 PM UTC+7, Robert Sandell wrote: The Gerrit trigger build chooser has nothing specific to handle multiple repositories. It just tells the git plugin to checkout FETCH_HEAD which usually is the refspec specified in the config. This probably confuses the git plugin a bit as it tries to insert null into the GIT_BRANCH env var if you haven’t specified a branch in the config. Setting the branch config to origin/master or origin/$GERRIT_BRANCH usually helps. The build chooser implementation is here https://github.com/jenkinsci/gerrit-trigger-plugin/blob/master/gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerBuildChooser.java * * *Robert Sandell* Software Tools Engineer - SW Environment and Product Configuration Sony Mobile Communications *From:* jenkin...@googlegroups.com javascript: [mailto: jenkin...@googlegroups.com javascript:] *On Behalf Of *Sapone *Sent:* den 15 augusti 2013 06:07 *To:* jenkin...@googlegroups.com javascript: *Subject:* Gerrit-trigger with multiple Git-repos Did anyone have a real working system with gerrit-trigger and multiple git repos(two at least)? I can't make this work: I can successfully use one repo with Gerrit-trigger choosing strategy, or I can successfully use two repos with Default choosing strategy, but when I'm trying to use two repos with Gerrit-trigger choosing strategy, I got the FATAL: Null value not allowed as an environment variable: GIT_BRANCH error. Tried every possible workarounds - nothing changes. I'm trying to start code investigation, but it is not so obvious for me right now... Any suggestions, how and where choosing strategy can affect branches? Here the bug in JIRA: https://issues.jenkins-ci.org/browse/JENKINS-12921?focusedCommentId=183149 -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
JDK Parameter (New Plugin)
Hey, along with Fabio Neves, I developed a plugin called JDK Parameter Choice. The plugin lets you add a build parameter which allows the JDK that will be used to be chosen on a per build basis. The JDKs that can be chosen from can be specified on the configuration page of any job that has the JDK parameter enabled. The plugin was originally designed to solve the issue of letting a user without configure permissions choose separate JDKs per build of a job in a simple way. I've made a wiki page for it here: https://wiki.jenkins-ci.org/display/JENKINS/JDK+Parameter+Plugin and the github repo for it is here: https://github.com/Sargemck/JDK_Parameter_Choice . I'd appreciate it if someone could approve this and put it on jenkinsci. Please let me know if you see any issues or potential improvements that could be made to the plugin. Thanks in advance, Baris Batiege (Datalex) -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: JDK Parameter (New Plugin)
On Mon, Aug 19, 2013 at 10:33 AM, Fabio Neves fabio.ne...@datalex.com wrote: The plugin lets you add a build parameter which allows the JDK that will be used to be chosen on a per build basis. The JDKs that can be chosen from can be specified on the configuration page of any job that has the JDK parameter enabled. Why not generalize this to any ToolInstallation subtype? -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Jelly variable for Project Display Name
Anyone know the Jelly variable I could use to access the nicer looking *Project Display Name*? (Found in Jenkins under *Advanced Project Options*.) The Jelly variable for the Project Name is ${project.name} but I can't quite figure out what the variable/macro for Project Display Name is. -Ken -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
RE: Jelly variable for Project Display Name
project.displayName This is just an expansion using javaBeans getters from http://javadoc.jenkins-ci.org/hudson/model/Item.html#getDisplayName() /James From: jenkinsci-dev@googlegroups.com [mailto:jenkinsci-dev@googlegroups.com] On Behalf Of Ken Sent: 19 August 2013 18:04 To: jenkinsci-dev@googlegroups.com Subject: Jelly variable for Project Display Name Anyone know the Jelly variable I could use to access the nicer looking Project Display Name? (Found in Jenkins under Advanced Project Options.) The Jelly variable for the Project Name is ${project.name} but I can't quite figure out what the variable/macro for Project Display Name is. -Ken -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.commailto:jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Jelly variable for Project Display Name
Works perfectly, James -- thanks! On Mon, Aug 19, 2013 at 1:24 PM, James Nord (jnord) jn...@cisco.com wrote: project.displayName ** ** This is just an expansion using javaBeans getters from http://javadoc.jenkins-ci.org/hudson/model/Item.html#getDisplayName() ** ** /James ** ** *From:* jenkinsci-dev@googlegroups.com [mailto: jenkinsci-dev@googlegroups.com] *On Behalf Of *Ken *Sent:* 19 August 2013 18:04 *To:* jenkinsci-dev@googlegroups.com *Subject:* Jelly variable for Project Display Name ** ** Anyone know the Jelly variable I could use to access the nicer looking *Project Display Name*? (Found in Jenkins under *Advanced Project Options*.) ** ** The Jelly variable for the Project Name is ${project.name} but I can't quite figure out what the variable/macro for Project Display Name is. ** ** -Ken -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/lhLiUjLbr2o/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: nullPointerException while getting tests stats
is this a bug in jenkins or expected behavior? On Wednesday, August 14, 2013 12:36:32 AM UTC-7, Joachim Rodrigues wrote: Found the problem. In fact, when *getAggregatedTestResultActionhttp://javadoc.jenkins-ci.org/hudson/model/AbstractBuild.html#getAggregatedTestResultAction() and * *getTestResultActionhttp://javadoc.jenkins-ci.org/hudson/model/AbstractBuild.html#getAggregatedTestResultAction() are returning null inside a free-style project.* *It ok for maven projects* * * * * On Tuesday, August 13, 2013 11:49:39 AM UTC+2, Joachim Rodrigues wrote: I I'm currently discovering jenkins plugins developpent and in my Plugin class that extends Notifier my AbstractBuildhttp://javadoc.jenkins-ci.org/hudson/model/AbstractBuild.html?,? build object, always returns null when invoking *getAggregatedTestResultActionhttp://javadoc.jenkins-ci.org/hudson/model/AbstractBuild.html#getAggregatedTestResultAction() or *AbstractTestResultActionhttp://javadoc.jenkins-ci.org/hudson/tasks/test/AbstractTestResultAction.html how can I get tests fail + test succeeded and test skiped ? thanks Joachim -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[Request] New Plugin: AppThwack
Requesting a Github fork for a new plugin. Name: appthwack-plugin Github: https://github.com/appthwack/appthwack-jenkins This is the first one I've requested, so let me know if there's any additional information I'm missing. Thanks! -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Request] New Plugin: AppThwack
Whoops... Github User: ahawker On Monday, August 19, 2013 9:52:06 PM UTC-7, Andrew Hawker wrote: Requesting a Github fork for a new plugin. Name: appthwack-plugin Github: https://github.com/appthwack/appthwack-jenkins This is the first one I've requested, so let me know if there's any additional information I'm missing. Thanks! -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.