Reg Plugin host

2019-12-12 Thread selva vignesh
Team,
I am planning to host my plugin in Jenkins site. Is it accepted plugin with 
out unit test case class.
I've tested manually. But i did not write unit test.
Kindly assist me. Thanks in Advance

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1db6e001-fd56-4e62-92bf-6ae720031b1c%40googlegroups.com.


Re: Inject Test issue while plugin genration

2019-12-12 Thread selva vignesh
Now it is working fine. Thanks

On Thu, Dec 12, 2019 at 2:03 PM Ullrich Hafner 
wrote:

> The messages already tells you what to do:
>
>  is missing in
> file:/Users/selva-5820/plugin/sprints-jenkins-plugin/target/classes/io/jenkins/plugins/jenkinswork/buildstepaction/FeedStatus/config.jelly
>
>
> Using a web search engine will lead to the following page:
> https://wiki.jenkins.io/display/JENKINS/Jelly+and+XSS+prevention
>
> Am 12.12.2019 um 08:40 schrieb selva vignesh :
>
> Hi Team,
> I've developed plugin for my team. While generating the *hpi* file using *mvn
> clean package. *I am getting below error. Kindly assist me get rid of
> this issue.
> [ERROR] Tests run: 165, Failures: 100, Errors: 0, Skipped: 0, Time
> elapsed: 17.734 s <<< FAILURE! - in InjectedTest
> [ERROR]
> io/jenkins/plugins/jenkinswork/buildstepaction/FeedStatus/config.jelly(org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyCheck)
>   Time elapsed: 0.184 s  <<< FAILURE!
> java.lang.AssertionError:  is missing in
> file:/Users/selva-5820/plugin/sprints-jenkins-plugin/target/classes/io/jenkins/plugins/jenkinswork/buildstepaction/FeedStatus/config.jelly
> Thanks in Advance
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/b5bc7ce8-54b2-4b1a-8954-ccbf975b8802%40googlegroups.com
> 
> .
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/2E405E59-7E4C-483A-8F31-7ABC0BF97776%40gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAOVVkp%3DkdVTEDxk9ki3HNutetObGgyVNp%3DdmZFEZ3irxj%3D1fPQ%40mail.gmail.com.


Re: editing jenkins jobs in shell / vi / ssh

2019-12-12 Thread 'Björn Pedersen' via Jenkins Users
Hi,

this looks really unusal and has nothing to do with editing in itself. It 
looks like your http request is never sending data to the server , so most 
probably something is misconfigured (proxy?)  or you are  on an extremly 
slow network (less than 1byte/5 seconds?) .

Björn

Am Donnerstag, 12. Dezember 2019 10:50:18 UTC+1 schrieb Adrianm758:
>
> Is there any way Jenkins jobs can be edited / configured directly in a 
> shell using vi or similar. I'm so sick of getting the "java.lang.Throwable: 
> HttpInput idle timeout" error when using the GUI, especially when it's just 
> a small one-line 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/98786540-61ee-4baf-a527-f3f67985a702%40googlegroups.com.


Re: editing jenkins jobs in shell / vi / ssh

2019-12-12 Thread Dirk Heinrichs
Am Mittwoch, den 11.12.2019, 05:01 -0800 schrieb Adrianm758:

1: A greeting would have been nice ;-)

Is there any way Jenkins jobs can be edited / configured directly in a shell 
using vi or similar. I'm so sick of getting the "java.lang.Throwable: HttpInput 
idle timeout" error when using the GUI, especially when it's just a small 
one-line change I want to make.

2: Please avoid to give us any more details about your installation, like 
version numbers, OS or installed pluigns. We all like guessing.

Full stack trace is this:

A problem occurred while processing the request. Please check our bug 
tracker
 to see if a similar problem has already been reported.our bug 
tracker
 to see if a similar problem has already been reported.

3: Did you?

Yes. You can always edit the config.xml files and reload the configuration 
under "Manage Jenkins".
Bye...

Dirk

--

Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Phone: +49 2226 15966 18
Email: dhein...@opentext.com
Website: www.recommind.de
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f1cf81b42fde2cc474c39585d624793ed721e66d.camel%40opentext.com.


editing jenkins jobs in shell / vi / ssh

2019-12-12 Thread Adrianm758
Is there any way Jenkins jobs can be edited / configured directly in a 
shell using vi or similar. I'm so sick of getting the "java.lang.Throwable: 
HttpInput idle timeout" error when using the GUI, especially when it's just 
a small one-line change I want to make.


Full stack trace is this:

A problem occurred while processing the request. Please check our bug 
tracker  to see if a similar 
problem has already been reported. If it is already reported, please vote 
and put a comment on it to let us gauge the impact of the problem. If you 
think this is a new issue, please file a new issue. When you file an issue, 
make sure to add the entire stack trace, along with the version of Jenkins 
and relevant plugins. The users list 
 might be also useful in 
understanding what has happened.
Stack trace

Also:   java.lang.Throwable: HttpInput idle timeout
at 
org.eclipse.jetty.server.HttpInput.onIdleTimeout(HttpInput.java:802)
at 
org.eclipse.jetty.server.HttpChannelOverHttp.onIdleTimeout(HttpChannelOverHttp.java:407)
at 
org.eclipse.jetty.server.HttpConnection.onReadTimeout(HttpConnection.java:496)
at 
org.eclipse.jetty.io.AbstractConnection.onFillInterestedFailed(AbstractConnection.java:170)
at 
org.eclipse.jetty.server.HttpConnection.onFillInterestedFailed(HttpConnection.java:503)
at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.failed(AbstractConnection.java:311)
at 
org.eclipse.jetty.io.FillInterest.onFail(FillInterest.java:138)
at 
org.eclipse.jetty.io.AbstractEndPoint.onIdleExpired(AbstractEndPoint.java:406)
java.util.concurrent.TimeoutException: Idle timeout expired: 5000/5000 ms
at 
org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:166)
at org.eclipse.jetty.io.IdleTimeout$1.run(IdleTimeout.java:50)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
Caused: java.io.IOException
at 
org.eclipse.jetty.server.HttpInput$ErrorState.noContent(HttpInput.java:1085)
at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:318)
at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:256)
at org.eclipse.jetty.util.UrlEncoded.decodeUtf8To(UrlEncoded.java:484)
at org.eclipse.jetty.util.UrlEncoded.decodeTo(UrlEncoded.java:577)
at 
org.eclipse.jetty.server.Request.extractFormParameters(Request.java:555)
Caused: org.eclipse.jetty.io.RuntimeIOException
at 
org.eclipse.jetty.server.Request.extractFormParameters(Request.java:560)
at 
org.eclipse.jetty.server.Request.extractContentParameters(Request.java:478)
at org.eclipse.jetty.server.Request.getParameters(Request.java:387)
at org.eclipse.jetty.server.Request.getParameter(Request.java:1036)
at 
javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:194)
at org.kohsuke.stapler.RequestImpl.getParameter(RequestImpl.java:174)
at hudson.model.Job.doConfigSubmit(Job.java:1325)
at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:772)
at 
java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
at 
org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
at 
org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77)
at 
org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
Caused: javax.servlet.ServletException
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:797)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at 

Re: Inject Test issue while plugin genration

2019-12-12 Thread Ullrich Hafner
The messages already tells you what to do:

>  is missing in 
> file:/Users/selva-5820/plugin/sprints-jenkins-plugin/target/classes/io/jenkins/plugins/jenkinswork/buildstepaction/FeedStatus/config.jelly

Using a web search engine will lead to the following page:
https://wiki.jenkins.io/display/JENKINS/Jelly+and+XSS+prevention 


> Am 12.12.2019 um 08:40 schrieb selva vignesh :
> 
> Hi Team,
> I've developed plugin for my team. While generating the hpi file using mvn 
> clean package. I am getting below error. Kindly assist me get rid of this 
> issue.
> [ERROR] Tests run: 165, Failures: 100, Errors: 0, Skipped: 0, Time elapsed: 
> 17.734 s <<< FAILURE! - in InjectedTest
> [ERROR] 
> io/jenkins/plugins/jenkinswork/buildstepaction/FeedStatus/config.jelly(org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyCheck)
>   Time elapsed: 0.184 s  <<< FAILURE!
> java.lang.AssertionError:  is missing in 
> file:/Users/selva-5820/plugin/sprints-jenkins-plugin/target/classes/io/jenkins/plugins/jenkinswork/buildstepaction/FeedStatus/config.jelly
> Thanks in Advance
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/b5bc7ce8-54b2-4b1a-8954-ccbf975b8802%40googlegroups.com
>  
> .

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2E405E59-7E4C-483A-8F31-7ABC0BF97776%40gmail.com.