Re: How to 'Discard old builds' without running job?

2016-04-19 Thread Alex Domoradov
Hmm, but he had used "--username=daldrich" On Tuesday, April 19, 2016 at 11:47:32 PM UTC+3, Daniel Beck wrote: > > > > On 19.04.2016, at 17:06, David Aldrich > wrote: > > > > Any idea why please? > > Use SSH key based authentication. Known bug with passwords when anon does > not have read acc

Re: How many jobs can handle by Jenkins master?

2016-04-19 Thread Daniel Beck
Would be interesting to know what's the output of /threadDump when this is going on. 18 builds is much less than Jenkins should be able to handle. > On 20.04.2016, at 06:45, dennys wrote: > > We use 1 Jenkins and 30 Jenkins slaves. > (Jenkins master doesn't build code, only slaves build code.)

Re: Scheduled maintenance window April 15th - April 17th

2016-04-19 Thread Irfan Sayed
Hello, Is this done ? Please let me know as i was waiting for updates to be happen on the wiki pages. Regards On Mon, Apr 18, 2016 at 4:26 PM, Kanstantsin Shautsou < kanstantsin@gmail.com> wrote: > So you started migration on Friday? ;-)) > > > On Monday, April 18, 2016 at 7:18:47 AM UTC+3,

How many jobs can handle by Jenkins master?

2016-04-19 Thread dennys
We use 1 Jenkins and 30 Jenkins slaves. (Jenkins master doesn't build code, only slaves build code.) But when there are about 18 build jobs at the same time, Jenkins will hang for a while. Jenkins master has 16 cores and the CPU loading is about 50% when the server is hang. The following is the JV

Re: windows jenkins slave shows offline

2016-04-19 Thread Wei-min Lee
If you installed the windows slave as a service you should not need to manually launch the jnlp client. When you log off/on the server, can you see that the jenkins slave service is actually started via the services.msc? Also, from task manager you should see jenkins-slave.exe as well as a ja

Re: Robocopy induced error in the pipeline

2016-04-19 Thread Wei-min Lee
With robocopy, exit codes 0 through 7 are considered successful codes so your compare should be LEQ 7. http://ss64.com/nt/robocopy-exit.html & https://support.microsoft.com/en-us/kb/954404 On Sunday, April 17, 2016 at 6:30:00 PM UTC-7, ok999 wrote: > > Thanks, yes the exit code is the cause for

Re: How to 'Discard old builds' without running job?

2016-04-19 Thread Daniel Beck
> On 19.04.2016, at 17:06, David Aldrich wrote: > > Any idea why please? Use SSH key based authentication. Known bug with passwords when anon does not have read access to the job. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscr

Re: How to understand job's disk space usage on master?

2016-04-19 Thread geoffroy . jabouley
Hello what's the content of workspace folders? And the creation/last change date? maybe these are old folders from a previous job configuration where it run on the master... Le mardi 19 avril 2016 11:29:52 UTC+2, David Aldrich a écrit : > > Hi > > > > One of our Jenkins jobs, which runs on a sl

RE: How to 'Discard old builds' without running job?

2016-04-19 Thread David Aldrich
Got the same result: ERROR: No such job 'test' From: Alex Domoradov [mailto:alex@gmail.com] Sent: 19 April 2016 17:14 To: Jenkins Users Cc: alex@gmail.com; David Aldrich Subject: Re: How to 'Discard old builds' without running job? Just for test - rename the job just to "test" for exam

Re: How to 'Discard old builds' without running job?

2016-04-19 Thread Alex Domoradov
Just for test - rename the job just to "test" for example and try again On Tuesday, April 19, 2016 at 7:12:15 PM UTC+3, David Aldrich wrote: > > 1.656 > > > > *From:* Alex Domoradov [mailto:alex...@gmail.com ] > *Sent:* 19 April 2016 17:11 > *To:* Jenkins Users > > *Cc:* alex...@gmail.com ; Dav

RE: How to 'Discard old builds' without running job?

2016-04-19 Thread David Aldrich
1.656 From: Alex Domoradov [mailto:alex@gmail.com] Sent: 19 April 2016 17:11 To: Jenkins Users Cc: alex@gmail.com; David Aldrich Subject: Re: How to 'Discard old builds' without running job? It's a really strange. What version of jenkins are you using? On Tuesday, April 19, 2016 at 6:0

Re: How to 'Discard old builds' without running job?

2016-04-19 Thread Alex Domoradov
It's a really strange. What version of jenkins are you using? On Tuesday, April 19, 2016 at 6:06:56 PM UTC+3, David Aldrich wrote: > > Hi Alex > > > > This isn’t working for me. I see: > > > > $ java -jar /var/lib/jenkins/war/WEB-INF/jenkins-cli.jar -s > http://localhost:8090/jenkins/ list-jo

Scheduled execution, windowing, and fan-in/fan-out with Jenkinsfile

2016-04-19 Thread Michael Kobit
I have a use case of where I want my pipeline to run an execution at a scheduled time, which may be externally or internally provided and may or may not be blocking. I'm still new to the Jenkinsfile and pipeline, but I'm wondering if others have any experience with any of the following types of

How to set the Virtual Host in Jenkins WebSphere Deployer Plugin

2016-04-19 Thread MS
Hi, I'm trying to deploy the Web App to WebSphere servers using the WebSphere Deployer plugin beta version v1.4.0. I specified the node, cell, and cluster in the Deployment Targets area. But not sure where to set the value for the Virtual Host. Any suggestions would be really appreciated. Than

RE: How to 'Discard old builds' without running job?

2016-04-19 Thread David Aldrich
Hi Alex This isn’t working for me. I see: $ java -jar /var/lib/jenkins/war/WEB-INF/jenkins-cli.jar -s http://localhost:8090/jenkins/ list-jobs --username=daldrich Check_svn_config $ java -jar /var/lib/jenkins/war/WEB-INF/jenkins-cli.jar -s http://localhost:8090/jenkins/ delete-builds Check_svn

Re: How to build files with different revisions

2016-04-19 Thread Prasanna Ujjani Mutt
Yes, all from same svn. On 19 Apr 2016 7:13 p.m., "Alex Domoradov" wrote: > Are these files (file1-file5) from the same repo? > > On Tuesday, April 19, 2016 at 4:08:30 PM UTC+3, Prasanna Ujjani Mutt wrote: >> >> Hello all, >>Our environment is as below >> >>-jenkins 1.655-0 >>

Re: How to 'Discard old builds' without running job?

2016-04-19 Thread Alex Domoradov
You can get a list of jobs with the following command # java -jar jenkins-cli.jar -s http://localhost:8090/ list-jobs Hi Alex > > > > Thanks for your reply. > > > > $ java -jar /var/lib/jenkins/war/WEB-INF/jenkins-cli.jar -s > http://localhost:8090/jenkins/ delete-builds Check_svn_config 15

RE: How to 'Discard old builds' without running job?

2016-04-19 Thread David Aldrich
Hi Alex Thanks for your reply. $ java -jar /var/lib/jenkins/war/WEB-INF/jenkins-cli.jar -s http://localhost:8090/jenkins/ delete-builds Check_svn_config 1514-1515 ERROR: No such job 'Check_svn_config' I do have a job called 'Check_svn_config'. It’s in a certain folder. Do I have to specify a

Re: How to 'Discard old builds' without running job?

2016-04-19 Thread Alex Domoradov
You can use jenkins cli java -jar jenkins-cli.jar -s http://jenkins.example.net:8080/ delete-builds LARGE_JOB BUILD_NUMBER for e.g. java -jar jenkins-cli.jar -s http://jenkins.example.net:8080/ delete-builds test-job 10-20 On Tuesday, April 19, 2016 at 1:23:23 PM UTC+3, David Aldrich wrote: >

Re: How to build files with different revisions

2016-04-19 Thread Alex Domoradov
Are these files (file1-file5) from the same repo? On Tuesday, April 19, 2016 at 4:08:30 PM UTC+3, Prasanna Ujjani Mutt wrote: > > Hello all, >Our environment is as below > >-jenkins 1.655-0 >- java 1.7 >- tomcat 7.0.68 > > > We have a scenario as below. We want

How to build files with different revisions

2016-04-19 Thread Prasanna Ujjani Mutt
Hello all, Our environment is as below -jenkins 1.655-0 - java 1.7 - tomcat 7.0.68 We have a scenario as below. We wanted to know how to do the same. Say we have a project, which the developers are comitting into svn, daily or quite frequently. say the project

build-name-setter plugin: how to get a new build name value

2016-04-19 Thread Alex Domoradov
Hello, I'm using build-name-setter plugin with the following settings for Build name macro template v${BUILD_LOG_REGEX, regex="(.*)Current build number: ([0-9]\.[0-9]\.[0-9]+)(.*)", maxMatches=1, showTruncatedLines=false, substText="$2", addNewline=false}.b${BUILD_NUMBER}_${GIT_REVISION, lengt

Re: Webpage for Git Client Plugin is empty

2016-04-19 Thread 'Björn Pedersen' via Jenkins Users
Am Mittwoch, 13. April 2016 19:03:37 UTC+2 schrieb Daniel Beck: > > > On 13.04.2016, at 18:30, Daniel Beck > > wrote: > > > Cache weirdness, I think: > > https://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin?foo > > > > Not sure how to fix though, I'll ask Tyler. > > It's fixed now.

Re: Git Client Plugin - Version info

2016-04-19 Thread 'Björn Pedersen' via Jenkins Users
Seem like this is a cache problem again: https://groups.google.com/forum/#!searchin/jenkinsci-users/wiki$20git-client/jenkinsci-users/KQvx8FNN6j4/4esJW6FLMAAJ Am Montag, 18. April 2016 22:18:36 UTC+2 schrieb Ashish Yadav: > > This page is coming up ‘blank' for me. > https://wiki.jenkins-ci.or

How to 'Discard old builds' without running job?

2016-04-19 Thread David Aldrich
Hi We have a large job that has no 'Discard old builds' setting. I want to set 'Discard old builds' to a sensible value and action it, to delete some old builds, without actually running the job. Is that possible? Best regards David -- You received this message because you are subscribed to

How to understand job's disk space usage on master?

2016-04-19 Thread David Aldrich
Hi One of our Jenkins jobs, which runs on a slave, has stored 21GB on the master and I am trying to understand why. On the master, the directory for the job in /var/lib/jenkins/jobs/ has these entries: # ls builds config.xml lastSuccessful svnexternals.txt workspace@2 workspace@