Re: How to take a backup of specific project in jenkins workspaces after successfull / failed build ?

2018-12-26 Thread Ganesh Kumbhar
Hi, 

 I didn't get exact use case as in what do you mean by backup project 
really and project or few files!!  
 Simply copying those files with your script is also fine, 
but you can go for archiving artifacts option, which you could open from 
job also!


On Tuesday, December 25, 2018 at 9:22:08 AM UTC+5:30, Poovaraj 
Thangamariappan wrote:
>
> Hi,
>
> I want to take a backup of specific project in jenkins workspaces after 
> successfull / failed every build ? Plesae let me know how to take a backup ?
>
> Regards,
> Poovaraj
>

-- 
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/c0ad6e1a-e5ac-4ff8-b40b-c1f35c4be66d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins is not triggering a job after click on build now link in Jenkins menu

2018-12-26 Thread Ganesh Kumbhar
Hi,

Check logs here -> Jenkins->Manage Jenkins->System Log->All Jenkins Logs
Will get clear picture of the reason causing this!

*Could be reason : probable solution *
 -> CSRF Protection is enabled : Disable this protection and try
 Jenkins->Manage Jenkins->Configure Global Security->CSRF
Protection
 -> Jenkins Hanged : Restart the service or batch if running war and try
-> Also check the nodes(node names/labels) existence that you are giving in
script

And one suggestion, always try to use recent Jenkins version as it comes
with small fixes and with many new features/plugins added!


On Thu, Dec 27, 2018 at 12:55 AM Benjamin Primrose 
wrote:

> Have you checked your log to see what errors are logged?
>
>
>
> *From:* jenkinsci-users@googlegroups.com 
> *On Behalf Of *Poovaraj Thangamariappan
> *Sent:* Wednesday, December 26, 2018 8:35 AM
> *To:* Jenkins User Group 
> *Subject:* Jenkins is not triggering a job after click on build now link
> in Jenkins menu
>
>
>
> Hi,
>
>
>
> Jenkins is not triggering a job after click on build now link in Jenkins.
> It was working fine earlier. Suddenly, It is not working after added and
> removed new node in Jenkins. Please let me know what is the problem ?
>
>
>
> --
>
>
>
> Regards,
>
> Poovaraj
>
>
>
>
>
> --
> 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/CAMu9-ZVCHN-s1kUyEyKhgSuaiV7X7Z-HhKpDx7K-%3DQzCz8JmzA%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/5c23d5a9.1c69fb81.67382.25e9SMTPIN_ADDED_MISSING%40gmr-mx.google.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/CABpgDEtZds9aoaDTpo-m9xQYYPeoM%3DGM7MwFV25dKMT2HNj-Wg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Getting "java.io.NotSerializableException" exception in Jenkins pipeline, groovy.

2016-11-13 Thread Ganesh Kumbhar
Hello All,

I am new to Jenkins pipeline and recently started to use it for my project 
build.

So, from Jenkins file I am calling a method from other .groovy file which 
is simple script having some functions defined and in those functions I am 
creating antbuilder object -> "@Field AntBuilder antBuilder = new 
AntBuilder()"
But the problem is, I am not able to call any ant targets using antbuilder 
object, simply calling echo using this object like -> " antBuilder.echo 'print 
statement' "  gives *"NotSerializableException"*exception.

java.io.NotSerializableException: org.apache.tools.ant.taskdefs.Echo

at 
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:860)
at 
org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
at 
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
at 
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
at 
org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
at 
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
at 
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
at 
org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
at 
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
at 
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)


So please guide me to resolve this problem if anyone had faced this issue 
or have any idea about it.
Any help is appreciated!
Thank you very much!
Ganesh K.

-- 
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/2e399b89-bed9-4ac1-9bfb-fac710d7a39c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Setting PTC (MKS) Integrity environment variables through Jenkins configuration

2016-06-15 Thread Ganesh Kumbhar
Hello Everyone,

I am new to Jenkins & don't really know much about it, have one doubt.

Does Jenkins works sequentially as per the configuration ? Might be you 
wouldn't get any clear idea about doubt, So here we go with specific issue 
of mine : 

So I have attached a snapshot of my job configuration as below, I have 
old PTC (MKS) integrity client installed on my machine but I want to use 
new, latest client without un-installing old one.


So I am passing environment variables through Jenkins for  latest MKS . 

Now, The problem is, as we see in configuration, integrity connection comes 
first & then injecting environment varaibles so it's not running as 
expected and giving error as below : 




Kindly tell me how can I proceed in this case ? 

Any help is really Appreciated.
Thank You Very much in Advance!
Ganesh. 

-- 
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/171d8d4c-1adb-4aa2-8325-376f794609de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how can we use artifacts from the job running on the another jenkins machine ?

2016-05-12 Thread Ganesh Kumbhar
Okayy .. I will try you suggestions

Thanks a lot Daniel & iosif .. Good day!

On Thu, May 12, 2016 at 4:09 PM, iosif neitzke <
iosif.neitzke+jenk...@gmail.com> wrote:

> On Windows without Copy Artifact plugin or curl, we use
> lwp-download,which is a wrapper tool around Perl, provided by
> ActivePerl, to download artifacts from job to job.  Powershell having
> a similar option sounds familiar too.
>
> On Thu, May 12, 2016 at 9:05 AM, Daniel Beck  wrote:
> >
> >> On 12.05.2016, at 15:20, Ganesh Kumbhar  wrote:
> >>
> >> 1. If I'm not wrong these are Unix/Linux CLI's and my Jenkins is
> wjndows .. can I use the same here ?
> >
> > Just find a tool that does something similar on Windows. I think
> PowerShell allows doing this as well.
> >
> >>  2. if possible can you pls share some example or some more details
> about it, like is it simple CLI that we can call through batch or need some
> extra installation or something like that.
> >
> > It's really very basic, just look at the URLs of archived artifacts, or
> the URL of the 'download all as ZIP' link, and download that, possibly
> sending auth headers as needed to authenticate with Jenkins.
> >
> > --
> > 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/7700F39A-AAB2-4AB8-9775-125856B2C405%40beckweb.net
> .
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/gtwlTeotwlc/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAGyo1oz23vpEmRL%2BJ8Hzv0svThFj%3Dkhv8i-Z_tTtQ4K8m3t4aw%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/CABpgDEuescDtzcXguwyfSCQPD8WapE-Kx_EWwtgfc9ujEbn7bA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: how can we use artifacts from the job running on the another jenkins machine ?

2016-05-12 Thread Ganesh Kumbhar
Hello Daniel,
Thanks for your reply.

have got few doubts :

1. If I'm not wrong these are Unix/Linux CLI's and my Jenkins is wjndows ..
can I use the same here ?
2. if possible can you pls share some example or some more details about
it, like is it simple CLI that we can call through batch or need some extra
installation or something like that.

Thank You!

On Wed, May 11, 2016 at 4:21 PM, Daniel Beck  wrote:

>
> > On 11.05.2016, at 16:03, Ganesh Kumbhar  wrote:
> >
> > But if I want to copy artifacts from some another Jenkins machine, then
> is it possible ?, if yes, how?
>
> Not possible using Copy Artifact, but you could always download files from
> a Jenkins in a script using one or a few wget/curl/… calls.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/gtwlTeotwlc/unsubscribe.
> To unsubscribe from this group and all its topics, 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/5E49F15D-954A-4F1B-BB0B-94C8F94F66B9%40beckweb.net
> .
> 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/CABpgDEsN3zAmDL69D4_xeV_bsoNoJ%2BHCukoksNNBBzc_DjDMiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


how can we use artifacts from the job running on the another jenkins machine ?

2016-05-11 Thread Ganesh Kumbhar
Hello EveryOne,

I don't have much experience with Jenkins configurations but now I am using 
it more frequently for continues integration & builds.

I have one doubt like briefed in subject : 
Normally, we can use artifacts of the other job from the same machine as 
shown in simple scenario attachment.

But if I want to copy artifacts from some another Jenkins machine, then is 
it possible ?, if yes, how?


Thank You! 

-- 
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/9a17dedc-b07a-48b6-940a-13ea8034ef20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.