Gerrit Trigger Plugin - "Cannot remove the last server!" - But why?

2019-08-27 Thread 'Fred G' via Jenkins Users
Hi,

I'd like to remove the last Gerrit server in my Jenkins configuration, but 
for some reason I can't because "Cannot remove the last server!".

This restriction was added with the following commit:
https://github.com/jenkinsci/gerrit-trigger-plugin/pull/68/commits/0f0009a8b5ec6cdd61b6f79c24ed34027c6f8721

It would be good to know the rationale behind this restriction, since I did 
not find one so far.

Not sure if Robert Sandell or Mathieu Wang (author of the commit) are 
monitoring this list, but maybe someone else can clear this up for me (and 
others).

Regards,

Fred

-- 
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/a0ea6f93-6a8b-4e7e-8b71-1d102f7a2208%40googlegroups.com.


Re: Preventing jobs from running in parallel

2016-02-22 Thread 'Fred G' via Jenkins Users
Throttle Concurrent Builds Plugin can also be used to prevent jobs from 
running in parallel:
https://wiki.jenkins-ci.org/display/JENKINS/Throttle+Concurrent+Builds+Plugin

On Friday, February 19, 2016 at 12:39:31 PM UTC+1, Philip Pemberton wrote:
>
> Hi,
>
> I've been given the job of automating the build of some new-ish code for a 
> crusty old system which uses a cranky old build system which depends on 
> hard-coded paths. Essentially, all input source files must be in the same 
> directory, my build script has to copy the source into that directory from 
> the Jenkins workspace, then the outputs it produces are zipped and archived.
>
> Sadly I have two independent projects which depend in this little horror 
> of a compiler.
>
> If someone runs a build for Project A, and Project B's scheduled build 
> happens to start just after, one (or both) of the two builds will fail.
>
> I've tried creating a parent project which polls the SCM and kicks off 
> Project A and Project B, then set both "Block build when upstream project 
> is building" and "Block build when downstream project is building" on A 
> and B, but this doesn't have the desired effect (A and B end up stomping on 
> each other).
>
> How can I do this with Jenkins?
>
> Thanks,
> Phil.
>

-- 
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/322a622b-f466-41d6-a3d3-2ede67eeac67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Run tests on another machine

2015-04-28 Thread Fred G
There is more information in the wiki: 
https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds

In order to run screen tests, Jenkins or a Jenkins slave needs access to 
the GUI. The easiest way (that I know of) is to start the Jenkins slave as 
a JNLP agent.

On Tuesday, April 28, 2015 at 1:37:30 PM UTC+2, Erick Macedo wrote:

 Hii,

 I have a build running on jenkins and I'm using maven.
 I wonder how I could run my screen test on a different machine that is the 
 jenkins, the bamboo that is setting up a possible agent.

 I need this configuration because the machine that is the jenkins is a 
 CentOS without graphics, and my screen tests need to be on a windows 
 machine with a browser.

 Could someone help me or have some material for this?

 thank 


-- 
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/5283a170-7ed4-404d-9b3e-dea0d0959807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Raspberry PI as node

2014-01-29 Thread Fred G
You can configure the threshold for Free Temp Space  under Manage Jenkins 
- Manage Nodes - Configure.
I'm not sure what the minimum threshold for swap space is. 

Swap space on the Raspberry Pi seems to be a controversial topic:
http://raspberrypi.stackexchange.com/questions/70/how-to-set-up-swap-space

Regards,

Fred

On Tuesday, January 28, 2014 7:29:44 PM UTC+1, Anders Persson wrote:

 Hi

 I have configured my Raspberry PI as a buld node in my jenkins 
 environment. THe master then reports that Raspberry PI node has 0MB Free 
 Swap SPace and only 0.241 GB Free Temp Space and removes the node. It 
 also reports 12GB of free disk space.

 Is it something I can do at my Raspberry PI to increse these values?

 Regards

 Anders


-- 
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 resolve the RDC issue when GUI Testing on a windows Jenkins agent

2013-10-18 Thread Fred G
Hi,

I'm currently running GUI tests on a Windows Server 2008 slave without any 
problems.
What I found out is, that the slave has to be connected via Java Web Start. 
(It did not work running the slave as a Windows service - even with access 
to the desktop).
A user has to be logged on and both screensaver and auto-log out should be 
deactivated.
I never connected to the slave via Remote Desktop Connection (RDC), only 
VNC.

I'm not sure if it depends on the kind of GUI tests you are running.
In my case they are Eclipse based GUI tests (running with WindowTester Pro).

So while I can't give you detailed instructions how to fix your specific 
problem, I can report that it's working for me at least. So there is a way! 
:)
I'd suggest trying to disable RDC and use VNC instead, if that is an viable 
option.

Regards,

Fred



On Friday, October 18, 2013 9:19:45 AM UTC+2, Kelvin Lei wrote:

 It's connected via Java Web Start btw

 On Thursday, October 17, 2013 7:26:48 PM UTC-7, Kelvin Lei wrote:

 I have a jenkins agent set up on window 7, and I am running GUI testing 
 on it. It runs fine if I have a remote desktop connection open, but fail 
 otherwise. I found this link, Jenkins on Windows and GUI Tests without 
 RDChttp://stackoverflow.com/questions/10177708/jenkins-on-windows-and-gui-tests-without-rdc

 But the solution provided there is pretty vague. Could you any please 
 clearly teach me how to solve this? Much 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.


Re: Alter/Remove All view in My Views

2013-07-26 Thread Fred G
Hi Steffen,

The user's default view can be changed under People  *your 
username/userid*  Configure.
I updated the wiki page with instructions.

Hope that helps,

Fred

On Friday, July 26, 2013 10:31:12 AM UTC+2, Steffen wrote:

 Hi everyone! 

 Does someone know a way to remove or alter the All view in My Views? 
 There is a way to do so for the global All view 
 (https://wiki.jenkins-ci.org/display/JENKINS/Editing+or+Replacing+the 
 +All+View) but I can't find a way to do so for the users All view. 

 Even if I can't change the All view, enabling an other view as default 
 would be nice, too. 

 Regards 
   Steffen 



-- 
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: copy artifacts - pick from two upstream jobs

2013-01-27 Thread Fred G
Hi Chris,

Sorry, no joy so far.
It's been a while since I tried to fix it. I'll try to take a look at it 
again.
Can't promise a time frame though.

Regards,

Fred

On Friday, January 25, 2013 10:53:11 AM UTC+1, Chris Withers wrote:

 Hi Fred, 

 Did you have any joy with this? 

 I've using 1.25 but can't see anything that would let me specify the 
 triggering project in the Project name box. I'd imagine it would be 
 some kind of place holder variable such as $COPYARTIFACT_UPSTREAM_JOB or 
 some such? 

 cheers, 

 Chris 

  Original Message  
 Subject: Re: copy artifacts - pick from two upstream jobs 
 Date: Fri, 24 Feb 2012 18:54:10 + 
 From: Chris Withers ch...@simplistix.co.uk javascript: 
 To: jenkins...@googlegroups.com javascript: 
 CC: Fred G fred...@googlemail.com javascript: 

 Hi Fred, 

 On 21/02/2012 15:23, Fred G wrote: 
  You can use the Upstream build that triggered this job-functionality 
  of the Copy-Artifacts-Plugin. 
  Unfortunately you still need to specify the name of the triggering job. 
  I will try to fix this in an upcoming version. 

 That would be great :-) 

  Until then you need to specify two Copy artifacts from another project 
  build steps (one for each triggering project) and mark them as optional. 

 This works just fine! 

 thanks, 

 Chris 

 -- 
 Simplistix - Content Management, Batch Processing  Python Consulting 
  - http://www.simplistix.co.uk 




-- 




Re: how can I make timed out builds failed rather than aborted?

2012-12-05 Thread Fred G
Hi,

Selecting the check box Fail the build which is provided by the Build 
Timeout plug-in works for me as expected.
I'm using version 1.11 of the plug-in.

Regards,

Fred

On Wednesday, December 5, 2012 10:41:09 AM UTC+1, Chris Withers wrote:

 Hi All, 

 When using the facility to time builds out if they take too long, how 
 can I make the end state 'failed' rather than 'aborted'? 

 Aborted seems to be more of a 'user cancelled, probably nothing to worry 
 about' while timing out more often tends to be 'danger danger: someone 
 checked in code that hangs'... 

 Chris 

 -- 
 Simplistix - Content Management, Batch Processing  Python Consulting 
  - http://www.simplistix.co.uk 



Re: Headless GUI testing on Windows

2012-10-31 Thread Fred G
Hi,

after having multiple problems with the interaction of the Jenkins service 
and the Windows desktop, the best solution
I found was the JNLP web start client which is called from a shortcut in 
the Autostart folder.

Hope that helps.

Regards,

Fred

On Wednesday, October 31, 2012 11:26:35 AM UTC+1, Jeff MAURY wrote:

 I'm using Jenkins to build an Eclipse based product and I have SWTBot 
 based tests that performs validation of the UI layer.
 As Jenkins is running on a Ubuntu server (headless), I was able to run the 
 UI tests on Linux thanks to the Xvfb Jenkins plugin.
 But as main target platform is Windows, I am thinking about running the UI 
 tests on that platform (on the same machine inside a VM)
 As Jenkins will be running as a service on Windows, it is not possible to 
 run UI tests for Windows.
 Do you a kind of Xvfb equivalent for Windows ?
 Or maybe if I run my virtual machine together with Xvfb and allowing 
 Jenkins service to interact with the desktop, do you think that might work ?

 Thanks
 Jeff




Re: Parameterized CVS Tag Name

2012-10-16 Thread Fred G
Hi,

It works for me since I updated the CVS plugin to version 2.6.

Regards,

Fred

On Monday, October 15, 2012 5:28:01 PM UTC+2, Olivier Chorier wrote:

 Hi,

 I'm using 1.486 now, but the problem is still present.
 Do I need to clear some cache or to delete and create again the job ?
 Is it resolved for you ?

 Thanks for help.


 Le mardi 18 septembre 2012 09:39:00 UTC+2, Olivier Chorier a écrit :

 Great, thanks a lot for your reply. I'll check the next release then.
 Olivier.

 2012/9/18 Fred G

 I have the exact same problem and opened a issue for it here: 
 https://issues.jenkins-ci.org/browse/JENKINS-15208


 On Monday, September 17, 2012 2:22:41 PM UTC+2, Olivier Chorier wrote:

 Well, it still happens ; average every two builds.
 If anyone had a suggestion...

 Thanks a lot !

 Le lundi 10 septembre 2012 09:47:54 UTC+2, Olivier Chorier a écrit :

 It seems to be a bug. 
 I tried once more and it worked.

 Olivier.

 Le lundi 10 septembre 2012 09:37:00 UTC+2, Olivier Chorier a écrit :

 Hello,

 I'm trying to make a new Job in Jenkins, based on CVS plugin.
 The scenario first asks for the tag name to use in CVS, and then uses 
 this value in the CVS section (Jenkins' form)

 Here is how I did :
 - This build has parameters : String parameter / Name : TAGNAME / 
 Default Value ; Description
 - In source code management, I selected CVS and typed ${TAGNAME} in 
 the Tag Name field (I saw the syntax in a blog after googling).

 It worked last week, but today I have the following error : 

 FATAL: Illegal repetition near index 0
 ${TAGNAME}: (([0-9]+\.)+)0\.([0-9]+)
 ^java.util.regex.**PatternSyntaxException 
 http://stacktrace.jenkins-ci.org/search?query=java.util.regex.PatternSyntaxException:
  Illegal repetition near index 0
 ${TAGNAME}: (([0-9]+\.)+)0\.([0-9]+)
 ^
 at java.util.regex.Pattern.error(**Pattern.java:1713)
 at java.util.regex.Pattern.**closure(Pattern.java:2775)
 at java.util.regex.Pattern.**sequence(Pattern.java:1889)
 at java.util.regex.Pattern.expr(**Pattern.java:1752)
 at java.util.regex.Pattern.**compile(Pattern.java:1460)
 at java.util.regex.Pattern.init**(Pattern.java:1133)
 at java.util.regex.Pattern.**compile(Pattern.java:847)
 at 
 hudson.scm.CvsChangeLogHelper.**getCurrentFileVersion(**CvsChangeLogHelper.java:266)
 at 
 hudson.scm.CvsChangeLogHelper.**mapCvsLog(CvsChangeLogHelper.**java:151)
 at hudson.scm.CVSSCM.**calculateChangeLog(CVSSCM.**java:419)
 at hudson.scm.CVSSCM.checkout(**CVSSCM.java:831)
 at 
 hudson.model.AbstractProject.**checkout(AbstractProject.java:**1248)
 at 
 hudson.model.AbstractBuild$**AbstractBuildExecution.**defaultCheckout(AbstractBuild.**java:589)
 at 
 jenkins.scm.**SCMCheckoutStrategy.checkout(**SCMCheckoutStrategy.java:88)
 at 
 hudson.model.AbstractBuild$**AbstractBuildExecution.run(**AbstractBuild.java:494)
 at hudson.model.Run.execute(Run.**java:1484)
 at hudson.model.FreeStyleBuild.**run(FreeStyleBuild.java:46)
 at 
 hudson.model.**ResourceController.execute(**ResourceController.java:88)
 at hudson.model.Executor.run(**Executor.java:236)


 Thanks for help !




Re: Parameterized CVS Tag Name

2012-09-17 Thread Fred G
I have the exact same problem and opened a issue for it here: 
https://issues.jenkins-ci.org/browse/JENKINS-15208

On Monday, September 17, 2012 2:22:41 PM UTC+2, Olivier Chorier wrote:

 Well, it still happens ; average every two builds.
 If anyone had a suggestion...

 Thanks a lot !

 Le lundi 10 septembre 2012 09:47:54 UTC+2, Olivier Chorier a écrit :

 It seems to be a bug. 
 I tried once more and it worked.

 Olivier.

 Le lundi 10 septembre 2012 09:37:00 UTC+2, Olivier Chorier a écrit :

 Hello,

 I'm trying to make a new Job in Jenkins, based on CVS plugin.
 The scenario first asks for the tag name to use in CVS, and then uses 
 this value in the CVS section (Jenkins' form)

 Here is how I did :
 - This build has parameters : String parameter / Name : TAGNAME / 
 Default Value ; Description
 - In source code management, I selected CVS and typed ${TAGNAME} in 
 the Tag Name field (I saw the syntax in a blog after googling).

 It worked last week, but today I have the following error : 

 FATAL: Illegal repetition near index 0
 ${TAGNAME}: (([0-9]+\.)+)0\.([0-9]+)
 ^java.util.regex.PatternSyntaxException 
 http://stacktrace.jenkins-ci.org/search?query=java.util.regex.PatternSyntaxException:
  Illegal repetition near index 0
 ${TAGNAME}: (([0-9]+\.)+)0\.([0-9]+)
 ^
at java.util.regex.Pattern.error(Pattern.java:1713)
at java.util.regex.Pattern.closure(Pattern.java:2775)
at java.util.regex.Pattern.sequence(Pattern.java:1889)
at java.util.regex.Pattern.expr(Pattern.java:1752)
at java.util.regex.Pattern.compile(Pattern.java:1460)
at java.util.regex.Pattern.init(Pattern.java:1133)
at java.util.regex.Pattern.compile(Pattern.java:847)
at 
 hudson.scm.CvsChangeLogHelper.getCurrentFileVersion(CvsChangeLogHelper.java:266)
at hudson.scm.CvsChangeLogHelper.mapCvsLog(CvsChangeLogHelper.java:151)
at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:419)
at hudson.scm.CVSSCM.checkout(CVSSCM.java:831)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1248)
at 
 hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
 hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
at hudson.model.Run.execute(Run.java:1484)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)


 Thanks for help !



Re: Do these features already exist?

2012-09-14 Thread Fred G
Hi Xavier,

Have you tried the Build Timeout plug-in 
(https://wiki.jenkins-ci.org/display/JENKINS/Build-timeout+Plugin) yet? It 
might help you
with detecting blocked jobs.

Regards,

Fred

On Thursday, September 13, 2012 12:48:20 PM UTC+2, Xavier Nodet wrote:

 Hi all,

 I've been using Jenkins for a year now, and I'm missing the following 
 features...
 Do they exist in a plugin that I missed?

 More context is available at 
 http://xnodet.blogspot.fr/2012/09/suggestions-for-jenkins-on-multi.html
 Thanks.

 Detect stale jobs 
 We sometimes have jobs that stop running (no new run is triggered, or no 
 available nodes).  This is of course not intended, and it would be nice to 
 be able to detect those easily.  I suppose that adding a 'Last build' 
 column to the list view, that would display the time since the job entered 
 its current state, would be nice.  Something like 'Ended 8.6 hr' or 'Queued 
 1.3 hr' or 'Started 12 min'...

 Then I'd know that if the code changed 3 hours ago, I shouldn't see any 
 number larger than 3 hours...

  Detect hung jobs 
 We have many jobs running, typically 20 to 30 simultaneously. And some 
 builds last for several hours.  It happens that tests hang, or are 
 abnormally slow.  These situations should be detected as soon as possible 
 for investigation.

 Unfortunately, the 'Build History' list is not very helpful, for two 
 reasons. It has too few jobs for us: with 50 builds, only the last 5 hours 
 are covered, which is less than the duration of many of our builds. But 
 then if this limit was increased, we'd probably need a list of 200 or so 
 jobs, which would not be easy to handle.

 I would thus suggest to allow filtering on the 'building' status.  When 
 this flag would be set, the 'Build History' would only display the jobs 
 that are currently being built. 

  A view 'by revision' 
 I often need to check if a given revision of the source has been built by 
 a given job, or what is the latest revision that is good on a set of jobs.  
 For example, I may want to merge this revision to some 'stable' branch for 
 other teams to use.

 I think that a grid view with the following attributes would be very 
 useful for this: each line is a commit id or SVN revision, each column is a 
 job, each cell is blue, red or gray (or even empty if this revision has not 
 yet been part of a run of the job, or the run is not finished yet).


 Do you think these would be useful additions?

 -- 
 Xavier Nodet



Re: Hide Jobs on All Tab.

2012-09-05 Thread Fred G
Hi,

Editing the All view requires a little workaround described here: 
https://wiki.jenkins-ci.org/display/JENKINS/Editing+or+Replacing+the+All+View
Once you've done that the View Job Filters Plug-in 
(https://wiki.jenkins-ci.org/display/JENKINS/View+Job+Filters) can give you 
all kinds of different
filters to show only specific jobs in your All view.

Hth,

Fred

On Tuesday, September 4, 2012 5:14:50 PM UTC+2, bearrito wrote:

 Is it possible to hide selected views on the ALL tab? I have numerous 
 jobs that are cluttering up the main tab. I only want to show certain top 
 level jobs on that tab, but still have them be available in other views.





Re: UI Test Case (Windowtester Pro) with Exception occurred on the SWT UI Thread

2012-08-22 Thread Fred G
Hi,

yep, we successfully run tests on a Jenkins server with the latest version 
of Windowtester Pro from 
http://dl.google.com/eclipse/inst/windowtester/beta/3.7.

There can be multiple possible reasons for the Exception occurred on the 
SWT UI Thread error.
Please make sure that you're able to start the tests from commandline (or 
Ant skript, etc) independently from Jenkins first.

You might want to post this question with some more information (eg. stack 
trace) to the Windowtester Pro google group 
(https://groups.google.com/forum/#!forum/windowtester-pro), as it might not 
be a Jenkins specific problem.


Regards,

Fred

On Wednesday, August 22, 2012 10:15:11 AM UTC+2, Tao Xin wrote:

 Hi, 

 Anyone has successfully configured Windowtester Pro on Jenkins server? 

 I used Eclipse Indigo, Windowtester 3.6.. everything seems ok, but I got 
 Exception occurred on the SWT UI Thread on my UI test cases. Anyone has a 
 solution for this???


 Thanks!
 /Tao



Re: Jenkins ACL on individual build jobs

2012-08-02 Thread Fred G
Hi,
Just for the sake of completeness:
You could also use the built-in Project-based Matrix Authorization 
Strategy.
This might only work when using Jenkins own database for authorization, 
though.

Regards,

Fred

On Wednesday, August 1, 2012 3:17:42 PM UTC+2, David Doughty wrote:

   Does anyone know if there is a capability currently in Jenkins (or as 
 part of the roadmap) to extend ACL to individual build jobs? Or perhaps if 
 there is a plugin that can provide such a capability already.

  What I'm looking for is the ability to limit who can modify/run existing 
 build jobs, as we have many projects accessing the same servers, and don't 
 want non-project members to access the build jobs, or restricted project 
 members to modify/delete jobs in one project who may have those privileges 
 for another project.

  Thanks

  dD
  
  



Re: Jenkins ssh and pull (copy) files

2012-07-06 Thread Fred G
Hi,

The Copy To Slave Plugin 
(https://wiki.jenkins-ci.org/display/JENKINS/Copy+To+Slave+Plugin)
can copy back files to the master. Currently this is only available as a 
post-build action, so I'm not
sure if the files will be available to send them as attachments.
Nevertheless it might still be cleaner than using ssh.

It shouldn't be a big deal to change the plugin so that copy back to 
master is available as a normal
build step.

HTH,

Fred

On Thursday, July 5, 2012 3:39:15 PM UTC+2, marathiboy wrote:

 Hello, 

 I need to pull files from remote machine and send it via email as 
 attachment. Once the files are on Jenkins server, I can do the rest. 

 In order to copy (pull) files from the remote server, is there any plugin 
 or 
 how can I use something like 

 ssh target_address cat remotefile  localfile 

 using ssh plugin? 

 Thanks 

 S 

 -- 
 View this message in context: 
 http://jenkins.361315.n4.nabble.com/Jenkins-ssh-and-pull-copy-files-tp4633889.html
  
 Sent from the Jenkins users mailing list archive at Nabble.com. 



Re: [External] Re: Jenkins ssh and pull (copy) files

2012-07-06 Thread Fred G
Oh, ok.
I guess you have a good reason why you are not running a Jenkins slave on 
this remote machine?

It saves a lot of file copying trouble. ;)

On Friday, July 6, 2012 5:29:41 PM UTC+2, Ligade, Shailesh [USA] wrote:

 Thanks Fred, 

 I guess this would have worked..but I am not deploying to slave..it is 
 totally different VM, where I run bash script via SSH copy plugin.. 

 All I need is copy few log files back to master Jenkins, if my script 
 determines that deployment was failure, and attach the files to email. 

 Thanks 

 S 

 -Original Message- 
 From: jenkinsci-users@googlegroups.com [mailto:
 jenkinsci-users@googlegroups.com] On Behalf Of Fred G 
 Sent: Friday, July 06, 2012 9:23 AM 
 To: jenkinsci-users@googlegroups.com 
 Subject: [External] Re: Jenkins ssh and pull (copy) files 

 Hi, 

 The Copy To Slave Plugin (
 https://wiki.jenkins-ci.org/display/JENKINS/Copy+To+Slave+Plugin) 
 can copy back files to the master. Currently this is only available as a 
 post-build action, so I'm not sure if the files will be available to send 
 them as attachments. 
 Nevertheless it might still be cleaner than using ssh. 

 It shouldn't be a big deal to change the plugin so that copy back to 
 master is available as a normal build step. 

 HTH, 

 Fred 

 On Thursday, July 5, 2012 3:39:15 PM UTC+2, marathiboy wrote: 

 Hello, 
  
 I need to pull files from remote machine and send it via email as 
 attachment. Once the files are on Jenkins server, I can do the 
 rest. 
  
 In order to copy (pull) files from the remote server, is there any 
 plugin or 
 how can I use something like 
  
 ssh target_address cat remotefile  localfile 
  
 using ssh plugin? 
  
 Thanks 
  
 S 
  
 -- 
 View this message in context: 
 http://jenkins.361315.n4.nabble.com/Jenkins-ssh-and-pull-copy-files-tp4633889.html
 http://jenkins.361315.n4.nabble.com/Jenkins-ssh-and-pull-copy-files-tp4633889.html
  
   
 Sent from the Jenkins users mailing list archive at Nabble.com. 
  



Re: CVS : Multiple CVSROOT

2012-06-22 Thread Fred G
Hi Olivier,

Yes, the CVS plugin supports checking out sources from multiple 
repositories since version 2.0.
You might need to update the plugin through the update center though, 
because Jenkins still ships with
an outdated version of the plugin (1.6).

Hth,

Fred

On Friday, June 22, 2012 7:05:33 PM UTC+2, Olivier Chorier wrote:

 Hello,

 I'm new to Jenkins, and I'm trying to make a new build project using CVS. 

 The problem I encounter is that I need to checkout my sources from 2 
 repositories (2 CVSROOT)

 Does Jenkins allow to get the sources from more than 1 cvsroot in one 
 project ?

 Thanks a lot.



Re: CVS Bugfix

2012-06-20 Thread Fred G
Hi Jürgen,

You could try the snapshot release:
https://buildhive.cloudbees.com/view/All/job/jenkinsci/job/cvs-plugin/org.jenkins-ci.plugins$cvs/

Please report back (here or in JIRA) if this fixes the reported issue.

Hth,

Fred

On Monday, June 18, 2012 2:23:56 PM UTC+2, Knuplesch, Jürgen wrote:

 Hello,

  

 i just upgraded Jenkins but found out that


 https://issues.jenkins-ci.org/browse/JENKINS-13789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#issue-tabs

 is affecting me.

  

 The problem seems to be fixed, but not released.

 When will the Bugfix be released?

  

 Is there testversion or a workaround, I can use, because we are working a 
 lot with CVS Branches.

  

 Juergen

  

 -- 

 Jürgen Knupleschwww.icongmbh.de

 icon Systemhaus GmbHTel. +49 711 806098-275

 Sophienstraße 40juergen.knuple...@icongmbh.de

 D-70178 Stuttgart   Fax. +49 711 806098-299

  

 Geschäftsführer: Uwe Seltmann

 HRB Stuttgart 17655

 USt-IdNr.: DE 811944121 

  

  



Re: Jenkins: How to run a job independent of the job workflow

2012-03-22 Thread Fred G
Hi,

The Conditional Build Step Plugin might be what you're looking for: 
https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin .
It let's you execute or skip a build step depending on a condition, which 
could be a boolean parameter in your usecase.

HTH,

Fred



On Thursday, March 22, 2012 3:25:36 AM UTC+1, HumbleMonster wrote:

 Hi,
  
 I am using Jenkins version 1.455. With parameterized-plugin I have 
 implemented following job workflow:
 A if succeeds kicks B, B if succeeds kicks C, C in all cases kicks D
  
 Current workflow is working without any issues.
  
 Now a new requirement has come up, we want to run jobs individually as 
 well. So I want to run A without running B (independent of the execution 
 status of A).
  
 How can I implement this? Is there a way I can pass parameters to the job 
 which tells Jenkins not start downstream jobs?
  
 I am unable to find a plugin or a way which solves the purpose. Any 
 pointer/suggestions would be helpful.
  
 Thanks for attention.
  
 Ashish



Re: copy artifacts - pick from two upstream jobs

2012-02-21 Thread Fred G
Hi Chris,

You can use the Upstream build that triggered this job-functionality of 
the Copy-Artifacts-Plugin.
Unfortunately you still need to specify the name of the triggering job. I 
will try to fix this in an upcoming version.
Until then you need to specify two Copy artifacts from another project 
build steps (one for each triggering project) and mark them as optional.

Hth,

Fred


Re: Source code metrics plugin ?

2012-02-06 Thread Fred G
Hi,

here is the link to all the reporting plugins: 
https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-Buildreports

One of the most popular plug-ins is this one: 
https://wiki.jenkins-ci.org/display/JENKINS/Static+Code+Analysis+Plug-ins

BTW: The plug-ins are not hiding, they can easily be found with the search 
feature of the Jenkins wiki. ;)

Hth,

Fred