Re: Project with several Git repositories

2018-05-02 Thread Vivekanand S V
Okay, I just saw its deprecated :( ... the page points to Pipeline Plugin
though, do check it out. I don't have experience using that.

On Thu, 3 May 2018 at 11:23 Vivekanand S V  wrote:

> I do that using
> https://wiki.jenkins.io/display/JENKINS/Multiple+SCMs+Plugin
>
> This plugin should help you.
>
> On Thu, 3 May 2018 at 10:46 Sébastien Hinderer <
> sebastien.hinde...@inria.fr> wrote:
>
>> Dear all,
>>
>> Say a project has two repositories: one for its source code and one for
>> its test suite.
>>
>> How would you do CI for such a project?
>>
>> I mean, I did try to define several repositories but it seems that
>> Jenkins only clones the most recently modified rather than cloning all
>> of them side-by-side. iS there another way to achieve this?
>>
>> Many thanks in advance,
>>
>> Sébastien.
>>
>> --
>> 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/20180502152621.GA7844%40prajna.paris.inria.fr
>> .
>> 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/CADijPE9vjoP9AnN0UwX7hRbOxhyq3z7Znu3UvKYgJxmS9yAWHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Project with several Git repositories

2018-05-02 Thread Vivekanand S V
I do that using https://wiki.jenkins.io/display/JENKINS/Multiple+SCMs+Plugin

This plugin should help you.

On Thu, 3 May 2018 at 10:46 Sébastien Hinderer 
wrote:

> Dear all,
>
> Say a project has two repositories: one for its source code and one for
> its test suite.
>
> How would you do CI for such a project?
>
> I mean, I did try to define several repositories but it seems that
> Jenkins only clones the most recently modified rather than cloning all
> of them side-by-side. iS there another way to achieve this?
>
> Many thanks in advance,
>
> Sébastien.
>
> --
> 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/20180502152621.GA7844%40prajna.paris.inria.fr
> .
> 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/CADijPE-bouZ9fjaJPQkCPJe1npcc5ULR7%2B4t-EPPDVhbutfB2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Any takers for copy-to-slave plugin ownership

2016-04-08 Thread Vivekanand S V
Great! Someone with the required permissions will transfer the ownership to
you soon.

On Fri, 8 Apr 2016 at 15:44 Sergey Shelomentsev <
sergey.sheloment...@xored.com> wrote:

> Hi, Vivekanand
>
> I plan to use plugin in my CI environment, however I found some issues and
> want to improve them.
>
> Leave my IDs as well:
> githubID: sshelomentsev
> jiraID: sshelomentsev
>
> пятница, 23 января 2015 г., 10:07:03 UTC+6 пользователь Vivekanand S V
> написал:
>
>> Hi all,
>>
>>
>> I took over this plugin to add some stuff and did release a version,
>> but I can't find time to actively maintain it (or fix bugs) due to personal
>> reasons. Any one interested in taking ownership of this plugin ?
>>
>> CC'ing users group to reach more people.
>>
>>
>> Thanks,
>> Vivekanand.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/cae4366e-7f18-4770-bf76-2753764b1a5c%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/cae4366e-7f18-4770-bf76-2753764b1a5c%40googlegroups.com?utm_medium=email&utm_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/CADijPE9y0sdiXwTHUaoBGwqw7OiTycyMG4amxWw1L_AQDKQEVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: jenkins on debian 8 jessie

2016-03-05 Thread Vivekanand S V
Looks like something else is already running in port 8080. You need to stop
that before starting this.

On Sun, Mar 6, 2016, 08:30 Nicholas Geovanis  wrote:

> Hi - New jenkins user trying to start jenkins on Debian 8 jessie. I
> receive the following messages at failed startup, was wondering if someone
> could point me in the right direction: (many thanks)
> nick@nickdell:~/src$ java -jar /usr/share/jenkins/jenkins.war
> Running from: /usr/share/jenkins/jenkins.war
> webroot: $user.home/.jenkins
> Mar 05, 2016 8:42:05 PM winstone.Logger logInternal
> INFO: Beginning extraction from war file
> Mar 05, 2016 8:42:05 PM org.eclipse.jetty.util.log.JavaUtilLog info
> INFO: jetty-winstone-2.9
> Mar 05, 2016 8:42:05 PM org.eclipse.jetty.util.log.JavaUtilLog warn
> WARNING: Can't reuse /tmp/jetty-0.0.0.0-8080-war--any-, using
> /tmp/jetty-0.0.0.0-8080-war--any-_7587508702438688318
> Mar 05, 2016 8:42:07 PM org.eclipse.jetty.util.log.JavaUtilLog info
> INFO: NO JSP Support for , did not find
> org.apache.jasper.servlet.JspServlet
> Jenkins home directory: /home/nick/.jenkins found at: $user.home/.jenkins
> Mar 05, 2016 8:42:08 PM org.eclipse.jetty.util.log.JavaUtilLog warn
> WARNING: FAILED SelectChannelConnector@0.0.0.0:8080:
> java.net.BindException: Address already in use
> java.net.BindException: Address already in use
> at sun.nio.ch.Net.bind0(Native Method)
> at sun.nio.ch.Net.bind(Net.java:463)
> at sun.nio.ch.Net.bind(Net.java:455)
>
> --
> 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/f3783c5d-11c7-4a4f-ab26-95e96f9f8be0%40googlegroups.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/CADijPE-eAb_PNhtSr_rp%2B5tADH-45i4m7hyUOzdrpxM%2ByBzP3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Any takers for copy-to-slave plugin ownership

2015-08-20 Thread Vivekanand S V
Thanks. One of the admins will transfer the ownership to you soon :) ...

@Admins, please give Saptarshi the full ownership of the copy-to-slave
plugin. (I currently have the ownership for this plugin)

Vivek.



On Thu, 20 Aug 2015 at 16:25 Saptarshi Mandal 
wrote:

> Hi Vivekanand,
>
> I am interested in it.
>
> Regards,
> Saptarshi
>
>
> On Friday, January 23, 2015 at 4:07:03 AM UTC, Vivekanand S V wrote:
>>
>> Hi all,
>>
>>
>> I took over this plugin to add some stuff and did release a version,
>> but I can't find time to actively maintain it (or fix bugs) due to personal
>> reasons. Any one interested in taking ownership of this plugin ?
>>
>> CC'ing users group to reach more people.
>>
>>
>> Thanks,
>> Vivekanand.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/7b5ed12d-04af-4366-978f-903c9c4ccbcd%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/7b5ed12d-04af-4366-978f-903c9c4ccbcd%40googlegroups.com?utm_medium=email&utm_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/CADijPE9jZ1%3DqYVWoqT_LhqL9PyPKUNomTiB372zedp-X9Ur1VA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Any takers for copy-to-slave plugin ownership

2015-02-02 Thread Vivekanand S V
Bumping it in the hope that someone might be interested :)

On Fri Jan 23 2015 at 9:37:05 AM Vivekanand S V 
wrote:

> Hi all,
>
>
> I took over this plugin to add some stuff and did release a version,
> but I can't find time to actively maintain it (or fix bugs) due to personal
> reasons. Any one interested in taking ownership of this plugin ?
>
> CC'ing users group to reach more people.
>
>
> Thanks,
> Vivekanand.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/2ac07e1d-53ca-4dc0-93db-3a8b47939432%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/2ac07e1d-53ca-4dc0-93db-3a8b47939432%40googlegroups.com?utm_medium=email&utm_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/CADijPE9Sz5z%3D0CP%2B6RC3iF7NdB-rU7VCnG0dw4r259yjoMTVpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Any takers for copy-to-slave plugin ownership

2015-01-22 Thread Vivekanand S V
Hi all,


I took over this plugin to add some stuff and did release a version, 
but I can't find time to actively maintain it (or fix bugs) due to personal 
reasons. Any one interested in taking ownership of this plugin ?

CC'ing users group to reach more people.


Thanks,
Vivekanand.

-- 
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/2ac07e1d-53ca-4dc0-93db-3a8b47939432%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Run angular test cases in jenkins

2015-01-06 Thread Vivekanand S V
See if the test cases are executed and xml files are generated properly.
>From the error it looks like the old xmls are still present and there are
no new reports to be published.

On Tue Jan 06 2015 at 5:53:15 PM Himani  wrote:

> I am using testacular to run test cases in jenkins and using JUnit to
> publish test results.  I am getting the following error:
>
> Test reports were found but none of them are new. Did tests run?
>
> Build step 'Publish JUnit test result report' changed build result to FAILURE
> Finished: FAILURE
>
>  --
> 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/57bd20f0-b828-4b7d-8632-939d19b61da9%40googlegroups.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/CADijPE9hBnGTVcUeeHduhDXFt4_ck0Yza9ksAzw7xkpad3_rZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to run MATLAB execution using shell script.

2014-06-26 Thread Vivekanand S V
If you can execute matlab using your user account from terminal and you are
using the same accoutn while running the job, add this line in your
 "execute shell" step

export PATH=$PATH:/usr/local/MATLAB/R2014a/bin/

That should point to the correct executable. You can try the above step
even if you are using other user account from jenkins (it may just work :) )

Vivek.



On Thu, Jun 26, 2014 at 4:33 PM, Rachit Kumar 
wrote:

> Hello Richard,
>
> Modification:
>
> #!/bin/bash
> /usr/local/MATLAB/R2014a/bin/matlab -nosplash -nodisplay -r
> "InitFileName='model_init',VariableList={'motorspeed' 'motorpositions'
> 'voltage'},SimStart=0,SimEnd=20,ModelName='jenkins_test_model';jenkins_matlab"
>
> It gives the following error:
>
>
> [MATLAB_Jenkins_Integration] $ bash -xe /tmp/hudson199216277896528528.sh
> + /unsecured/jenkins/workspace/MATLAB_Jenkins_Integration/project/build.sh 
> Build-104
> /unsecured/jenkins/workspace/MATLAB_Jenkins_Integration/project/build.sh: 
> line 2: /usr/local/MATLAB/R2014a/bin/matlab: No such file or directory
> Build step 'Execute shell' marked build as failure
> [htmlpublisher] Archiving HTML reports...
> [htmlpublisher] Archiving at BUILD level 
> /unsecured/jenkins/workspace/MATLAB_Jenkins_Integration/project/output to 
> /srv/jenkins/jobs/MATLAB_Jenkins_Integration/builds/2014-06-26_13-00-52/htmlreports/Simulation_Result
>
> Finished: FAILURE
>
>
>
>
> On Thursday, 26 June 2014 12:41:54 UTC+2, Richard Bywater wrote:
>>
>> Another option is just to change the shell script and put the path in
>> there (e.g. change matlab to /opt/matlab/bin/matlab or whether the matlab
>> executable is)
>>
>> Richard.
>>
>>
>> On Thu, Jun 26, 2014 at 9:59 PM, Rachit Kumar 
>> wrote:
>>
>>> Frankly I am new to Jenkins and new to Linux environment as well!
>>> How can I check what is th euserid jenkins is using and how do I set the
>>> PATH for that userid. Also I do not have root access, so will it be
>>> possible for me to change the PATH of Jenkins userid and and run the MATLAB
>>> simulation.
>>> Thank you!
>>>
>>>
>>> On Thursday, 26 June 2014 11:36:49 UTC+2, matthew...@diamond.ac.uk
>>> wrote:
>>>
  Doesn’t matlab: command not found tell you what the problem is? If it
 works from the terminal but not under Jenkins, then the PATH is presumably
 different in the two cases. Did you try in from the terminal using the same
 userid that Jenkins runs under?



 *From:* Rachit Kumar [mailto:tihcar...@gmail.com]
 *Sent:* 26 June 2014 10:30
 *To:* jenkins...@googlegroups.com

 *Subject:* Not able to run MATLAB execution using shell script.



 Following is the shell script:

 #!/bin/bash
 matlab -nosplash -nodisplay -r 
 "InitFileName='model_init',VariableList={'motorspeed'
 'motorpositions' 'voltage'},SimStart=0,SimEnd=2
 0,ModelName='jenkins_test_model';jenkins_matlab"

 This works fine when I execute it from Terminal, but throws following
 error when I use 'Execute shell' to run the script:

 [MATLAB_Jenkins_Integration] $ bash -xe /tmp/hudson567488996824014170.sh

 + /unsecured/jenkins/workspace/MATLAB_Jenkins_Integration/project/build.sh 
 Build-102

 /unsecured/jenkins/workspace/MATLAB_Jenkins_Integration/project/build.sh: 
 line 2: matlab: command not found

 Build step 'Execute shell' marked build as failure

 [htmlpublisher] Archiving HTML reports...

 [htmlpublisher] Archiving at BUILD level 
 /unsecured/jenkins/workspace/MATLAB_Jenkins_Integration/project/output to 
 /srv/jenkins/jobs/MATLAB_Jenkins_Integration/builds/2014-06-26_11-03-09/htmlreports/Simulation_Result

 Finished: FAILURE


 It would be really great if someone can help resolving this problem.
 Thanks in advance!

 --
 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.

 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-use...@googlegroups.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.
> 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

Re: xUnit - Failure

2014-05-07 Thread Vivekanand S V
One of the possibilities can be that the some of the generated files may
not be in proper junit format, this may happen when the test cases didnt
run for a particular class so the xml is generated but is not complete
(i.e., it doesn't follow the junit schema).

Just a guess, so give it a try.


On Thu, May 8, 2014 at 12:33 AM, Maneesh M P wrote:

> Hello,
>
>  we have configured Xunit plugin to our jenkins, we are seeing below
> error. Can anyone help ?
>
> *11:52:55* [xUnit] [INFO] - Starting to record.*11:52:55* [xUnit] [INFO] - 
> Processing JUnit*11:52:55* [xUnit] [INFO] - [JUnit] - 42 test report file(s) 
> were found with the pattern 'target/test-reports/*.xml' relative to 
> '/home/ab/jenkins/workspace/dragon-lib' for the testing framework 
> 'JUnit'.*11:52:55* [xUnit] [ERROR] - There is at least one problem. Check the 
> Jenkins system log for more information. (if you don't have configured yet 
> the system log before, you have to rebuild).*11:52:55* [xUnit] [INFO] - 
> Setting the build status to FAILURE*11:52:55* [xUnit] [INFO] - Stopping 
> recording.*11:52:55* Build step 'Publish xUnit test result report' changed 
> build result to FAILURE*11:52:55* Build did not succeed and the project is 
> configured to only push after a successful build, so no pushing will 
> occur.*11:52:55* Email was triggered for: Failure*11:52:55* Sending email for 
> trigger: Failure
>
>
> I have configured the log, but nothing is captured in the log as well. The 
> build is getting executed on a build server over SSH
>
>
> Thanks,
>
> Maneesh
>
>
>  --
> 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.
>

-- 
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.


Re: Advice on how to have single job iterate over several different Config Specs?

2014-04-29 Thread Vivekanand S V
Have you check
https://wiki.jenkins-ci.org/display/JENKINS/Building+a+matrix+project ?
That page also points to pages with more details.


On Tue, Apr 29, 2014 at 5:56 PM, Horton, Anne B wrote:

>  Jenkins masters,
>
> We are using the version of the clearcase plugin that supports having
> config specs in a file.
>
>
>
> So, what is the most advantageous way to configure Jenkins so to run a
> single Jenkins job over 3 different config specs?
>
>
>
> Thank you very much in advance,
>
> Anne
>
> --
> 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.
>

-- 
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.


Re: how can I monitor a repository without having to check out code into jekins workspace

2014-03-26 Thread Vivekanand S V
Try enabling "Poll SCM" option ? I never tried that though, I think that
checks for changes and then builds (only if there are any changes)


On Wed, Mar 26, 2014 at 11:04 PM,  wrote:

> Hello-
>
> I want to monitor a git repository and run a script where then is a
> change. I've puzzled over it for a while now, and I cannot figure this out.
> If I use "Source Code Management" and fill out my particulars about my
> git repository, Jenkins tries to checkout the code into a local workspace.
> Is there any way to monitor a repository and act on it without this
> inherent checkout into a workspace? I'm sure there is a way to do it, but I
> don't see it in the interface.
>
> -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.
>

-- 
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.


Re: jenkins+ant+if_then

2014-02-06 Thread Vivekanand S V
This isn't a jenkins issue, anyway for your scenario, it looks like oyu
need to add the taskdef for "Ant contrib" which defines the tasks for "if"
conditions.

http://ant-contrib.sourceforge.net/ and
http://ant-contrib.sourceforge.net/tasks/tasks/if.html


On Thu, Feb 6, 2014 at 1:35 PM, vinil narayan wrote:

> hi all...
>
> I'm using "This build is parameterized"  in jenkins. and choice name is
> DBName.. there are 3 options. I used an xml file like..
>
> 
> 
>  
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> and while build this job I'm getting error like
>
>
> BUILD FAILEDD:\Atlas\userinput.xml:4: Problem: failed to create task or type 
> if
> Cause: The name is undefined.
> Action: Check the spelling.
> Action: Check that any custom tasks/types have been declared.
> Action: Check that any / declarations have taken place.
>
>
> Total time: 0 seconds
> Build step 'Invoke Ant' marked build as failure
> Finished: FAILURE
>
>  --
> 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.
>

-- 
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: Integration test on a multi platform environment

2014-02-03 Thread Vivekanand S V
A multi configuration (
https://wiki.jenkins-ci.org/display/JENKINS/Building+a+matrix+project )
job, may be ?


On Mon, Feb 3, 2014 at 8:00 PM, Alon Segal  wrote:

> Hi,
> I'm running Jenkins on a machine that has both Oracle an Mssql installed
> on.
> I am running a batch file as a post-build step, which triggers the
> integration test.
> This batch file is testing only the Mssql.
> Now, I want to run another batch file simultaneously which is testing the
> oracle, and be able to monitor the 2 batch files separately.
>
> Does anyone have any idea?
>
> 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.
>

-- 
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 browse the results (target) directory

2014-01-21 Thread Vivekanand S V
You can use wildcards (ant pattern) I think (**/*.log) if  you know the
extension. or *.* if you need all the files.

If both wont work, then you better move the logs to a separate folder (or
zip it) during the build process and use that for archiving.


On Tue, Jan 21, 2014 at 4:15 PM, Moddy Ʈe'eni  wrote:

> You mean using Archive the artifacts? I can't do that. There are
> potentially hundreds of such files, and I don't know their names beforehand.
>
> Moddy
>
>
> On Tue, Jan 21, 2014 at 9:07 PM, Maciej Jaros  wrote:
>
>>  Moddy Ʈe'eni (2014-01-21 09:13):
>>
>> My testing job (Maven/TestNG) creates logs for failed tests. Is there a
>> way to view these logs using jenkins' http server? Currently I have to
>> login into the machine and/or copy files with FTP.
>>
>> My files are under the workspace directory, but I can write them
>> somewhere else if it makes things easier.
>>
>>
>> They should be downloadable if you mark them as artificats in post build
>> step.
>>
>> Cheers,
>> Nux.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Jenkins Users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/jenkinsci-users/gKQIvcAP9_s/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> jenkinsci-users+unsubscr...@googlegroups.com.
>> 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.
>

-- 
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 install Jenkins Slave on Windows

2013-12-20 Thread Vivekanand S V
You create a job in master, in the job configuration page just mention the
slave (you'll find it named as NODE in config page) in which you want to
run the job.


On Sat, Dec 21, 2013 at 5:22 AM, rocketdoctor wrote:

> thanks curtis after reading that again I figured it out,  but now I don't
> understand how to create a Job for the Slave system
>
>
>
> --
> View this message in context:
> http://jenkins-ci.361315.n4.nabble.com/how-to-install-Jenkins-Slave-on-Windows-tp4684640p4685136.html
> Sent from the Jenkins users mailing list archive at Nabble.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.
>

-- 
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.security.AccessDeniedException2: anonymous is missing the Overall/Read permission

2013-11-21 Thread Vivekanand S V
May be THIS can
help you.


On Fri, Nov 22, 2013 at 3:39 AM, Henry Hsue  wrote:

> Need help figuring this one out. I think I enabled global security and saw
> this error immediately.
>
> (accessing localhost:8080 see the following...)
>
> A problem occurred while processing the request. Please check our bug
> tracker  to see if a similar problem has
> already been reported. If it is already reported, please vote and put a
> comment on it to let us gauge the impact of the problem. If you think this
> is a new issue, please file a new issue. When you file an issue, make sure
> to add the entire stack trace, along with the version of Jenkins and
> relevant plugins. The users list 
> might
> be also useful in understanding what has happened.
> Stack trace
>
> hudson.security.AccessDeniedException2: anonymous is missing the Overall/Read 
> permission
>   at hudson.security.ACL.checkPermission(ACL.java:54)
>   at hudson.model.Node.checkPermission(Node.java:418)
>   at jenkins.model.Jenkins.getTarget(Jenkins.java:3658)
>   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:656)
>   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
>   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631)
>   at org.kohsuke.stapler.Stapler.service(Stapler.java:225)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>   at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
>   at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
>   at 
> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
>   at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
>   at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
>   at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
>   at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
>   at 
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
>   at 
> hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
>   at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
>   at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
>   at 
> org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
>   at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
>   at 
> hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
>   at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
>   at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
>   at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
>   at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
>   at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
>   at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
>   at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
>   at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
>   at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
>   at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
>   at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
>   at org.eclipse.jetty.server.Server.handle(Server.java:370)
>   at 
> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
>   at 
> org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
>   at 
> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
>   at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
>   at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
>   at 
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
>   at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
>   at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
>   at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>   at java.lang.Thread.run(Thread.

Re: Multiple coverage reports

2013-11-14 Thread Vivekanand S V
I don't know abt coverage in particular, but you can check
https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin for
generally running stuff more than once.


On Thu, Nov 14, 2013 at 3:22 PM, Stefano Maggiolo wrote:

> Hello,
>
> Jenkins newbie here, sorry if the question has an obvious answer.
>
> In my project I have two suites of tests (unit tests and functional
> tests). I produce a coverage.xml for each, separately. Is there a way to
> instruct the cobertura plugin to show two separate coverage reports instead
> of merging the two? Or maybe with a different plugin?
>
> Thank you,
> Ste
>
> --
> 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.
>

-- 
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.util.IOException2: remote file operation failed

2013-11-13 Thread Vivekanand S V
Some problem while parsing it, whats there in lineNumber: 13; columnNumber:
29 in that xml file ? Maybe that'll give a hint.


On Thu, Nov 14, 2013 at 5:43 AM, Maneesh M P wrote:

>
> We get this error while publishing junit test results, any help ??
>
> *15:23:46* Recording test results*15:23:46* ERROR: Failed to archive test 
> reports*15:23:46* hudson.util.IOException2 
> : 
> remote file operation failed: /home/build/jenkins/workspace/xxx at 
> hudson.remoting.Channel@75e57ae0:pso-build-3v275*15:23:46*  at 
> hudson.FilePath.act(FilePath.java:901) 
> *15:23:46*
>   at hudson.FilePath.act(FilePath.java:878) 
> *15:23:46*
>   at hudson.tasks.junit.JUnitParser.parse(JUnitParser.java:87) 
> *15:23:46*
>   at 
> hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:122) 
> *15:23:46*
>  at 
> hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:134) 
> *15:23:46*
>  at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 
> *15:23:46*
>at 
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802)
>  
> *15:23:46*
>  at 
> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774)
>  
> *15:23:46*
>at hudson.model.Build$BuildExecution.post2(Build.java:183) 
> *15:23:46*
>  at 
> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724)
>  
> *15:23:46*
>at hudson.model.Run.execute(Run.java:1617) 
> *15:23:46*
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 
> *15:23:46*
>  at hudson.model.ResourceController.execute(ResourceController.java:88) 
> *15:23:46*
>  at hudson.model.Executor.run(Executor.java:237) 
> *15:23:46*
>  Caused by: hudson.util.IOException2 
> : 
> Failed to read 
> /home/build/jenkins/workspace/xxx/target/test-reports/com.hp.pso.cloudtools.provider.hpcs.CreateNewVolumeDetailsTest.xml*15:23:46*
>   at hudson.tasks.junit.TestResult.parse(TestResult.java:284) 
> *15:23:46*
> at 
> hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:223) 
> *15:23:46*
>   at hudson.tasks.junit.TestResult.parse(TestResult.java:158) 
> *15:23:46*
> at hudson.tasks.junit.TestResult.parse(TestResult.java:141) 
> *15:23:46*
> at 
> hudson.tasks.junit.TestResult.(TestResult.java:117)*15:23:46*  at 
> hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:117)
>  
> *15:23:46*
>at 
> hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:90)
>  
> *15:23:46*
> at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2389) 
> *15:23:46*
>at hu

Re: Parameterized build: pull choices from a file

2013-11-13 Thread Vivekanand S V
Check if
https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+pluginor
https://wiki.jenkins-ci.org/display/JENKINS/Extensible+Choice+Parameter+pluginwork
for you.


On Thu, Nov 14, 2013 at 12:38 AM, Curtis Kline  wrote:

> I have a parameterized build with a "choice" parameter, so that the user
> can select from a list of possible parameters for this job. Rather than a
> static list of choices, I'd like to use a file in the workspace that
> contains a list of the currently available choices.
>
> Any suggestions on how to accomplish this?
>
> Thanks,
> Curtis
>
>
>
>  --
> 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.
>

-- 
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 CLASSPATH variable to Jenkins.

2013-10-17 Thread Vivekanand S V
Inject environment variables using jenkins ? Or only for *this* case, u can
add the "set CLASSPATH=PATH_GOES_HERE" line in your bat file before line
that executes the ant file.


On Fri, Oct 18, 2013 at 11:13 AM, puyo puy  wrote:

> Hi,
>
> I have an ant script running successfully using bat file. But when I run
> that script on Jenkins it failed with error "build_preprocess.xml:166:
> java.lang.NullPointerException".  After many hours of research, I believe
> that is related to the CLASSPATH environment variable did not pass to
> Jenkins.  Just wonder is there a way I can pass CLASSPATH to Jenkins?
>
> Thanks in advance
>
>  --
> 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.
>

-- 
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: Issue with Paramaterized builds and 1.535

2013-10-16 Thread Vivekanand S V
I face a similar issue in version 1.531. I have a job (MultiJob Project)
that run another set of jobs. From the view I am able to schedule the
build, but from the job page I wont be able to start the build even though
it says build scheduled after I click it and give parameters.

This is not same but has same behaviour
(JENKINS-20080)

Vivek.


On Wed, Oct 16, 2013 at 8:33 PM,  wrote:

> If you use builds with parameters, please be aware there is a regression
> in 1.535 (not a show-stopper, but annoying).
> See: https://issues.jenkins-ci.org/browse/JENKINS-20080 and
> https://issues.jenkins-ci.org/browse/JENKINS-20074
> Matthew
>
>
> --
> This e-mail and any attachments may contain confidential, copyright and or
> privileged material, and are for the use of the intended addressee only. If
> you are not the intended addressee or an authorised recipient of the
> addressee please notify us of receipt by returning the e-mail and do not
> use, copy, retain, distribute or disclose the information in or attached to
> the e-mail.
> Any opinions expressed within this e-mail are those of the individual and
> not necessarily of Diamond Light Source Ltd.
> Diamond Light Source Ltd. cannot guarantee that this e-mail or any
> attachments are free from viruses and we cannot accept liability for any
> damage which you may sustain as a result of software viruses which may be
> transmitted in or with the message.
> Diamond Light Source Limited (company no. 4375679). Registered in England
> and Wales with its registered office at Diamond House, Harwell Science and
> Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
>
>
>
>
> --
> 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.
>

-- 
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: HTML Report Publisher and FIle Hierarchies

2013-10-10 Thread Vivekanand S V
You should be able publish another html (By clicking the add button present
below it) by giving the new directory in the 2nd one and giving file3.html
as the file to archive. This is how I work with multiple HTML files.


On Thu, Oct 10, 2013 at 6:29 PM, Schalk Cronjé  wrote:

> Of late I have been doing custom HTML reports to be published in Jenkins.
> It seems that if files are in the same directories as the index page they
> can be referenced from Jenkins, but not if they are in a subdirectory.
>
> To illustrate, if the following is the published index page then, file2
> will be displayed, but file3.html with yield a 404 error.
>
> 
>
>   same_level
>>   in_subdir
>> 
>>
>
> All of the files in the hierarchy will be archived,
>
> Anyone know whether this is defined behaviour or a bug?
>
> *Tested on Jenkins 1.531 with HTML Publisher 1.2*
>
> --
> 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.
>

-- 
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: Child job finishes with "SUCCESS" status even before copy-to-plugin finishes copying files from slave to master

2013-09-27 Thread Vivekanand S V
Hi Owen,

I release a new version of the plugin, I hope that will solve your problem.
It should visible in update center in sometime. Give it a try and let me
know.


Vivek.


On Sat, Sep 14, 2013 at 4:29 PM, Vivekanand S V wrote:

> Owen,
>
> I found the culprit (or may be it was made that way for a reason).
>
> See line 
> #67<https://github.com/jenkinsci/copy-to-slave-plugin/blob/master/src/main/java/com/michelin/cio/hudson/plugins/copytoslave/CopyToMasterNotifier.java#L67>in
>  that plugin's source, it is returning true, that means it'll run only
> after all the processes are done and the result is finalised. Check java
> docs 
> here<http://javadoc.jenkins-ci.org/hudson/tasks/Publisher.html#needsToRunAfterFinalized()>
> .
> I created a small plugin (which just prints the build number of last
> successful build) just to test this and yes if that method returns false,
> then things are working as expected.
>
> *When that method return true*
>
> Publishing Javadoc
> ERROR: Publisher hudson.tasks.JavadocArchiver aborted due to exception
> java.lang.IllegalStateException: basedir
> /home/NetBeansProjects/JenkinsDemo/work/jobs/Test/workspace/* does not
> exist.
> Previous build = 5
> Previous build = 5
> Finished: FAILURE
>
> *When that method return false*
>
> Previous build = 5
> Previous build = 5
> Publishing Javadoc
> ERROR: Publisher hudson.tasks.JavadocArchiver aborted due to exception
> java.lang.IllegalStateException: basedir
> /home/NetBeansProjects/JenkinsDemo/work/jobs/Test/workspace/* does not
> exist.
> Finished: FAILURE
>
>
> You see the line "Previous build = 5" twice because I waited for some time
> (Thread.sleep(2000)) before printing the 2nd line just to see if it waits
> till it finishes.
>
>
> Vivek.
>
>
>
> On Thu, Aug 29, 2013 at 9:33 AM, Vivekanand S V wrote:
>
>> I saw your report, I see that u face that race condition occasionally,
>> but it happens always in my case.
>>
>> Btw, someone from #jenkins IRC channel gave me a work around for me, as
>> my requirement is only the HTML publisher I can directly give the slave
>> system path where the reports are located. Though it solves the problem, I
>> now have to navigate one level inside (normally we open the job to find the
>> reports, now I have to open the job and then open the configuration to find
>> the reports).
>>
>> If your use-case is something like this, then please give it a try :)
>>
>>
>> Vivek.
>>
>>
>> On Tue, Aug 27, 2013 at 3:02 AM, Owen B. Mehegan 
>> wrote:
>>
>>> I have noticed this too, and it causes me some headaches in my use of
>>> that plugin. I filed this bug, but it has not gotten any attention:
>>> https://issues.jenkins-ci.org/browse/JENKINS-16818
>>>
>>> Paging Romain Seguy!
>>>
>>>
>>> On Sunday, August 25, 2013 11:36:40 PM UTC-7, Vivek wrote:
>>>>
>>>> Hi,
>>>>
>>>> I am facing problem while copying files from slave to master machine.
>>>> The scenario is given below
>>>>
>>>> I have jenkins installed (debian package) as master in Ubuntu, have 2
>>>> slaves for 32/64 bit Windows 7. I run some test cases in the slave windows
>>>> OS' and use copy-to-slave plugin to get back the test case results to
>>>> master.
>>>>
>>>> This is a multi configuration job and after child jobs (1 child job
>>>> each for 2 slaves) are finished I publish combined HTML reports in the
>>>> parent job.
>>>>
>>>> Now the problem that I face here is, the child job finishes with
>>>> "SUCCESS" without waiting for the copy-to-plugin post build action to
>>>> finish. So the HTML Publisher in the parent job fails as the files are not
>>>> yet copied to the master.
>>>>
>>>> *Note 1* : - Though the child job finishes, the copy-to-slave plugin
>>>> continues to work and files are successfully copied to the master.
>>>>
>>>> *Note 2* : - The child job finishes before the post build action only
>>>> for copy-to-plugin, it waits till the post build actions are finished for
>>>> other plugins.
>>>>
>>>> Version details :
>>>>
>>>> Jenkins version - 1.523
>>>> Master OS - Ubuntu 12.04
>>>> Slave OS' - Windows 7 32 & 64 bit
>>>> Copy To Slave Plugin - 1.4
>>>>
>>>> Have any one faced this kind of issue ? Any inputs/suggestions for
>>>> rectifying this behaviour ?
>>>>
>>>> Thanks,
>>>>
>>>> Vivek.
>>>>
>>>  --
>>> 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.
>>>
>>
>>
>

-- 
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: jenkins_1.532_all

2013-09-24 Thread Vivekanand S V
Look if the network is behind a proxy, if they are working fine check if
you have done the steps mentioned here -> http://pkg.jenkins-ci.org/debian/


On Tue, Sep 24, 2013 at 8:57 PM, ray charley  wrote:

> Hello guys,
> yesterday i intalled Jenkins 1.532 on my home server ( Ubuntu 13.04 ) and
> everything worked fine.
> Today i tried the same on the company-server but i got following message
>  "Failed to fetch
> http://pkg.jenkins-ci.org/debian/binary/jenkins_1.532_all.deb";
>
> I also tried to dowload the deb from http://pkg.jenkins-ci.org/debian/
> but the jenkins_1.532_all.deb file is not available.
>
> Any ideas?
> Thanks in advance
>
>
>  --
> 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.
>

-- 
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: Uninstall jenkins in Ubuntu

2013-09-15 Thread Vivekanand S V
Have you checked this
https://wiki.jenkins-ci.org/display/JENKINS/Disable+security ?


On Mon, Sep 16, 2013 at 11:31 AM, Gocool Geek  wrote:

> Hi folks,
>
>  Sorry if this sound silly, but I am stuck hence wanted to know the answer.
>
>  I forgot my admin password and I am the only admin in the jenkins, hence
> I wanted to re-install and start from scratch.
>
>  I removed the physical directory where jenkins is in - under tomcat
> webapps. I pushed a new war file into webapps and restarted the server.
>
>  Now when I access jenkins - the new one, it still takes me to the login
> screen. I was assuming it should be starting from scratch and should not
> ask for log-in.
>
>  Please let me know how I can solve this issue?
>
> Thanks,
> G
>
> --
> 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.
>

-- 
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: Child job finishes with "SUCCESS" status even before copy-to-plugin finishes copying files from slave to master

2013-09-14 Thread Vivekanand S V
Owen,

I found the culprit (or may be it was made that way for a reason).

See line 
#67<https://github.com/jenkinsci/copy-to-slave-plugin/blob/master/src/main/java/com/michelin/cio/hudson/plugins/copytoslave/CopyToMasterNotifier.java#L67>in
that plugin's source, it is returning true, that means it'll run only
after all the processes are done and the result is finalised. Check java
docs 
here<http://javadoc.jenkins-ci.org/hudson/tasks/Publisher.html#needsToRunAfterFinalized()>
.
I created a small plugin (which just prints the build number of last
successful build) just to test this and yes if that method returns false,
then things are working as expected.

*When that method return true*

Publishing Javadoc
ERROR: Publisher hudson.tasks.JavadocArchiver aborted due to exception
java.lang.IllegalStateException: basedir
/home/NetBeansProjects/JenkinsDemo/work/jobs/Test/workspace/* does not
exist.
Previous build = 5
Previous build = 5
Finished: FAILURE

*When that method return false*

Previous build = 5
Previous build = 5
Publishing Javadoc
ERROR: Publisher hudson.tasks.JavadocArchiver aborted due to exception
java.lang.IllegalStateException: basedir
/home/NetBeansProjects/JenkinsDemo/work/jobs/Test/workspace/* does not
exist.
Finished: FAILURE


You see the line "Previous build = 5" twice because I waited for some time
(Thread.sleep(2000)) before printing the 2nd line just to see if it waits
till it finishes.


Vivek.



On Thu, Aug 29, 2013 at 9:33 AM, Vivekanand S V wrote:

> I saw your report, I see that u face that race condition occasionally, but
> it happens always in my case.
>
> Btw, someone from #jenkins IRC channel gave me a work around for me, as my
> requirement is only the HTML publisher I can directly give the slave system
> path where the reports are located. Though it solves the problem, I now
> have to navigate one level inside (normally we open the job to find the
> reports, now I have to open the job and then open the configuration to find
> the reports).
>
> If your use-case is something like this, then please give it a try :)
>
>
> Vivek.
>
>
> On Tue, Aug 27, 2013 at 3:02 AM, Owen B. Mehegan wrote:
>
>> I have noticed this too, and it causes me some headaches in my use of
>> that plugin. I filed this bug, but it has not gotten any attention:
>> https://issues.jenkins-ci.org/browse/JENKINS-16818
>>
>> Paging Romain Seguy!
>>
>>
>> On Sunday, August 25, 2013 11:36:40 PM UTC-7, Vivek wrote:
>>>
>>> Hi,
>>>
>>> I am facing problem while copying files from slave to master machine.
>>> The scenario is given below
>>>
>>> I have jenkins installed (debian package) as master in Ubuntu, have 2
>>> slaves for 32/64 bit Windows 7. I run some test cases in the slave windows
>>> OS' and use copy-to-slave plugin to get back the test case results to
>>> master.
>>>
>>> This is a multi configuration job and after child jobs (1 child job each
>>> for 2 slaves) are finished I publish combined HTML reports in the parent
>>> job.
>>>
>>> Now the problem that I face here is, the child job finishes with
>>> "SUCCESS" without waiting for the copy-to-plugin post build action to
>>> finish. So the HTML Publisher in the parent job fails as the files are not
>>> yet copied to the master.
>>>
>>> *Note 1* : - Though the child job finishes, the copy-to-slave plugin
>>> continues to work and files are successfully copied to the master.
>>>
>>> *Note 2* : - The child job finishes before the post build action only
>>> for copy-to-plugin, it waits till the post build actions are finished for
>>> other plugins.
>>>
>>> Version details :
>>>
>>> Jenkins version - 1.523
>>> Master OS - Ubuntu 12.04
>>> Slave OS' - Windows 7 32 & 64 bit
>>> Copy To Slave Plugin - 1.4
>>>
>>> Have any one faced this kind of issue ? Any inputs/suggestions for
>>> rectifying this behaviour ?
>>>
>>> Thanks,
>>>
>>> Vivek.
>>>
>>  --
>> 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.
>>
>
>

-- 
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: Cobertura Plugin not generating xml file

2013-09-10 Thread Vivekanand S V
You should be checking about this in either maven related groups or
cobertura but not here. This is no way concerned to jenkins.


On Wed, Sep 11, 2013 at 11:41 AM, Gaurang shah wrote:

> Hi Guys,
>
> I was trying to generate the code coverage report through cobertura,
> however I am facing weird problem.
>
> I am using maven project and on the *cobertura *plugin site they have
> mention that you can directly use the *cobertura:cobertua* goal to
> generate report without modifying the* pom.xml*. I am using the same
> thing,
>
> However the problem is it is* generating HTML* reports and *not a XML*file, 
> however post action looks for XML file. Has anyone faced this issue
> before, can anyone let me know what's going on ??
>
>
>  --
> 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.
>

-- 
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: Error 404 Html Publisher Plugin

2013-09-06 Thread Vivekanand S V
Fix is rolled in 1.530, you can wait for it. I'll be out soon I hope


On Fri, Sep 6, 2013 at 11:56 PM, Karthik Kumar Bachu <
karthik.ba...@gmail.com> wrote:

> Downgrade jenkins from 1.529 to 1.527, it worked for me after downgrading.
>
> On Friday, August 30, 2013 9:56:17 AM UTC-4, Sascha wrote:
>>
>> Hi everyone,
>>
>> I have a very simple MSBuild project in Jenkins that produces code
>> coverage information.
>> When trying to use the link provided by Html Publisher Plugin in the
>> project view I get an 404 error:
>>
>> Status Code: 404Exception:
>> Stacktrace:
>>
>> (none)
>>
>>
>> --
>> *Generated by Winstone Servlet Engine v0.9.10 at Fri Aug 30 17:36:41
>> CEST 2013*
>>
>>
>> The coverage files are generated in the workspace and are copied to the
>> htmlreports folder by Html Publisher too.
>> But somehow they can not be accessed by the link?
>>
>> I already tried:
>> -reinstalling the Html Publisher Plugin
>> -changing the ports
>> -reinstalling Jenkins
>>
>> and before this checked my configuration on a VM. Everything there works
>> like it should.
>>
>> any ideas to solve this are welcome
>>
>>  --
> 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.
>

-- 
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: Choosing the slave to run the project

2013-09-06 Thread Vivekanand S V
When you use multi-configuration job you can select the slave by adding
"Slaves" under the "Configuration Matrix section". Once you do that, you
can select the slave(s) on which this job needs to be run.


On Fri, Sep 6, 2013 at 2:21 PM, Mateusz Polański <
mp.mateusz.polan...@gmail.com> wrote:

> Is there a possibility to choose the slave on which a build can be run
> using
> an environmental variable?
>
>
>
> --
> View this message in context:
> http://jenkins-ci.361315.n4.nabble.com/Choosing-the-slave-to-run-the-project-tp4677458.html
> Sent from the Jenkins users mailing list archive at Nabble.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.
>

-- 
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: Child job finishes with "SUCCESS" status even before copy-to-plugin finishes copying files from slave to master

2013-08-28 Thread Vivekanand S V
I saw your report, I see that u face that race condition occasionally, but
it happens always in my case.

Btw, someone from #jenkins IRC channel gave me a work around for me, as my
requirement is only the HTML publisher I can directly give the slave system
path where the reports are located. Though it solves the problem, I now
have to navigate one level inside (normally we open the job to find the
reports, now I have to open the job and then open the configuration to find
the reports).

If your use-case is something like this, then please give it a try :)


Vivek.


On Tue, Aug 27, 2013 at 3:02 AM, Owen B. Mehegan wrote:

> I have noticed this too, and it causes me some headaches in my use of that
> plugin. I filed this bug, but it has not gotten any attention:
> https://issues.jenkins-ci.org/browse/JENKINS-16818
>
> Paging Romain Seguy!
>
>
> On Sunday, August 25, 2013 11:36:40 PM UTC-7, Vivek wrote:
>>
>> Hi,
>>
>> I am facing problem while copying files from slave to master machine. The
>> scenario is given below
>>
>> I have jenkins installed (debian package) as master in Ubuntu, have 2
>> slaves for 32/64 bit Windows 7. I run some test cases in the slave windows
>> OS' and use copy-to-slave plugin to get back the test case results to
>> master.
>>
>> This is a multi configuration job and after child jobs (1 child job each
>> for 2 slaves) are finished I publish combined HTML reports in the parent
>> job.
>>
>> Now the problem that I face here is, the child job finishes with
>> "SUCCESS" without waiting for the copy-to-plugin post build action to
>> finish. So the HTML Publisher in the parent job fails as the files are not
>> yet copied to the master.
>>
>> *Note 1* : - Though the child job finishes, the copy-to-slave plugin
>> continues to work and files are successfully copied to the master.
>>
>> *Note 2* : - The child job finishes before the post build action only
>> for copy-to-plugin, it waits till the post build actions are finished for
>> other plugins.
>>
>> Version details :
>>
>> Jenkins version - 1.523
>> Master OS - Ubuntu 12.04
>> Slave OS' - Windows 7 32 & 64 bit
>> Copy To Slave Plugin - 1.4
>>
>> Have any one faced this kind of issue ? Any inputs/suggestions for
>> rectifying this behaviour ?
>>
>> Thanks,
>>
>> Vivek.
>>
>  --
> 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.
>

-- 
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.