Re: total list of Jenkins plugin

2018-10-01 Thread R. Tyler Croy
(replies inline)

On Mon, 01 Oct 2018, Irfan Sayed wrote:

> Hello,
> do we have any consolidated list (just total count ) of Jenkins plugins
> (irrespective of open source OR cloudbees ) available today ?
> not pointing to any specific version but just asking in general

The Update Center JSON contains a list of plugins distributed by the Jenkins
project: http://updates.jenkins.io/update-center.actual.json

We have no idea what other plugins different vendors might be distributing.

-- 
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/20181002004533.GA28842%40grape.brokenco.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Multiple Github repositories in a build

2018-10-01 Thread Mark Waite
If you're using a Jenkins Pipeline, you can checkout multiple repositories
so long as each repository is placed into its own directory in the
workspace.  You define the checkout, including the repository URL, the
credentials, and the branch.

If you're not using a Jenkins Pipeline, you should not use multiple
repositories.  Yes, there are techniques like the multiple SCM plugin that
will allow some multiple repository scenarios, but none of them work as
well as Pipeline.

Refer to
https://github.com/MarkEWaite/jenkins-bugs/blob/526b36de2203f65ada40b9a606c7cba1cddcfa98/Jenkinsfile#L37
for
one example.  In that example, a checkout of a non-master branch is
followed by a ws() { } block which then performs a checkout of the master
branch inside the new workspace created by the 'ws() { } block.

Mark Waite

On Mon, Oct 1, 2018 at 5:49 PM  wrote:

> I have some builds that require multiple github repos.  One contains build
> scripts on master branch.   ANother contains code on a different branch.
>
> I noticed the source code management settings in Jenkins there is a way to
> add another repository but it only allows me to specify one branch.
>
> How can I add another repository to my build project?
>
>
>
> 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/7da67a84-b965-4a03-b6f0-a85f4d66543e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAO49JtG-J8nf2HGhXDYFTpS485La%3D2HzMqr47kEjauKzJmdKiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Multiple Github repositories in a build

2018-10-01 Thread lancelyons8
I have some builds that require multiple github repos.  One contains build 
scripts on master branch.   ANother contains code on a different branch.

I noticed the source code management settings in Jenkins there is a way to 
add another repository but it only allows me to specify one branch.  

How can I add another repository to my build project?  



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/7da67a84-b965-4a03-b6f0-a85f4d66543e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: need the pipline script

2018-10-01 Thread panneerrselvam natarajan
Thanks Rajendra

Regards
Panneer


On Monday, October 1, 2018 at 8:47:28 AM UTC-7, rajendraprasad reddy wrote:
>
> Using curl you can automate but we use readyAPI(paid version o SOAPUI).
> Curl can be used for light weight automation and it is tedious to use 
> large scale web service automation.
> you can also use soapui open source or even jmeter.
>
> these tools you can install on the same machine and use cli mode to launch 
> tests from shell prompt in build section.
>
> thanks,
> Rajendra
>
>
>
>
>
>
> *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in 
> Testing.Mobile:9008566233*
>
>
> On Mon, 1 Oct 2018 at 21:06, panneerrselvam natarajan  > wrote:
>
>> Hi Rajendra,
>>
>> Thanks for your immediate response.
>> Yes.. I want to automate web services using Jenkins pipeline
>> I think i can call using curl function.. current me if am wrong.
>>
>> Regards
>> Panneer
>>
>>
>> On Monday, October 1, 2018 at 7:31:09 AM UTC-7, rajendraprasad reddy 
>> wrote:
>>>
>>> Hi panneerrselvam,
>>> You want to automate web services using Jenkins? or you want to trigger 
>>> Jenkins via API(Rest Call)?
>>> i think , you want to  trigger automated test suite for web service from 
>>> Jenkins ?
>>> If that s correct then which or framework you people used create 
>>> automated web service test suite?
>>> normally people write ant script to trigger test suite.
>>>  
>>>
>>>
>>>
>>>
>>>
>>> *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in 
>>> Testing.Mobile:9008566233*
>>>
>>>
>>> On Mon, 1 Oct 2018 at 19:00, panneerrselvam natarajan  
>>> wrote:
>>>
 Hi Rajendra,

 Thanks for your response.

 I installed  everything and got credential also. The sample pipeline 
 scripts are working fine.

 I have lot of API Test case... Let me know the procedure to send 
 request and get response (HTTPS) for simple url ( i can use my company 
 url).

 Thanks in advance
 Panneer


 On Monday, October 1, 2018 at 5:10:12 AM UTC-7, rajendraprasad reddy 
 wrote:
>
> Install following plugins
> Git plugin,
> Pipeline plugin,
> Credentials plugin
> Credentials binding plugin
>
> After this use snippet generator to compose pipeline step like 
> 'gitcheckout'
>
> I hope you can do after this hint.
> Let me know if you need further help?
>
> Thanks,
> Rajendra
>
> On Mon 1 Oct, 2018, 5:14 PM Robert Rajendra,  
> wrote:
>
>> HI 
>>
>> need pipleine script to get code from git and deploy to the ssh and 
>> how to store ssh keys and location in jenkins pipeline  project 
>>
>>
>> Regards 
>>
>> *Robert Rajendra*
>>
>> Associate Network/Server Support Engineer
>>
>> IT Hands
>>
>> P: +91 863.087.3094
>>
>> W: www.ITHands.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-use...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
 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-use...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/949f3b0a-bd35-4029-8064-3533644e28b2%40googlegroups.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/36961ef9-7b1c-4388-b740-55565e644774%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving 

Help to get train (paid)

2018-10-01 Thread Rehan Baig
Guys,
I am newbie and I am looking to get train in CICD using jenkins

I am AWS certified and I have done basic CICD but looking for advance level
CICD who can help me go through the real CICD proocess

I do have basic to intermediate coding skills in C++ yaml json and python

I have been using maven to create build and trigger the processes using git

But I am having hard time to understand thigs working at backend

Just like when we call function build whats goes at the backend and I am
sure its not that simple in real production enviroment

Any help will be great

-- 
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/CAC5m0rOP8613Hf4kDhtGaco_eK8Ks%2BrXci0%3DSxH5_eoHE9cNrg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: need the pipline script

2018-10-01 Thread RAJENDRA PRASAD
Using curl you can automate but we use readyAPI(paid version o SOAPUI).
Curl can be used for light weight automation and it is tedious to use large
scale web service automation.
you can also use soapui open source or even jmeter.

these tools you can install on the same machine and use cli mode to launch
tests from shell prompt in build section.

thanks,
Rajendra






*Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in
Testing.Mobile:9008566233*


On Mon, 1 Oct 2018 at 21:06, panneerrselvam natarajan 
wrote:

> Hi Rajendra,
>
> Thanks for your immediate response.
> Yes.. I want to automate web services using Jenkins pipeline
> I think i can call using curl function.. current me if am wrong.
>
> Regards
> Panneer
>
>
> On Monday, October 1, 2018 at 7:31:09 AM UTC-7, rajendraprasad reddy wrote:
>>
>> Hi panneerrselvam,
>> You want to automate web services using Jenkins? or you want to trigger
>> Jenkins via API(Rest Call)?
>> i think , you want to  trigger automated test suite for web service from
>> Jenkins ?
>> If that s correct then which or framework you people used create
>> automated web service test suite?
>> normally people write ant script to trigger test suite.
>>
>>
>>
>>
>>
>>
>> *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in
>> Testing.Mobile:9008566233*
>>
>>
>> On Mon, 1 Oct 2018 at 19:00, panneerrselvam natarajan 
>> wrote:
>>
>>> Hi Rajendra,
>>>
>>> Thanks for your response.
>>>
>>> I installed  everything and got credential also. The sample pipeline
>>> scripts are working fine.
>>>
>>> I have lot of API Test case... Let me know the procedure to send request
>>> and get response (HTTPS) for simple url ( i can use my company url).
>>>
>>> Thanks in advance
>>> Panneer
>>>
>>>
>>> On Monday, October 1, 2018 at 5:10:12 AM UTC-7, rajendraprasad reddy
>>> wrote:

 Install following plugins
 Git plugin,
 Pipeline plugin,
 Credentials plugin
 Credentials binding plugin

 After this use snippet generator to compose pipeline step like
 'gitcheckout'

 I hope you can do after this hint.
 Let me know if you need further help?

 Thanks,
 Rajendra

 On Mon 1 Oct, 2018, 5:14 PM Robert Rajendra, 
 wrote:

> HI
>
> need pipleine script to get code from git and deploy to the ssh and
> how to store ssh keys and location in jenkins pipeline  project
>
>
> Regards
>
> *Robert Rajendra*
>
> Associate Network/Server Support Engineer
>
> IT Hands
>
> P: +91 863.087.3094
>
> W: www.ITHands.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-use...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
 --
>>> 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-use...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/949f3b0a-bd35-4029-8064-3533644e28b2%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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/36961ef9-7b1c-4388-b740-55565e644774%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMrg02TxtX2U-%3DM7LWa-Rum1feBYqWQ_Aq5mo_bXJU5zvqmseg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: need the pipline script

2018-10-01 Thread panneerrselvam natarajan
Hi Rajendra,

Thanks for your immediate response.
Yes.. I want to automate web services using Jenkins pipeline
I think i can call using curl function.. current me if am wrong.

Regards
Panneer


On Monday, October 1, 2018 at 7:31:09 AM UTC-7, rajendraprasad reddy wrote:
>
> Hi panneerrselvam,
> You want to automate web services using Jenkins? or you want to trigger 
> Jenkins via API(Rest Call)?
> i think , you want to  trigger automated test suite for web service from 
> Jenkins ?
> If that s correct then which or framework you people used create automated 
> web service test suite?
> normally people write ant script to trigger test suite.
>  
>
>
>
>
>
> *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in 
> Testing.Mobile:9008566233*
>
>
> On Mon, 1 Oct 2018 at 19:00, panneerrselvam natarajan  > wrote:
>
>> Hi Rajendra,
>>
>> Thanks for your response.
>>
>> I installed  everything and got credential also. The sample pipeline 
>> scripts are working fine.
>>
>> I have lot of API Test case... Let me know the procedure to send request 
>> and get response (HTTPS) for simple url ( i can use my company url).
>>
>> Thanks in advance
>> Panneer
>>
>>
>> On Monday, October 1, 2018 at 5:10:12 AM UTC-7, rajendraprasad reddy 
>> wrote:
>>>
>>> Install following plugins
>>> Git plugin,
>>> Pipeline plugin,
>>> Credentials plugin
>>> Credentials binding plugin
>>>
>>> After this use snippet generator to compose pipeline step like 
>>> 'gitcheckout'
>>>
>>> I hope you can do after this hint.
>>> Let me know if you need further help?
>>>
>>> Thanks,
>>> Rajendra
>>>
>>> On Mon 1 Oct, 2018, 5:14 PM Robert Rajendra,  
>>> wrote:
>>>
 HI 

 need pipleine script to get code from git and deploy to the ssh and 
 how to store ssh keys and location in jenkins pipeline  project 


 Regards 

 *Robert Rajendra*

 Associate Network/Server Support Engineer

 IT Hands

 P: +91 863.087.3094

 W: www.ITHands.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-use...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/949f3b0a-bd35-4029-8064-3533644e28b2%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/36961ef9-7b1c-4388-b740-55565e644774%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to change jenkins server time zone?

2018-10-01 Thread rajendraprasad reddy
Hi,
All how to change jenkins server time zone?
Actually my Jenkins server is running ion my laptop and my laptop is 
running under Indian time zone.
and my jenkins web page is showing time as following 
Page generated: Sep 28, 2018 12:32:39 PM ISTREST API 
Jenkins ver. 2.107.2 

But i want to change jenkins time zone to US-EST time zone?
*How to change jenkins server time zone?*

-- 
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/72b0cd8f-d9ed-43c4-b871-679c00d71d9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: need the pipline script

2018-10-01 Thread RAJENDRA PRASAD
Hi panneerrselvam,
You want to automate web services using Jenkins? or you want to trigger
Jenkins via API(Rest Call)?
i think , you want to  trigger automated test suite for web service from
Jenkins ?
If that s correct then which or framework you people used create automated
web service test suite?
normally people write ant script to trigger test suite.






*Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in
Testing.Mobile:9008566233*


On Mon, 1 Oct 2018 at 19:00, panneerrselvam natarajan 
wrote:

> Hi Rajendra,
>
> Thanks for your response.
>
> I installed  everything and got credential also. The sample pipeline
> scripts are working fine.
>
> I have lot of API Test case... Let me know the procedure to send request
> and get response (HTTPS) for simple url ( i can use my company url).
>
> Thanks in advance
> Panneer
>
>
> On Monday, October 1, 2018 at 5:10:12 AM UTC-7, rajendraprasad reddy wrote:
>>
>> Install following plugins
>> Git plugin,
>> Pipeline plugin,
>> Credentials plugin
>> Credentials binding plugin
>>
>> After this use snippet generator to compose pipeline step like
>> 'gitcheckout'
>>
>> I hope you can do after this hint.
>> Let me know if you need further help?
>>
>> Thanks,
>> Rajendra
>>
>> On Mon 1 Oct, 2018, 5:14 PM Robert Rajendra, 
>> wrote:
>>
>>> HI
>>>
>>> need pipleine script to get code from git and deploy to the ssh and
>>> how to store ssh keys and location in jenkins pipeline  project
>>>
>>>
>>> Regards
>>>
>>> *Robert Rajendra*
>>>
>>> Associate Network/Server Support Engineer
>>>
>>> IT Hands
>>>
>>> P: +91 863.087.3094
>>>
>>> W: www.ITHands.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-use...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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/949f3b0a-bd35-4029-8064-3533644e28b2%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMrg02SjmuN-B5c%3DbyHnGjmKHCC3RhUsjq1Qhowety2fzP9pSA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: need the pipline script

2018-10-01 Thread panneerrselvam natarajan
Hi Rajendra,

Thanks for your response.

I installed  everything and got credential also. The sample pipeline 
scripts are working fine.

I have lot of API Test case... Let me know the procedure to send request 
and get response (HTTPS) for simple url ( i can use my company url).

Thanks in advance
Panneer


On Monday, October 1, 2018 at 5:10:12 AM UTC-7, rajendraprasad reddy wrote:
>
> Install following plugins
> Git plugin,
> Pipeline plugin,
> Credentials plugin
> Credentials binding plugin
>
> After this use snippet generator to compose pipeline step like 
> 'gitcheckout'
>
> I hope you can do after this hint.
> Let me know if you need further help?
>
> Thanks,
> Rajendra
>
> On Mon 1 Oct, 2018, 5:14 PM Robert Rajendra,  > wrote:
>
>> HI 
>>
>> need pipleine script to get code from git and deploy to the ssh and 
>> how to store ssh keys and location in jenkins pipeline  project 
>>
>>
>> Regards 
>>
>> *Robert Rajendra*
>>
>> Associate Network/Server Support Engineer
>>
>> IT Hands
>>
>> P: +91 863.087.3094
>>
>> W: www.ITHands.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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/949f3b0a-bd35-4029-8064-3533644e28b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


jacoco plugin broken after update of Pipeline Maven Integration plugin

2018-10-01 Thread jenkinsusers
Hello,

I recently updated the Pipeline Maven Integration plugin to version
3.1.2 (from 3.1).

Since then the Jacoco plugin does not work anymore. 
Jacoco (code coverage) trend graphs for all past builds are rendered
onto every build page making it unreadable and also very long to load.

In the Jenkins log I see:
java.lang.RuntimeException: While reading class directory: 
/var/lib/jenkins/jobs/myproject/branches/main/builds/561/jacoco/classes
at 
hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:131)
at 
hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:137)
at hudson.plugins.jacoco.JacocoReportDir.parse(JacocoReportDir.java:110)
at 
hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:339)
at 
hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:326)
at 
hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:657)
at 
org.jenkinsci.plugins.pipeline.maven.publishers.JacocoReportPublisher.process(JacocoReportPublisher.java:213)
at 
org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:118)
at 
org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$WithMavenStepExecutionCallBack.finished(WithMavenStepExecution.java:1053)
at 
org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onSuccess(BodyExecutionCallback.java:114)
at 
org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$SuccessAdapter.receive(CpsBodyExecution.java:368)
at com.cloudbees.groovy.cps.Outcome.resumeFrom(Outcome.java:73)
at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:166)
at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163)
at 
org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129)
at 
org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268)
at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163)
at 
org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$101(SandboxContinuable.java:34)
at 
org.jenkinsci.plugins.workflow.cps.SandboxContinuable.lambda$run0$0(SandboxContinuable.java:59)
at 
org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)
at 
org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:58)
at 
org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:182)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:332)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:83)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:244)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:232)
at 
org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)
at 
jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at 
jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: basedir 
/var/lib/jenkins/jobs/myproject/branches/main/builds/561/jacoco/classes does 
not exist
at 
org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:281)
at 
org.codehaus.plexus.util.FileUtils.getFileAndDirectoryNames(FileUtils.java:1940)
at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1868)
at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1850)
at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1825)
at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1808)
at 
hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:124)
... 35 more


However the directory 
/var/lib/jenkins/jobs/myproject/branches/main/builds/561/jacoco/classes exists 
and is readable (same applies for all the files in there).

My job is a multibranch pipeline and Jenkins is at version 2.144.

Anybody else experiencing that?

Thanks and regards,
Felix

-- 
You received this message because you are subscribed to the 

Re: need the pipline script

2018-10-01 Thread Robert Rajendra
getting this error while deploying from publissh via ssh

Started by user IT HANDS 
Building in workspace /var/lib/jenkins/workspace/cheyney-ezradigital-wc
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url
gi...@git.ithands.com:ITHands/cheyney-ezradigital-wc.git # timeout=10
Fetching upstream changes from
gi...@git.ithands.com:ITHands/cheyney-ezradigital-wc.git
 > git --version # timeout=10
using GIT_SSH to set credentials
 > git fetch --tags --progress
gi...@git.ithands.com:ITHands/cheyney-ezradigital-wc.git
+refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/staging^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/staging^{commit} # timeout=10
Checking out Revision 30671e24c4f82b1deebe58b4be538305f7920eb1
(refs/remotes/origin/staging)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 30671e24c4f82b1deebe58b4be538305f7920eb1
Commit message: "resolve conflict"
 > git rev-list --no-walk 30671e24c4f82b1deebe58b4be538305f7920eb1 # timeout=10
Sending e-mails to: samuel.an...@ithands.biz george.nav...@ithands.biz
joel.vik...@ithands.net
SSH: Connecting from host [ip-172-31-31-34]
SSH: Connecting with configuration [Lightsail-cheneystage] ...

SSH: Disconnecting configuration [Lightsail-cheneystage] ...
ERROR: Exception when publishing, exception message [Permission denied]
Build step 'Send build artifacts over SSH' changed build result to UNSTABLE
Finished: UNSTABLE




what could be the cause of this

*Robert Rajendra*

Associate Network/Server Support Engineer

IT Hands

P: +91 863.087.3094 <+91%2086308%2073094>

W: www.ITHands.com 


On Mon, 1 Oct 2018 at 17:40, RAJENDRA PRASAD 
wrote:

> Install following plugins
> Git plugin,
> Pipeline plugin,
> Credentials plugin
> Credentials binding plugin
>
> After this use snippet generator to compose pipeline step like
> 'gitcheckout'
>
> I hope you can do after this hint.
> Let me know if you need further help?
>
> Thanks,
> Rajendra
>
> On Mon 1 Oct, 2018, 5:14 PM Robert Rajendra, 
> wrote:
>
>> HI
>>
>> need pipleine script to get code from git and deploy to the ssh and
>> how to store ssh keys and location in jenkins pipeline  project
>>
>>
>> Regards
>>
>> *Robert Rajendra*
>>
>> Associate Network/Server Support Engineer
>>
>> IT Hands
>>
>> P: +91 863.087.3094 <+91%2086308%2073094>
>>
>> W: www.ITHands.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/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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/CAMrg02RYaqPCY83QYAqebdN7-Ty6_WxjZ4E5OhQtNsmPjVoSPg%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CABbC_KEkHBmxj8FFvUkdKc9DcXHaa%3DJ3gLOkWimHd0TXBhrYyA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


total list of Jenkins plugin

2018-10-01 Thread Irfan Sayed
Hello,
do we have any consolidated list (just total count ) of Jenkins plugins
(irrespective of open source OR cloudbees ) available today ?
not pointing to any specific version but just asking in general

regards,

-- 
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/CACGLCJbSeCBbSahEEYLNHOiu-DjcTXH%3D6Rpo8ize5kCD331Vkw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: need the pipline script

2018-10-01 Thread RAJENDRA PRASAD
Install following plugins
Git plugin,
Pipeline plugin,
Credentials plugin
Credentials binding plugin

After this use snippet generator to compose pipeline step like 'gitcheckout'

I hope you can do after this hint.
Let me know if you need further help?

Thanks,
Rajendra

On Mon 1 Oct, 2018, 5:14 PM Robert Rajendra, 
wrote:

> HI
>
> need pipleine script to get code from git and deploy to the ssh and
> how to store ssh keys and location in jenkins pipeline  project
>
>
> Regards
>
> *Robert Rajendra*
>
> Associate Network/Server Support Engineer
>
> IT Hands
>
> P: +91 863.087.3094 <+91%2086308%2073094>
>
> W: www.ITHands.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/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMrg02RYaqPCY83QYAqebdN7-Ty6_WxjZ4E5OhQtNsmPjVoSPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


need the pipline script

2018-10-01 Thread Robert Rajendra
HI

need pipleine script to get code from git and deploy to the ssh and
how to store ssh keys and location in jenkins pipeline  project


Regards

*Robert Rajendra*

Associate Network/Server Support Engineer

IT Hands

P: +91 863.087.3094 <+91%2086308%2073094>

W: www.ITHands.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/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: java.lang.NoClassDefFoundError: Could not initialize class sun.util.calendar.ZoneInfoFile

2018-10-01 Thread Dean Su
I have encounter the exact same issue with a jenkins slave on centos 7. 
here is my detail environment
Jenkins ver. 2.89.2
openjdk version "1.8.0_181"
plug in SSH Slaves: 1.25

the node is set up to connect by unix ssh 

Baptiste Mathus於 2018年9月16日星期日 UTC+8下午7時04分34秒寫道:
>
> Versions? Jenkins, Java VM, plugins. Are you using latest of everything?
>
> Thanks
>
> Le jeu. 13 sept. 2018 à 14:33, Víctor Puertas  > a écrit :
>
>> Console Output shows the following issue 
>>
>> java.lang.NoClassDefFoundError: Could not initialize class 
>>> sun.util.calendar.ZoneInfoFile
>>>
>>
>> This is are the traces
>>
>> Required context class hudson.FilePath is missing
>> Perhaps you forgot to surround the code with a step that provides this, such 
>> as: node[Pipeline] }[Pipeline] // stage[Pipeline] End of PipelineAlso:   
>> hudson.remoting.Channel$CallSiteStackTrace: Remote call to fatcat 
>> (192.168.1.4)
>>  at 
>> hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
>>  at 
>> hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
>>  at hudson.remoting.Channel.call(Channel.java:955)
>>  at hudson.FilePath.act(FilePath.java:998)
>>  at hudson.FilePath.act(FilePath.java:987)
>>  at hudson.FilePath.mkdirs(FilePath.java:1175)
>>  at hudson.plugins.git.GitSCM.createClient(GitSCM.java:784)
>>  at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1154)
>>  at 
>> org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
>>  at 
>> org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85)
>>  at 
>> org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75)
>>  at 
>> org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
>>  at hudson.security.ACL.impersonate(ACL.java:290)
>>  at 
>> org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
>>  at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>>  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>  at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>>  at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>> java.lang.NoClassDefFoundError: Could not initialize class 
>> sun.util.calendar.ZoneInfoFile
>>  at sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:589)
>>  at java.util.TimeZone.getTimeZone(TimeZone.java:560)
>>  at java.util.TimeZone.setDefaultZone(TimeZone.java:666)
>>  at java.util.TimeZone.getDefaultRef(TimeZone.java:636)
>>  at java.util.TimeZone.getDefault(TimeZone.java:625)
>>  at java.util.Calendar.getInstance(Calendar.java:1640)
>>  at 
>> java.util.Formatter$FormatSpecifier.printDateTime(Formatter.java:2826)
>>  at java.util.Formatter$FormatSpecifier.print(Formatter.java:2740)
>>  at java.util.Formatter.format(Formatter.java:2526)
>>  at java.util.Formatter.format(Formatter.java:2455)
>>  at java.lang.String.format(String.java:2940)
>>  at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:161)
>>  at java.util.logging.StreamHandler.publish(StreamHandler.java:211)
>>  at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:116)
>>  at java.util.logging.Logger.log(Logger.java:738)
>>  at java.util.logging.Logger.doLog(Logger.java:765)
>>  at java.util.logging.Logger.log(Logger.java:876)
>>  at hudson.remoting.UserRequest.perform(UserRequest.java:217)
>>  at hudson.remoting.UserRequest.perform(UserRequest.java:54)
>>  at hudson.remoting.Request$2.run(Request.java:369)
>>  at 
>> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>>  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>  at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>  at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>> Caused: java.io.IOException: Remote call on fatcat (192.168.1.4) failed
>>  at hudson.remoting.Channel.call(Channel.java:961)
>>  at hudson.FilePath.act(FilePath.java:998)
>> Caused: java.io.IOException: remote file operation failed: 
>> /home/jenkins/workspace/fatcat at hudson.remoting.Channel@28db12e1:fatcat 
>> (192.168.1.4)
>>  at hudson.FilePath.act(FilePath.java:1005)
>>  at hudson.FilePath.act(FilePath.java:987)
>>  at hudson.FilePath.mkdirs(FilePath.java:1175)
>>  at hudson.plugins.git.GitSCM.createClient(GitSCM.java:784)
>>  at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1154)
>>  at 
>> 

Re: Jenkins global metrics

2018-10-01 Thread Pavel Novák
Hi, for that probably the best fits custom pipeline script
I have the similar
- reading total number of builds and the builds in the given period

Feel free to customize it or use as starting point if interested) - in 
attachment 

Dne středa 26. září 2018 21:29:23 UTC+2 gotvi...@gmail.com napsal(a):
>
> I'm looking to generate a report, as a job, which will provide the global 
> metrics of my Jenkins instance.  I need details in the report like (1) How 
> many jobs ran? (2) # of failed and successful jobs and every possible 
> metrics possible in one report.  I need to send this report every week to 
> my management, so would like to know if it's possible to schedule a job to 
> run this report every Friday and send the metrics by email to my managers?  
> I found these two plugins - '*Global Build Status*' and '*Build Metrics*'.  
> But not able to use these as part of a job, download the report or email a 
> link to the report or nothing of that sort.  Please help.
>

-- 
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/6bd6b942-9f06-4960-8dd2-d3efb82a50a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


build stat.txt.groovy
Description: Binary data


Re: message "You have data stored in an older format and/or unreadable data." after Groovy init script

2018-10-01 Thread Vincent Latombe
Seems to be caused by some weird logic in this class if there is no
configuration yet.

https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/jenkins/model/JenkinsLocationConfiguration.java#L67-L83

So it means you don't have any configuration set for
jenkins.model.JenkinsLocationConfiguration.

I would recommend calling something like

def jlc = jenkins.model.JenkinsLocationConfiguration.get()
jlc.setUrl("http://domain.com;)
jlc.setAdminAddress("jenk...@domain.com")
jlc.save()


Vincent


Le ven. 28 sept. 2018 à 20:43, Jeroen Wolff  a
écrit :

> Hi all,
>
>
> I've got an init.d/ groovy script to configure the mailer task:
>
> import jenkins.model.*
> def jenkinsInst = Jenkins.getInstance()
> def mailerDesc = jenkinsInst.getDescriptor("hudson.tasks.Mailer");
> mailerDesc.setSmtpHost("smtp.domain.com")
> mailerDesc.setUseSsl(false)
> mailerDesc.setDefaultSuffix("@domain.com")
> mailerDesc.setReplyToAddress("jenk...@domain.com")
> mailerDesc.setCharset("UTF-8")
> mailerDesc.save()
>
> When the next time Jenkins restarts after this script i get an
> warning  "You have data stored in an older format and/or unreadable data."
>
> type:
> jenkins.model.JenkinsLocationConfiguration
> name:
> JenkinsLocationConfiguration
> error:
> MissingFieldException: No field 'defaultSuffix' found in class
> 'jenkins.model.JenkinsLocationConfiguration', MissingFieldException: No
> field 'replyToAddress' found in class
> 'jenkins.model.JenkinsLocationConfiguration', MissingFieldException: No
> field 'smtpHost' found in class 'jenkins.model.JenkinsLocationConfiguration'
>
>
> What can be wrong?
>
> Regards,
>
> Jeroen
>
> --
> 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/cf900a97-cdcf-4bd9-a4be-d4d1098338c5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAH-zGCgxe%3DTcfuX8Zb0CvrL2Dr%3DOJC2gVfiZOs_86OLvgVry6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.