[JIRA] [git-parameter] (JENKINS-23188) Tag List Empty

2014-08-11 Thread netmi...@gmail.com (JIRA)














































Mike .
 commented on  JENKINS-23188


Tag List Empty















The git repo is hosted by our company. Unfortunately, SSH is not an option as only https can be used to access repos (via the smart http protocol).

As I said: all other places where jenkins accesses our git repo work fine, so I guess there has to be some working example code around...



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-parameter] (JENKINS-23188) Tag List Empty

2014-05-27 Thread netmi...@gmail.com (JIRA)














































Mike .
 commented on  JENKINS-23188


Tag List Empty















Same thing here. The log shows the following stack trace when entering the "build with parameters" page:


May 27, 2014 8:07:43 AM net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition generateContents
INFO: generateContents contenttype PT_TAG RemoteConfig [https://gitserver/repo]
May 27, 2014 8:07:43 AM hudson.ExpressionFactory2$JexlExpression evaluate
WARNING: Caught exception evaluating: it.tagMap in /jenkins/job/jobname/build. Reason: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)
at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)
at org.apache.commons.jelly._expression_.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at org.apache.commons.jelly._expression_.ExpressionSupport.evaluateAsIterator(ExpressionSupport.java:94)
at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:89)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
at 

[JIRA] [git-parameter] (JENKINS-23188) Tag List Empty

2014-05-27 Thread ngi...@java.net (JIRA)














































ngiger
 commented on  JENKINS-23188


Tag List Empty















Do you run your build on a slave? Then you are hit by the bug https://issues.jenkins-ci.org/browse/JENKINS-16290.
I just updated the wiki-page of the git-parameter to mention this limitation. The bug is high on my priority list, but it will probably take another 10 days or so till I can get some time to fix it.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-parameter] (JENKINS-23188) Tag List Empty

2014-05-27 Thread netmi...@gmail.com (JIRA)














































Mike .
 commented on  JENKINS-23188


Tag List Empty















No, we're getting this on our single node Jenkins setup. Let me know if I can help you diagnose the problem.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-parameter] (JENKINS-23188) Tag List Empty

2014-05-26 Thread siegelpeter2...@gmail.com (JIRA)














































Peter Siegel
 created  JENKINS-23188


Tag List Empty















Issue Type:


Bug



Affects Versions:


current



Assignee:


Niklaus Giger



Attachments:


git1.PNG, git2.png, git3.PNG



Components:


git-parameter



Created:


26/May/14 8:59 AM



Description:


I have a git repository containing serval tags.
I built my git job in jenkins.
Then I added the git parameter plugin for tags.





Environment:


Jenkins 1.564 Windows Server 2012




Project:


Jenkins



Priority:


Major



Reporter:


Peter Siegel

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-parameter] (JENKINS-23188) Tag List Empty

2014-05-26 Thread ngi...@java.net (JIRA)














































ngiger
 commented on  JENKINS-23188


Tag List Empty















My use case is that my Jenkins builds create tags like "J-projectbuildnumber" and then I use as tag-filter "J", but using "" should work (just tested on my project).

But maybe the explanation is not correct, as I did not consider the case of adding the git-parameter plug-in to an existing jenkins project.

Did you build once your project after adding the git parameter plugin? If not please build it once (it will use the default) and check whether your tags get listed now. If they do, I have to change the explanation, else it might be helpful if you could grep your jenkins log to check for any error and / or log entries like

May 26, 2014 11:24:25 AM net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition generateContents
INFO: generateContents contenttype PT_TAG RemoteConfig https://github.com/elexis/elexis-3-base/




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.