Re: How to trigger remote deploy using Jenkins on another server

2018-10-12 Thread Quang Truong
Another way that you can use any configuration management tool to trigger 
the remote process, for me, I use Ansible, it's an agentless tool, you can 
also take a look on other tools such as puppet, chef or salt. Your scenario 
is quite usual, build (on Jenkins slave) => deploy (on other machine), 
usually we use those CM tool for the remote configuration.

If you're working on Windows, another way should be WinRM but you have to 
open the firewall that might loosen your security setting.

On Friday, October 12, 2018 at 2:11:11 AM UTC-7, Ricky LI wrote:
>
> Hello,
>
> I got a problem with jenkins. Now I have a jenkins server running, pulling 
> source code from our SVN server, the builds are successfully done.
>
> However, there's some other scripts  ( or deployment) on the SVN server 
> that need to be executed once all projects are built successfully, how 
> could I tell jenkins to trigger automatically these scripts on a remote 
> server to deploy everything after builds ?
>
> If anyone knows the how, I will appreciate the help, thanks !
>

-- 
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/6ed051a4-e4c2-459e-b586-4bc1f14d67f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to trigger remote deploy using Jenkins on another server

2018-10-12 Thread Qi Li
we will try that, thanks alot :)

On Fri, Oct 12, 2018 at 4:55 PM Denis Mone  wrote:

> Correct, you can configure a new agent on the server SVN is installed, and
> configure the job to run only on that specific server.
>
> On Fri, Oct 12, 2018 at 4:31 PM Qi Li  wrote:
>
>> thank you for your reply.
>>
>> so if my understanding is correct, I can do this by configuring an agent
>> on that remote server, so this job runs on that server ? this is the only
>> way I know for Jenkins to remotely access another machine to perform tasks
>>
>> Le ven. 12 oct. 2018 à 13:20, Denis Mone  a écrit :
>>
>>> You could create another job that calls those scripts and schedule it to
>>> run after the builds are
>>> finished.
>>> You could do that either by scheduling the build as a downstream inside
>>> your pipeline, or by configuring it to build
>>> after the specified jobs are finished.
>>>
>>> --
>>> 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/CADCvpUfaL0g8n7MJZWB9jH7kaVbr5QptmvSVg-gnL_91necCqQ%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/CAEswcb0GvG3qeg6xU9Zp3QMjQE3FmaRJFZaEMjPCT6VQxbnO%2BA%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/CADCvpUe0tmKuRDqr1Vep8-8Y7ksBnw-jiTTbAmZ%2B86i8AsNE4g%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/CAEswcb0Qd6KhAC3cOPYFPV8mDiO-NUgZeeM12E3ZDwkjPVzCcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to trigger remote deploy using Jenkins on another server

2018-10-12 Thread Denis Mone
Correct, you can configure a new agent on the server SVN is installed, and
configure the job to run only on that specific server.

On Fri, Oct 12, 2018 at 4:31 PM Qi Li  wrote:

> thank you for your reply.
>
> so if my understanding is correct, I can do this by configuring an agent
> on that remote server, so this job runs on that server ? this is the only
> way I know for Jenkins to remotely access another machine to perform tasks
>
> Le ven. 12 oct. 2018 à 13:20, Denis Mone  a écrit :
>
>> You could create another job that calls those scripts and schedule it to
>> run after the builds are
>> finished.
>> You could do that either by scheduling the build as a downstream inside
>> your pipeline, or by configuring it to build
>> after the specified jobs are finished.
>>
>> --
>> 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/CADCvpUfaL0g8n7MJZWB9jH7kaVbr5QptmvSVg-gnL_91necCqQ%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/CAEswcb0GvG3qeg6xU9Zp3QMjQE3FmaRJFZaEMjPCT6VQxbnO%2BA%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/CADCvpUe0tmKuRDqr1Vep8-8Y7ksBnw-jiTTbAmZ%2B86i8AsNE4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to trigger remote deploy using Jenkins on another server

2018-10-12 Thread Qi Li
thank you for your reply.

so if my understanding is correct, I can do this by configuring an agent on
that remote server, so this job runs on that server ? this is the only way
I know for Jenkins to remotely access another machine to perform tasks

Le ven. 12 oct. 2018 à 13:20, Denis Mone  a écrit :

> You could create another job that calls those scripts and schedule it to
> run after the builds are
> finished.
> You could do that either by scheduling the build as a downstream inside
> your pipeline, or by configuring it to build
> after the specified jobs are finished.
>
> --
> 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/CADCvpUfaL0g8n7MJZWB9jH7kaVbr5QptmvSVg-gnL_91necCqQ%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/CAEswcb0GvG3qeg6xU9Zp3QMjQE3FmaRJFZaEMjPCT6VQxbnO%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to trigger remote deploy using Jenkins on another server

2018-10-12 Thread Denis Mone
You could create another job that calls those scripts and schedule it to
run after the builds are
finished.
You could do that either by scheduling the build as a downstream inside
your pipeline, or by configuring it to build
after the specified jobs are finished.

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


How to trigger remote deploy using Jenkins on another server

2018-10-12 Thread Ricky LI
Hello,

I got a problem with jenkins. Now I have a jenkins server running, pulling 
source code from our SVN server, the builds are successfully done.

However, there's some other scripts  ( or deployment) on the SVN server 
that need to be executed once all projects are built successfully, how 
could I tell jenkins to trigger automatically these scripts on a remote 
server to deploy everything after builds ?

If anyone knows the how, I will appreciate the help, thanks !

-- 
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/f702effd-bb8c-4481-b4fd-618dbff75fe1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.