Re: How to dynamically change email list in Editable email plugin recipient list text box

2016-09-13 Thread mpc8250
Hi Slide,
Sorry - had issue with posting.

We have

1- In the job config page, a String parameter email_list declared with 
default value to an email address.
2 - Within the Execute shell build step, 
a- export email_list
b- while loop to append new email addresses to existing string email_list
c- echo $email_list to make sure comma separated emails are there.
3- Within editable email plugin - in recipient list text box, we have ${ENV, 
var="email_list"} for SUCCESS, FAIL, FIXED status email config

Does it matter which Jenkins version (v.1.619) or Hudson version (v3.3.3) 
we use ?

Thank you


On Tuesday, September 13, 2016 at 2:40:16 PM UTC-5, mpc8250 wrote:
>
> Hi Slide
>
> Thanks for responding
>
> On Tuesday, September 13, 2016 at 1:56:28 PM UTC-5, slide wrote:
>>
>> This is how I do it in my setup. How did you format your email_list 
>> environment variable?
>>
>> On Tue, Sep 13, 2016 at 9:55 AM mpc8250 <mpc...@gmail.com> wrote:
>>
>>> Hi
>>>
>>> We have a need to dynamically use a set of email users to send the build 
>>> status with Jenkins Editable email plugin.
>>> We tried with eg ${ENV, var="email_list"} and it didnt work; with error 
>>> something about com.sun.mail.smtp.SMTPAddressFailedException: 550, even 
>>> though when we know for sure the SMTP setting is setup right.
>>> Email was working before we try this email variable test.
>>>
>>> Is there a workaround to getting what we like to achieve, ie to send an 
>>> email build status to folks of their checkin build results.
>>>
>>> Any help is appreciated.
>>>
>>> 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-use...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/5236c311-d95d-46b6-b26f-e5e76f600be8%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/5236c311-d95d-46b6-b26f-e5e76f600be8%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> 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/b54a63c5-25fe-4539-8e03-96899c70ff95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to dynamically change email list in Editable email plugin recipient list text box

2016-09-13 Thread mpc8250
Hi Slide

Thanks for responding

On Tuesday, September 13, 2016 at 1:56:28 PM UTC-5, slide wrote:
>
> This is how I do it in my setup. How did you format your email_list 
> environment variable?
>
> On Tue, Sep 13, 2016 at 9:55 AM mpc8250 <mpc...@gmail.com > 
> wrote:
>
>> Hi
>>
>> We have a need to dynamically use a set of email users to send the build 
>> status with Jenkins Editable email plugin.
>> We tried with eg ${ENV, var="email_list"} and it didnt work; with error 
>> something about com.sun.mail.smtp.SMTPAddressFailedException: 550, even 
>> though when we know for sure the SMTP setting is setup right.
>> Email was working before we try this email variable test.
>>
>> Is there a workaround to getting what we like to achieve, ie to send an 
>> email build status to folks of their checkin build results.
>>
>> Any help is appreciated.
>>
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/5236c311-d95d-46b6-b26f-e5e76f600be8%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/5236c311-d95d-46b6-b26f-e5e76f600be8%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> 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/10453e2c-1e2a-41ea-b87a-15bf5390bd52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to dynamically change email list in Editable email plugin recipient list text box

2016-09-13 Thread mpc8250
Hi

We have a need to dynamically use a set of email users to send the build 
status with Jenkins Editable email plugin.
We tried with eg ${ENV, var="email_list"} and it didnt work; with error 
something about com.sun.mail.smtp.SMTPAddressFailedException: 550, even 
though when we know for sure the SMTP setting is setup right.
Email was working before we try this email variable test.

Is there a workaround to getting what we like to achieve, ie to send an 
email build status to folks of their checkin build results.

Any help is appreciated.

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/5236c311-d95d-46b6-b26f-e5e76f600be8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to add new users via command line with Hudson ?

2016-03-07 Thread mpc8250
Hi Slide
Unfortunately, no help from that forum there. Hence the question here.

Thank you.

On Saturday, March 5, 2016 at 9:18:40 AM UTC-6, slide wrote:
>
> You would want to ask on the Hudson mailing list, this list is for Jenkins.
>
> On Sat, Mar 5, 2016 at 1:19 AM mpc8250 <mpc...@gmail.com > 
> wrote:
>
>> Hi All
>>
>> We use Hudson v2.2.1.
>> How can we add multiple users via command line ?
>>
>> Would this work ? We ask because we have a rather old Hudson.
>>
>> echo 'hpsr=new hudson.security.HudsonPrivateSecurityRealm(false); 
>> hpsr.createAccount("dummyuser", "dummypassword")' | java -jar 
>> hudson-cli.jar -s http://localhost:8080 groovy =
>>
>>
>> Is there any other command line approach ?
>>
>>
>> Thank you
>>
>> -- 
>> 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/dc4f733d-022d-43d8-a9c1-c0f74936f3d0%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/dc4f733d-022d-43d8-a9c1-c0f74936f3d0%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> 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/761b45cc-2101-4f85-8ee9-49df33d9f336%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to add new users via command line with Hudson ?

2016-03-05 Thread mpc8250
Hi All

We use Hudson v2.2.1.
How can we add multiple users via command line ?

Would this work ? We ask because we have a rather old Hudson.

echo 'hpsr=new hudson.security.HudsonPrivateSecurityRealm(false); 
hpsr.createAccount("dummyuser", "dummypassword")' | java -jar 
hudson-cli.jar -s http://localhost:8080 groovy =


Is there any other command line approach ?


Thank you

-- 
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/dc4f733d-022d-43d8-a9c1-c0f74936f3d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to kick off Visual Studio 2012 CodedUI test project solution with Jenkins job ?

2014-12-31 Thread mpc8250
Hi All

Could anyone share the steps to how one could kick off Visual Studio 2012 
CodedUI test project solution with Jenkins ?
Any plugins needed to do that ?

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/0621c4b0-e829-42d7-b922-5fc767419144%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how to get rid of weird characters on console output ?

2014-12-08 Thread mpc8250
Hi 

When running our build step on a windows server 2008 platform, the console 
output shows output in bold when they should be empty spaces.
We use Execute shell build step.


C:\Users\x\Desktop\testdalek smoketest.js -b chrome 
* [95m*Running tests
* [39m [37m*Running Browser:  [39m [93mGoogle Chrome
* [39m [37m*OS: * [39m [93m*Windows NT 6.1 SP1 x86_64
 *[39m [37m*Browser Version:*  [39m [93m*39.0.2171.71


Thanks for your help.

-- 
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/ff123ccf-f1ce-4f2e-85ee-598f8d5f0748%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to configure nodejs properly in Jenkins ?

2014-12-07 Thread mpc8250
Hi

We have a Hudson build step to execute Windows batch command.
How can we embed dalek commands to start test run ?
In the step we have 
dalek -v 
and we get not a recognized command ...
we check our PATH in Hudson job and we can see nodejs specified but not npm.
Is that another issue to overcome ?

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/67d00f16-7018-47b7-81c2-a55fd7aa4702%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Install nodejs to use dalekjs on another Windows server 2008 issue

2014-12-07 Thread mpc8250
Hi All

We have Jenkins on Windows and trying to install nodejs to use dalekjs on 
another Windows server 2008.
In Manager Jenkins Global properties, we try to install using Install 
automatically picking a version from nodejs.org. with global npm package 
to install set to dalek-cli.

In the job in the build step we selected our entry but we are getting error
FATEL: unresolvable nodeJS installer for version=0.11.14, 
platform=Windows, cpu=i386

Any advice on what we did wrong and what steps we can take to overcome this 
issue is appreciated.

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/fb9f522d-3fee-4980-8d8f-302184118c64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to modify Jenkins email undisclosed-participant@email.invalid to use legit email address and user for email notification

2014-10-28 Thread mpc8250
Hi All

Jenkins send an email with user named undisclosed-participant with email 
address undisclosed-participant@email.invalid.
We've tried changing values in email-ext plugin in Manage Jenkins and still 
it doesnt work to use a legit user and email address.

How can we change that to use a legit user and an email address ?

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.
For more options, visit https://groups.google.com/d/optout.


how to propagate build number from parent job to child job ?

2014-09-23 Thread mpc8250
Hi All

We have 3 jobs chained linearly.
We like all 3 jobs to use the same build number using the topmost build 
number.
However right now, if any of the latter jobs fail and restarted the next 
time, they use their own build number in the job and not the topmost build 
number.

How do we accomplish that ?


Thank you.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


python script argument misinterpreted in Jenkins Execute Shell step - how to overcome?

2014-05-29 Thread mpc8250
Hi All

When we run my python script in the shell terminal, it works

sudo myscript.py --version=22 --base=252 
--hosts={'hostA':[1],'hostB':[22]}

But when we run in Hudson and Jenkins, using Execute Shell step, somehow, 
the string --hosts={'hostA':[1],'hostB':[22]} is interpreted as

sudo myscript.py --version=22 --base=252 
'--hosts={'hostA':[1],'hostB':[22]}'

How do we overcome this so that our script would run in Jenkins and Hudson ?

Thank you. 

Sincerely

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Editable Email Notification - BUILD_NUMBER - quick question

2014-04-18 Thread mpc8250
Hi All

In Editable Email Notification plugin, it allows for $BUILD_NUMBER of the 
job to be printed.
We have 2 jobs that are chained together. We like to use the first job's 
build number in the 2nd job.
How can we cause Editable Email Notification plugin to use our 
parameterized BUILD_NUMBER from our 1st job ?
Currently, it doesn't print in the email notification of the 1st job. It 
prints the current 2nd job in the email notification.
We also tried injecting env variables plugin with it; it still fails to 
show the right build number from 1st job.

Is there a workaround ?

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.
For more options, visit https://groups.google.com/d/optout.


ERROR: CVS Command failed: Illegal seek ? Seek workaround

2014-04-17 Thread mpc8250
Hi All

We have a clean workspace to checkout modules from a branch. 
During its checkout of a Jenkins job run, most folders and files are 
checked out fine but the job always fails at a certain point with the 
following errors below; 
what is this error and what's the workaround ? 
We've tried cleaning up workspace before checking out, no options in CVS 
SCM section is selected, tried all options to make a simple co and still 
fails:

*21:21:31* ERROR: CVS Command failed: Illegal seek*21:21:31* 
java.io.IOException 
http://stacktrace.jenkins-ci.org/search?query=java.io.IOException: Illegal 
seek*21:21:31*at java.io.FileInputStream.skip(Native Method)*21:21:31*  
  at java.io.BufferedInputStream.skip(BufferedInputStream.java:349)*21:21:31*   
  at java.io.FilterInputStream.skip(FilterInputStream.java:125)*21:21:31*   
  at 
org.netbeans.lib.cvsclient.util.LoggedDataInputStream.skip(LoggedDataInputStream.java:211)*21:21:31*
 at 
org.netbeans.lib.cvsclient.response.UpdatedResponse.skip(UpdatedResponse.java:221)*21:21:31*
 at 
org.netbeans.lib.cvsclient.response.UpdatedResponse.process(UpdatedResponse.java:157)*21:21:31*
  at 
org.netbeans.lib.cvsclient.response.CreatedResponse.process(CreatedResponse.java:54)*21:21:31*
   at 
org.netbeans.lib.cvsclient.Client.handleResponse(Client.java:648)*21:21:31*  at 
org.netbeans.lib.cvsclient.Client.processRequests(Client.java:598)*21:21:31*
 at 
org.netbeans.lib.cvsclient.command.checkout.CheckoutCommand.postExpansionExecute(CheckoutCommand.java:462)*21:21:31*
 at 
org.netbeans.lib.cvsclient.command.checkout.CheckoutCommand.execute(CheckoutCommand.java:355)*21:21:31*
  at 
org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:710)*21:21:31*  at 
hudson.scm.AbstractCvs$1.invoke(AbstractCvs.java:246)*21:21:31*  at 
hudson.scm.AbstractCvs$1.invoke(AbstractCvs.java:226)*21:21:31*  at 
hudson.FilePath$FileCallableWrapper.call(FilePath.java:2388)*21:21:31*   at 
hudson.remoting.UserRequest.perform(UserRequest.java:118)*21:21:31*  at 
hudson.remoting.UserRequest.perform(UserRequest.java:48)*21:21:31*   at 
hudson.remoting.Request$2.run(Request.java:326)*21:21:31*at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)*21:21:31*
at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)*21:21:31*
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)*21:21:31*   at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)*21:21:31*
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)*21:21:31*
at java.lang.Thread.run(Thread.java:662)*21:21:31* ERROR: Cvs task failed



Advance thanks for help.

Sincerely

-- 
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.
For more options, visit https://groups.google.com/d/optout.


href link using ftp issue

2014-04-16 Thread mpc8250
Hi All

We try to put some description on Jenkins page and place a href link using 
ftp.
It appears that Jenkins top/system page refuses to set/accept a simple link 
like this.
It returns as a text test.

a href=ftp://hostname.test.com/some/path;test/a

Hudson UI has no issue with this syntax.
How can we restore this function in Jenkins ?

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.
For more options, visit https://groups.google.com/d/optout.


How to get specific version in CVS for co with Jenkins/Hudson ?

2014-04-16 Thread mpc8250
Hi All

We are trying to configure CVS in our job configuration.

1) In SVN, we could control the SVN co based on svn revision number e.g. 
http://server/branch/projectA@revnumber
How do we set up in the CVS SCM section where we co the trunk based on HEAD 
or specific tag to do like what we did for SVN ?

2) what is local directory for in CVS SCM section ?

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.
For more options, visit https://groups.google.com/d/optout.


Cannot set href hyperlink with ftp on Jenkins UI page

2014-03-04 Thread mpc8250
Hi All

We try to put some description on Jenkins page and place a href link using 
ftp.
It appears that Jenkins top/system page refuses to set/accept a simple link 
like this.
It returns as a text test.

a href=ftp://hostname.test.com/some/pathtest/a

Hudson UI has no issue with this syntax.
How can we restore this function in Jenkins ?

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.
For more options, visit https://groups.google.com/groups/opt_out.


href ftp link doesn't highlight on Jenkins UI page

2014-03-04 Thread mpc8250
Hi All


 We try to put some description on Jenkins page and place a href link using 
 ftp.
 It appears that Jenkins top/system page refuses to set/accept a simple 
 link like this.
 It returns as a text test.

 a href=ftp://hostname.test.com/some/path;test/a

 Hudson UI has no issue with this syntax.
 How can we restore this function in Jenkins ?

 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.
For more options, visit https://groups.google.com/groups/opt_out.


Data obtained on 1st line of Nodes Matrix - Jenkins bug ?

2014-02-17 Thread mpc8250
Hi All

We have a few slaved configured with Jenkins.
When we click Nodes link, it displayed all the architecture, clock 
difference, free disk space etc column information.
We like the sort columns feature but it's messed up (cannot sort) because 
it's 1st entry is also the line
Data obtained entry followed by all the times entries in those columns ( 
architecture, clock difference, free disk space etc column)

How do we get rid of this annoying 1st line entry ?
There's no configure button on the right of this entry for us to delete or 
remove.

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.
For more options, visit https://groups.google.com/groups/opt_out.


Can a slave work as Hudson and Jenkins slave simultaneously ?

2014-02-17 Thread mpc8250
Hi 

Can we have a slave configured such that it serves both Hudson and Jenkins ?
We would have different directories for each CI server on the slave ?
Is there any port number conflict we should be worried about when using 
this configuration setup ?

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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Can a slave work as Hudson and Jenkins slave simultaneously ?

2014-02-17 Thread mpc8250
slide, appreciate your response.

On Monday, February 17, 2014 1:01:32 PM UTC-8, slide wrote:

 Yes, this should work just fine. There is a page on the wiki that talks 
 about using a system as a slave for two Jenkins' instances, using it for 
 the way you describe would probably be similar. You would definitely have 
 to have different directories for each CI server on the slave. You can see 
 [1] for info on using a computer with multiple masters.

 slide

 1 - 
 https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds#Distributedbuilds-RunningMultipleSlavesontheSameMachine



 On Mon, Feb 17, 2014 at 1:35 PM, mpc8250 mpc...@gmail.com 
 javascript:wrote:

 Hi 

 Can we have a slave configured such that it serves both Hudson and 
 Jenkins ?
 We would have different directories for each CI server on the slave ?
 Is there any port number conflict we should be worried about when using 
 this configuration setup ?

 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-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




 -- 
 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.
For more options, visit https://groups.google.com/groups/opt_out.


hudson.model.WorkspaceCleanupThread.disabled=true doesn't work - any workaround ?

2014-02-10 Thread mpc8250
Hi All

We tried setting hudson.model.WorkspaceCleanupThread.disabled=true
but the jobs's workspaces keep getting wiped out.
The jobs configurations do not use clean wipeout workspace option.

Is there a workaround to stop this daily cleaning up ?
Any job configuration xml file we can modify or steps to stop this ?
We're at the ends of our wits here.


Any help is appreciated.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


How to set Jenkins/Hudson logging ?

2014-02-10 Thread mpc8250
Hi All

We are experiencing workspace wipeout.
How do we set Jenkins/Hudson logging so that we may know when the wipeout 
occurs ?

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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to pass Java option to IBM SDK 6 in job - quick question

2014-02-03 Thread mpc8250
Hi Richard,

thanks for responding.
This used to work with Oracle JDK and nothing has changed to the build.xml.
So we're not sure why it didn't work for IBM SDK.

Also, do you know how we could directly put the java options box in a job 
configuration ?
Is it -Xlint  as an e.g. or -J-Xlint ?

On Sunday, February 2, 2014 11:19:15 PM UTC-8, Richard Bywater wrote:

 Judging by the output, your Ant script is calling java and not javac which 
 is probably why it isn't working. You might want to revisit your build.xml 
 file.

 Richard.


 On Mon, Feb 3, 2014 at 7:46 PM, zw mpc...@gmail.com javascript: wrote:

 Hi All

 We tried setting JAVA options using -Xlint with IBM java SDK 6 in the Ant 
 build step but we're getting error.
 In the JAVA options box we put -Xlint and error shows below; we also 
 tried -Xlint:deprecation and Xlint - all didn't work.
 What are we doing wrong ?

 *22:21:42* [USER] $ /user/hudson.tasks.Ant_AntInstallation/Ant_1.8.2/bin/ant 
 -file build.xml*22:21:42* JVMJ9VM007E Command-line option unrecognised: 
 -Xlint*22:21:42* Could not create the Java virtual machine.*22:21:42* 
 *22:21:42* Usage: java [-options] class [args...]*22:21:42*(to 
 execute a class)*22:21:42*or  java [-jar] [-options] jarfile 
 [args...]*22:21:42*(to execute a jar file)*22:21:42* *22:21:42* 
 where options include:*22:21:42* -cp -classpath directories and zip/jar 
 files separated by :*22:21:42*   set search path for 
 application classes and resources*22:21:42* -Dname=value*22:21:42*   
 set a system property*22:21:42* 
 -verbose[:class|gc|jni]*22:21:42*   enable verbose 
 output*22:21:42* -version  print product version*22:21:42* 
 -version:value*22:21:42* require the specified version to 
 run*22:21:42* -showversion  print product version and continue*22:21:42* 
 -jre-restrict-search | -no-jre-restrict-search*22:21:42*   
 include/exclude user private JREs in the version search*22:21:42* 
 -agentlib:libname[=options]*22:21:42*   load native agent 
 library libname, e.g. -agentlib:hprof*22:21:42*   see also, 
 -agentlib:jdwp=help and -agentlib:hprof=help*22:21:42* 
 -agentpath:pathname[=options]*22:21:42*   load native agent 
 library by full pathname*22:21:42* 
 -javaagent:jarpath[=options]*22:21:42*   load Java 
 programming language agent, see java.lang.instrument*22:21:42* -? -help  
 print this help message*22:21:42* -Xprint help on non-standard 
 options*22:21:42* -splash:imagepath  show splash screen with specified 
 image*22:21:42* -ea[:packagename...|:classname]*22:21:42* 
 -enableassertions[:packagename...|:classname]*22:21:42*   
 enable assertions*22:21:42* 
 -da[:packagename...|:classname]*22:21:42* 
 -disableassertions[:packagename...|:classname]*22:21:42*   
 disable assertions*22:21:42* -esa | -enablesystemassertions*22:21:42*
enable system assertions*22:21:42* -dsa | 
 -disablesystemassertions*22:21:42*   disable system assertions

  -- 
 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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: hudson.model.WorkspaceCleanupThread.disabled=true ? - quick question

2014-02-03 Thread mpc8250
Hi Dan

We took your suggestion and in hopes of getting more direction from your 
kind advice.
We checked to make sure that the job isn't configured to wipe out workspace.
We then stop/start Jenkins/Hudson with 
hudson.model.WorkspaceCleanupThread.disabled=true.
when system is up, On System property link, we could see 
hudson.model.WorkspaceCleanupThread.disabledtrue
 
But wipeout still happens in the middle of the night.
We even tried disconnecting/reconnecting with the slave and then run the 
job.
What are we doing wrong to get this property set right ?


Sincerely


On Monday, January 27, 2014 11:25:31 AM UTC-8, Daniel Beck wrote:


 On 27.01.2014, at 17:27, zw mpc...@gmail.com javascript: wrote: 

  Will hudson.model.WorkspaceCleanupThread.disabled=true stop all jobs' 
 configuration to clean workspace if they are configured to do so ? 

 I'm not sure what you mean, so here's an what the property does: 

 This property only disables the periodic automatic workspace cleanup. It 
 only cleans workspaces that are unused (there are a bunch of conditions, 
 like 'on a different slave than the latest build was run on' and 'older 
 than a month'), so it should have little impact on Jenkins. 

 If you refer to 'Delete Workspace before build starts' and 'Delete 
 workspace when build is done' in your job configuration, that's the 
 Workspace Cleanup Plugin[1]. Disable or uninstall this plugin to remove the 
 feature from all jobs. This is completely unrelated to the property you 
 mention. 

 There's also the 'Delete Workspace' menu item when viewing a job to 
 manually delete a workspace between builds. To remove that, enable the 
 'hudson.security.WipeOutPermission' system property and don't grant the new 
 WipeOut permission to your users. Again, unrelated to the 
 WorkspaceCleanupThread.disabled property. 

 1: https://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin 



-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Keep getting org.tmatesoft.svn.core.SVNException: svn: E200030: BUSY - quick question

2014-02-02 Thread mpc8250
Hi All

We tried running a job that keeps giving the following error.
We tried wiping workspace on slave and also on the jobs/job directory 
within.
We tried checking out from SVN on another machine using another svn client 
outside of Jenkins and it worked.
What are we doing wrong and how can we recover this error ?

Thanks

*23:53:50* ERROR: svn: E200030: BUSY*23:53:50* 
org.tmatesoft.svn.core.SVNException 
http://stacktrace.jenkins-ci.org/search?query=org.tmatesoft.svn.core.SVNException:
 svn: E200030: BUSY*23:53:50*at 
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
 
http://stacktrace.jenkins-ci.org/search/?query=org.tmatesoft.svn.core.internal.wc.SVNErrorManager.errorentity=method*23:53:50*
  at 
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
 
http://stacktrace.jenkins-ci.org/search/?query=org.tmatesoft.svn.core.internal.wc.SVNErrorManager.errorentity=method*23:53:50*
  at 
org.tmatesoft.svn.core.internal.db.SVNSqlJetDb.createSqlJetError(SVNSqlJetDb.java:176)
 
http://stacktrace.jenkins-ci.org/search/?query=org.tmatesoft.svn.core.internal.db.SVNSqlJetDb.createSqlJetErrorentity=method*23:53:50*
 at 
org.tmatesoft.svn.core.internal.wc17.db.SVNWCDbRoot.init(SVNWCDbRoot.java:75) 
http://stacktrace.jenkins-ci.org/search/?query=org.tmatesoft.svn.core.internal.wc17.db.SVNWCDbRoot.%3Cinit%3Eentity=method*23:53:50*
  at 
org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.parseDir(SVNWCDb.java:1519) 
http://stacktrace.jenkins-ci.org/search/?query=org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.parseDirentity=method*23:53:50*
at 
org.tmatesoft.svn.core.wc2.SvnOperationFactory.detectWcGeneration(SvnOperationFactory.java:1637)
 
http://stacktrace.jenkins-ci.org/search/?query=org.tmatesoft.svn.core.wc2.SvnOperationFactory.detectWcGenerationentity=method*23:53:50*
  at 
org.tmatesoft.svn.core.wc2.SvnOperationFactory.getImplementation(SvnOperationFactory.java:1301)
 
http://stacktrace.jenkins-ci.org/search/?query=org.tmatesoft.svn.core.wc2.SvnOperationFactory.getImplementationentity=method*23:53:50*
at 
org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1227)
 
http://stacktrace.jenkins-ci.org/search/?query=org.tmatesoft.svn.core.wc2.SvnOperationFactory.runentity=method*23:53:50*
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:291) 
http://stacktrace.jenkins-ci.org/search/?query=org.tmatesoft.svn.core.wc2.SvnOperation.runentity=method*23:53:50*
  at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2423) 
http://stacktrace.jenkins-ci.org/search/?query=org.tmatesoft.svn.core.wc.SVNWCClient.doInfoentity=method*23:53:50*
at 
hudson.scm.subversion.UpdateUpdater$TaskImpl.parseSvnInfo(UpdateUpdater.java:125)
 
http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.subversion.UpdateUpdater$TaskImpl.parseSvnInfoentity=method*23:53:50*
 at 
hudson.scm.subversion.UpdateUpdater$TaskImpl.getSvnCommandToUse(UpdateUpdater.java:87)
 
http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.subversion.UpdateUpdater$TaskImpl.getSvnCommandToUseentity=method*23:53:50*
  at 
hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:130) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.subversion.UpdateUpdater$TaskImpl.performentity=method*23:53:50*
   at 
hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:153)
 
http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateToentity=method*23:53:50*
at 
hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:903) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.SubversionSCM$CheckOutTask.performentity=method*23:53:50*
 at 
hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:884) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.SubversionSCM$CheckOutTask.invokeentity=method*23:53:50*
   at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:867) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.SubversionSCM$CheckOutTask.invokeentity=method*23:53:50*
   at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2388) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath$FileCallableWrapper.callentity=method*23:53:50*
   at hudson.remoting.UserRequest.perform(UserRequest.java:118) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.performentity=method*23:53:50*
   at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.performentity=method*23:53:50*
at hudson.remoting.Request$2.run(Request.java:326) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request$2.runentity=method*23:53:50*
   at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)