Re: Standard way to configure Linux Slave

2018-12-05 Thread Jeff Thompson
For situations where it is reasonable, I agree with Slide’s recommendation: #1 
Launch agents via ssh

It’s a good implementation, fairly straightforward,  and I think it leads to 
better reliability and fewer broken connections. I don’t have any data on that, 
though, so I’d also love to hear from others with experience using the 
different mechanisms.

Jeff Thompson

> On Dec 4, 2018, at 1:48 PM, Slide  wrote:
> 
> FYI, even though the term is used in some places in the docs and code 
> (because it's hard to change everything), "agent" is the requested term 
> instead of "slave". That being said, I prefer the "Launch agents via ssh", 
> I've never had a problem with reconnection after a reboot of the agent 
> computer.
> 
> On Tue, Dec 4, 2018 at 1:44 PM  > wrote:
> Any inputs on this please?
> 
> On Tuesday, December 4, 2018 at 9:03:37 AM UTC-5, gotvi...@gmail.com 
>  wrote:
> What is the best or standard way to configure a Linux slave to the Master?  
> These are the options that comes while we try to do the configuration
> 
> 1. Launch agent agents via ssh
> 2. Launch agent via Java Web Start
> 3. Launch agent via execution of command on master
> 4. Let Jenkins control this Windows slave as a Windows machine
> 
> Our requirement is if the Slave VM reboots, we want the Jenkins service to 
> start automatically and the slave to connect to master without any 
> interruption.  Please suggest.
> 
> -- 
> 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/415b5e85-89ca-4461-8bd9-b8450aacfeeb%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .
> 
> 
> -- 
> Website: http://earl-of-code.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/CAPiUgVf3jygh7vmqSrBbf079FmKnCOFgO7H1W3xR%3DeLoSE4bnw%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/66DD2880-2FA5-493A-9306-4EC6C7B128AB%40cloudbees.com.
For more options, visit https://groups.google.com/d/optout.


Archive Previous build abd move to the different Location

2018-12-05 Thread 'Yash Dabhi' via Jenkins Users
Hello Guys, 

I have been working on pipeline where i want to archive the project and  
move the previous build to the different location. Any idea how can i do 
that in execute shell or any better way to do it. 

Thanks,
Yash

-- 
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/bd8a3d32-c3d1-4103-a648-3e4c0ec9076a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Setting the underlying platform job priority while running on Linux

2018-12-05 Thread Randall Becker
I have a situation where the JVM running remoting.jar needs to run at a 
lower system priority than the default for the user. Basically, in Linux 
terms, I would like to run the equivalent of 'nice' as part of either the 
job or preferably the Node's agent startup. I cannot allocate a dedicated 
machine for the builds and I've got users whining about the load.

Any ideas?

Thanks,
Randall

-- 
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/78725f8f-2e43-4a23-9401-39878e400b82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Standard way to configure Linux Slave

2018-12-05 Thread Randall Becker
Launching agents via SSH is a reasonable approach also for normalizing 
configuration of agents across multiple platforms.

My company's build environment uses multiple Linux flavours, a Windows 
client (configured using OpenSSH), and a NonStop - all as agents, with a 
Controller running under Ubuntu. Each host has a specific jenkins user its 
own unique key pair (with passphrases) to cut down on accidental 
configuration errors.

Hope this helps.
Randall

On Wednesday, December 5, 2018 at 6:26:44 AM UTC-5, Jeff Thompson wrote:
>
> For situations where it is reasonable, I agree with Slide’s 
> recommendation: #1 Launch agents via ssh
>
> It’s a good implementation, fairly straightforward,  and I think it leads 
> to better reliability and fewer broken connections. I don’t have any data 
> on that, though, so I’d also love to hear from others with experience using 
> the different mechanisms.
>
> Jeff Thompson
>
> On Dec 4, 2018, at 1:48 PM, Slide > 
> wrote:
>
> FYI, even though the term is used in some places in the docs and code 
> (because it's hard to change everything), "agent" is the requested term 
> instead of "slave". That being said, I prefer the "Launch agents via ssh", 
> I've never had a problem with reconnection after a reboot of the agent 
> computer.
>
> On Tue, Dec 4, 2018 at 1:44 PM > wrote:
>
>> Any inputs on this please?
>>
>> On Tuesday, December 4, 2018 at 9:03:37 AM UTC-5, gotvi...@gmail.com 
>> wrote:
>>>
>>> What is the best or standard way to configure a Linux slave to the 
>>> Master?  These are the options that comes while we try to do the 
>>> configuration
>>>
>>> 1. Launch agent agents via ssh
>>> 2. Launch agent via Java Web Start
>>> 3. Launch agent via execution of command on master
>>> 4. Let Jenkins control this Windows slave as a Windows machine
>>>
>>> Our requirement is if the Slave VM reboots, we want the Jenkins service 
>>> to start automatically and the slave to connect to master without any 
>>> interruption.  Please suggest.
>>>
>>
>> -- 
>> 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/415b5e85-89ca-4461-8bd9-b8450aacfeeb%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Website: http://earl-of-code.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/CAPiUgVf3jygh7vmqSrBbf079FmKnCOFgO7H1W3xR%3DeLoSE4bnw%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/e3e132b7-e022-419d-a98e-e5f701097e91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins instance on 2 servers

2018-12-05 Thread Cornelius Ele
Hello all,

I am currently in the progress of migrating Jenkins from a Windows machine 
to a Linux machine. 
The Jenkins instance on the Linux machine can create builds without any 
errors. I noticed that the Jenkins instance on the Windows machine is still 
running... as long as I do not run the same projects at once, there should 
be no problem? Better yet, is it okay to have both instances running at the 
same time when they share the same configurations(minus the directory path) 
?

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/7540f9e0-a643-4af3-98ec-ca077888168a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Setting the underlying platform job priority while running on Linux

2018-12-05 Thread Randall Becker
FWIW, I add the following Prefix under Advanced in the node definition: 
nice nice sh -c '
and ' as a suffix. That seemed to do the trick and slow down the whining.

On Wednesday, December 5, 2018 at 9:40:53 AM UTC-5, Randall Becker wrote:
>
> I have a situation where the JVM running remoting.jar needs to run at a 
> lower system priority than the default for the user. Basically, in Linux 
> terms, I would like to run the equivalent of 'nice' as part of either the 
> job or preferably the Node's agent startup. I cannot allocate a dedicated 
> machine for the builds and I've got users whining about the load.
>
> Any ideas?
>
> Thanks,
> Randall
>

-- 
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/6b9958fc-a7e5-4737-b05f-9bc0d76bd515%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Automatic update version number in my .Net Framework projects

2018-12-05 Thread Szczepan Zaskalski
Hi,

I looking a solution to the automatic updating version number for my .Net 
Framework Projects. I am using git VSC. Should I push a new version number 
to the repository? It's problematic because creating some conflicts in PR 
to different branches.  
Please share with me your solutions to that problem if you have any.
*I prefer versioning in SemVer 2.0*

-- 
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/63a48dc1-a693-4b8f-be1b-0f9cca08fe5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Autoupdate version numbers in .Net Framework projects

2018-12-05 Thread Szczepan Zaskalski
Hi,

I looking a solution to the automatic updating version number for my .Net 
Framework Projects. I am using git VSC. Should I push a new version number 
to the repository? It's problematic because creating some conflicts in PR 
to different branches.  
Please share with me your solutions to that problem if you have any.
*I prefer versioning in SemVer 2.0 and using GitFlow :)*

-- 
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/f5a8ffa7-20e2-4986-9142-4e89abcb175b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


which plugin can generate PDF from Markdown file?

2018-12-05 Thread Wu Yin
cam I create a Jenkins job to generate PDF from Markdown file?

-- 
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/c992af8f-2e22-4049-aa38-47e7d97d8503%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: which plugin can generate PDF from Markdown file?

2018-12-05 Thread Slide
I would look for a command line utility that could be called from Jenkins.
If you google I am sure you can find something to do that. There is no need
to have a Jenkins plugin to do everything.

On Wed, Dec 5, 2018 at 8:38 PM Wu Yin  wrote:

> cam I create a Jenkins job to generate PDF from Markdown file?
>
> --
> 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/c992af8f-2e22-4049-aa38-47e7d97d8503%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Website: http://earl-of-code.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/CAPiUgVf9uX07Kn4YNC%3DN6zOCgbHocW%2Bb%2B22LH_1RtpzLUMTYaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.