Thanks Adam for clarifying this question.

Regards,
Poovaraj

On Tue, Dec 25, 2018 at 11:12 PM Adam von Nieda <[email protected]> wrote:

>
>    If you want to back up the project XML file, (assuming Linux), you
> could do a script step like this. You should be able to extend this after
> you get the idea.
>
> config_file="$JENKINS_HOME/jobs/$JOB_NAME/config.xml"
> cp $config_file $config_file.`date +'%F_%H_%M_%S’`
>
>    Or something like
> cp $config_file /some/backup/dir/config.xml.`date +'%F_%H_%M_%S’`
>
>
> --
> Adam vonNieda
> [email protected]
>
>
>
>
> On Dec 24, 2018, at 9:52 PM, Poovaraj Thangamariappan <
> [email protected]> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/ac4611ca-b620-4ab4-9fa8-00f610134a77%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/ac4611ca-b620-4ab4-9fa8-00f610134a77%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/_OdeTpwKO7A/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/163208D1-B4FE-4547-A147-68E8B51C2275%40vonnieda.org
> <https://groups.google.com/d/msgid/jenkinsci-users/163208D1-B4FE-4547-A147-68E8B51C2275%40vonnieda.org?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMu9-ZU07MkpOZ1831RvS%2Bk0xA9X2XHCRj6FKsqYNjuu-d8Uxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to