Re: Jenkins Backup and Restore

2018-11-26 Thread RAJENDRA PRASAD
Hi , I have another solution, just document the list of plugins in old Jenkins server and instead of backup and restore plugins just reinstall plugins on new Jenkins server. Thanks, Rajendra On Fri, 2 Nov, 2018, 02:06 We have a Jenkins instance running and we are trying to setup a backup and >

Re: Jenkins Backup and Restore

2018-11-26 Thread jxpearce
The beauty of Jenkins is that it's NOT built-in, but can be easily added as a plugin (of which there are several). On Monday, November 26, 2018 at 1:41:19 PM UTC-8, gotvi...@gmail.com wrote: > > I wish for a tool like Jenkins it had a backup and restore option built in. > > On Monday, November

Re: Jenkins Backup and Restore

2018-11-26 Thread jxpearce
Have you considered sending a PR to (or at least filing a Github issue for) the plugins in question? It's probably an easy fix to handle symlinks Best Jeff On Monday, November 26, 2018 at 1:35:04 PM UTC-8, john.mellor wrote: > > I have had restore issues with *ALL* of the backup

Re: Jenkins Backup and Restore

2018-11-26 Thread gotviseryon
Our cloud is Azure. Do you have any suggestions for this? On Monday, November 26, 2018 at 4:13:06 PM UTC-5, Artur Szostak wrote: > > Just my opinion: but I would forget about the backup plugins in Jenkins > for full production backups. They all do a poor job when it comes to a full > backup

Re: Jenkins Backup and Restore

2018-11-26 Thread gotviseryon
I wish for a tool like Jenkins it had a backup and restore option built in. On Monday, November 26, 2018 at 4:35:04 PM UTC-5, john.mellor wrote: > > I have had restore issues with *ALL* of the backup plugins that I have > tried. The problem is that they are using stupid mechanisms to copy >

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread gotviseryon
Just found it. In the Slave configuration section, below "Launch method" in "Advanced" there is a section called "JVM options". We can pass it as a parameter here. Need to test it and see if it works. On Monday, November 26, 2018 at 4:33:11 PM UTC-5, slide wrote: > > There should be a way to

Re: Jenkins Backup and Restore

2018-11-26 Thread John Mellor
I have had restore issues with *ALL* of the backup plugins that I have tried. The problem is that they are using stupid mechanisms to copy the filesystem that cannot correctly copy a symlink. This breaks the LastSuccessfulBuild and LastUnsuccessfulBuild and LastFailedBuild symlinks, causing lots

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread Slide
There should be a way to pass parameters to the JVM in the .xml file (slave.xml or something similar). On Mon, Nov 26, 2018 at 1:38 PM wrote: > Found a log file on the slave machine. It's Java heap size error. > > INFO: HttpClient configured for $URL, authenticating as USER > Nov 20, 2018

Re: Jenkins Backup and Restore

2018-11-26 Thread Artur Szostak
Just my opinion: but I would forget about the backup plugins in Jenkins for full production backups. They all do a poor job when it comes to a full backup for a production system that also needs high availability. The best that can be done at the moment is to run Jenkins on a file system or

Re: How to use folder properties?

2018-11-26 Thread ZillaYT
RTFM: https://wiki.jenkins.io/display/JENKINS/Folder+Properties+Plugin Had to use in my Jenkinsfile withFolderProperties { projectName = env.PROJECT_NAME } On Monday, November 26, 2018 at 10:32:10 AM UTC-5, ZillaYT wrote: > > I wanted to clarify that I created a folder, and then jobs inside

Script to monitor Jenkins service and start when it's stopped

2018-11-26 Thread gotviseryon
Hello, I heard there are some wrapper scripts that monitors the Jenkins service and starts it if it goes down. Can I get some help on this? Need it for both Windows machine and Linux machine. -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread gotviseryon
Found a log file on the slave machine. It's Java heap size error. INFO: HttpClient configured for $URL, authenticating as USER Nov 20, 2018 6:25:09 PM com.microsoft.tfs.core.ws.runtime.transport.IdleHTTPConnectionCloser run SEVERE: unexpected error java.lang.OutOfMemoryError: Java heap space at

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread gotviseryon
The agent port is selected as 'fixed' in the Jenkins master configuration. On Monday, November 26, 2018 at 12:33:43 PM UTC-5, Pranav Kv wrote: > > Did you checked your port number?My be it is an arbitrary selection. So > better to configure the port as fixed number on your master configuration.

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread Pranav Kv
Did you checked your port number?My be it is an arbitrary selection. So better to configure the port as fixed number on your master configuration. Regards Pranav On Mon, 26 Nov 2018, 10:52 pm Any help/suggestion on this? > > On Monday, November 26, 2018 at 11:24:45 AM UTC-5, gotvi...@gmail.com

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread gotviseryon
Any help/suggestion on this? On Monday, November 26, 2018 at 11:24:45 AM UTC-5, gotvi...@gmail.com wrote: > > When I looked in Windows Server event logs, I see this error - > sigint to 81192 failed - killing as feedback > > I see this message multiple times and the number (81192) is defferent in

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread gotviseryon
When I looked in Windows Server event logs, I see this error - sigint to 81192 failed - killing as feedback I see this message multiple times and the number (81192) is defferent in every error. On Monday, November 26, 2018 at 10:48:58 AM UTC-5, gotvi...@gmail.com wrote: > > We have couple of

Re: Jenkins Master Memory is very less and subsequent jobs are failing with with OOM ..

2018-11-26 Thread Björn Rohlén
What are the values of "JENKINS_MASTER_MEMORY_CONFIG" under the "Environment Variables"-section of http://jenkins.url/systemInfo On Friday, 23 November 2018 16:11:22 UTC+1, pbasan...@gmail.com wrote: > > Hi All, > > When Jenkins Jobs running on Jenkins Master memory is running out and > later

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread gotviseryon
We have couple of more Windows Slaves, but we don't have any issue with those. Just this one slave going down often. On Monday, November 26, 2018 at 10:21:14 AM UTC-5, john.mellor wrote: > > We have that problem all the time. IMHO the JNLP connectivity to the > master is not robust enough to

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread gotviseryon
Any idea on where else I can look for details? On Monday, November 26, 2018 at 10:24:10 AM UTC-5, slide wrote: > > Weird, I have had ZERO issues with JNLP agents. It works flawlessly for me. > > On Mon, Nov 26, 2018 at 8:21 AM John Mellor > wrote: > >> We have that problem all the time. IMHO the

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread John Mellor
Hi Slide, We run our worker nodes mostly on sometimes-overloaded VMware hosts. We also interrupt the undersized network fairly routinely, for other reasons. Can you try hooking in a network degradation service, so that you see network outages, for instance. JNLP connections fail in these

Re: How to use folder properties?

2018-11-26 Thread ZillaYT
I wanted to clarify that I created a folder, and then jobs inside the folder. I then configured the folder to have properties (e.g., PROJECT_NAME) that I'm trying to use in the jobs inside the folder. On Monday, November 26, 2018 at 10:12:40 AM UTC-5, ZillaYT wrote: > > I have the folder

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread Slide
Weird, I have had ZERO issues with JNLP agents. It works flawlessly for me. On Mon, Nov 26, 2018 at 8:21 AM John Mellor wrote: > We have that problem all the time. IMHO the JNLP connectivity to the > master is not robust enough to be used. > > I have tried setting up the agent connection as a

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread gotviseryon
This is all I see in the log section of the Slave. Is there anywhere else to see? JNLP agent connected from IP/IP Remoting version: 3.17 This is a Windows agent Agent successfully connected and online On Monday, November 26, 2018 at 10:16:59 AM UTC-5, slide wrote: > > Did you check the logs

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread John Mellor
We have that problem all the time. IMHO the JNLP connectivity to the master is not robust enough to be used. I have tried setting up the agent connection as a service per the Jenkins doc, but it still cannot survive momentary network or performance outages. The only way that I have managed to

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread Slide
Did you check the logs on the agent or via the Jenkins UI? (FYI, agent is the preferred term instead of "slave"). On Mon, Nov 26, 2018 at 8:06 AM wrote: > Hello, > > We have a Windows Server 2016 Jenkins Slave. The Jenkins service in this > slave goes down at times. We then go back and start

How to use folder properties?

2018-11-26 Thread ZillaYT
I have the folder properties plugin installed, and have defined some folder properties, e.g., key=PROJECT_NAME, value=foo. How do I use this in my jobs that belong in the folder? I tried env.PROJECT_NAME but it doesn't find it. Thanks! -- You received this message because you are subscribed

Jenkins service going down on Windows Slave

2018-11-26 Thread gotviseryon
Hello, We have a Windows Server 2016 Jenkins Slave. The Jenkins service in this slave goes down at times. We then go back and start it manually though the service is set to start automatically. Need help figuring out what's causing it to go down and why it isn't coming back online on its

Jenkins Dependencies

2018-11-26 Thread Eric Fetzer
Our systems group removed some packages from our RHEL 6.10 server in order to remove the TSM Client. It has caused our AD integration to quit working. Which of the following dependencies are required for Jenkins version 2.138.2: TIVsm-BA-6.4.2-3 TIVsm-filepath-6.4.2-0 TIVsm-API64-6.4.2-3

Re: Jenkins Batch to Bash

2018-11-26 Thread RAJENDRA PRASAD
Hi Ele, You dont need to cover ant scripts: Here is the Jenkins migration Steps from Windows to Linux: *On Windows Machine Perform Following Activities* 1. First find out the Plugins Installed on windows Jenkins setup 2. Find out Tools like (maven,ant,jdk ..etc) installed on windows Jenkins