File transfering on same domain

2015-07-13 Thread ozcaaan94
Hi! I am new to Jenkins. What am I want to do is, to copy files which are generated by a Jenkins build to other computers (same domain). But I have no idea which approach to use. There are pl

[workflow-plugin] Using workflow in same SCM as code

2015-07-13 Thread Michael Lasevich
I want to keep my workflow script in same git repo as rest of my code and want to avoid hard-coding URLs or branch names into the workflow. When I use "Groovy CPS DSL from SCM" it seems to check out into a separate workspace, so I do not have access to anything in the git repo. I could check o

Jenkins Deploy plugin for Jboss 6.x class loading issue

2015-07-13 Thread Prabaharan Gopalan
Hi Everyone, I'm trying to use the deploy plugin with Jenkins and trying to deploy to a remote JBoss 6.x. But I keep hitting the javax.security.auth.login.LoginException: unable to find LoginModule class: org.jboss.security.ClientLoginModule error. I read through the documentation and underst

Re: grayed-out font style in build history list

2015-07-13 Thread Tony Wallace
Yes, that did it. Thank you! On Monday, July 13, 2015 at 1:31:20 PM UTC-7, Suckow, Thomas J wrote: > > I am guessing this is what is bothering you: > > #buildHistory .desc { > opacity: 0.6; > } > > I don't have a preference either way. If you wanted to rebuild the war > file, you would jus

Re: workflow plugin -- dynamically select specifc slave nodes in for loop

2015-07-13 Thread Anshu Arya
Whoops, this is the code: def parTask = [:] for(int i = 0; i < all_nodes.size(); i++) { def node_name = all_nodes[i] parTask[node_name] = { node(node_name) {/* stuff to do in parallel across selected nodes */ } } } parallel parTask On Monday, July 13, 2015 at 5:19:57 PM UTC-7, Ans

Re: workflow plugin -- dynamically select specifc slave nodes in for loop

2015-07-13 Thread Anshu Arya
The workaround right now is to just use normal C-style loops. For example if you want to do stuff in parallel: def parTask = [:] for(int i = 0; i < all_nodes.size(); i++) { def node_name = all_nodes[i] parTask[node_name] = { /* stuff to do in parallel */ } } parallel parTask On Monday,

Re: workflow plugin -- dynamically select specifc slave nodes in for loop

2015-07-13 Thread Owen B. Mehegan
I'm trying to accomplish basically the same thing - I have identical steps that I want to run on >1 slave, in parallel. Is there any other succinct way to write this? Right now I am duplicating everything for each slave, which should offend anyone's sense of programming decency :) Being able to

Re: Build status depending on build failure type

2015-07-13 Thread Oleg Nenashev
Upd: not a best way, just an applicable one. Many other plugins like "Log Parser" allow to address common cases and provide a good UI for your case понедельник, 13 июля 2015 г., 23:56:10 UTC+3 пользователь Oleg Nenashev написал: > > The best way would be to use Conditional Build Step plugin, whi

Re: Build status depending on build failure type

2015-07-13 Thread Oleg Nenashev
The best way would be to use Conditional Build Step plugin, which sets the status using "Fail the build" plugin среда, 8 июля 2015 г., 18:57:37 UTC+3 пользователь Jakub Czaplicki написал: > > > I would like to be able to set a build status to "Not built" or "Aborted" > when a certain failure occ

Re: Maven repository on EC2 slave nodes

2015-07-13 Thread Oleg Nenashev
I would recommend to deploy a shared storage on EC2 and map it to your nodes when you create them. Fresh Maven repos checkout will decrease the build speed and also cause a huge traffic, so additional storage expenses seem to be reasonable четверг, 9 июля 2015 г., 10:30:47 UTC+3 пользователь Bas

Re: Changelog does not show in Jobs

2015-07-13 Thread Oleg Nenashev
Please submit an issue to Mercurial plugin, provide changelog.xml and the plugin's version there пятница, 10 июля 2015 г., 19:16:13 UTC+3 пользователь SamL написал: > > Hello Folks, > > We are having an issue where the changelog,xml file gets written to disk > with all the proper changes but it

Re: grayed-out font style in build history list

2015-07-13 Thread Suckow, Thomas J
I am guessing this is what is bothering you: #buildHistory .desc { opacity: 0.6; } I don't have a preference either way. If you wanted to rebuild the war file, you would just have to find and remove the opacity line. From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Tony Wallace

Jenkins Remote Trigger Not Working

2015-07-13 Thread Technext
I am getting the following error when i try triggering a build using the following command: curl http://jenkins_server:port/jenkins/job/job_name/build?token=harry Output: - window.location.replace('/jenkins/securityRealm/commenceLogin?from=%2Fj

grayed-out font style in build history list

2015-07-13 Thread Tony Wallace
Sometime between Jenkins 1.580.3 and 1.609.1 the font used for the build description in the build history list changed from a normal readable font to a greyed-out style font which includes some mouse-over effect. The build descriptions in the new build history are a lot harder to read, and I wou

maven build failing on slave

2015-07-13 Thread Eric Wood
I have a Maven build that runs fine on the master, but when it runs on the slave it fails.  The pom.xml that drives the maven build has a custom execution statement that appears to use a property setting in the same file.  The file has the following. Is it possible that the slave is not passing

RE: jenkins and code analysis

2015-07-13 Thread Ginga, Dick
We use Stylecop for C#. it is supported by the violations plugin that will let you display a historical graph of conformance. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Carlos Lucas Sent: Monday, July 13, 2015 9:59 AM To: jenkinsci-users@googleg

Re: jenkins and code analysis

2015-07-13 Thread Carlos Lucas
I forgot to say that my code is on .NET C# and VB -- 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 dis

Re: jenkins and code analysis

2015-07-13 Thread Mark Waite
I've had good results with the findbugs plugin and the PMD plugin. Both display their results within the job pages. They provide a history for as long as you retain the history of the job. I assume a tool like SonarQube would let you retain history indefinitely, rather than limiting it to the nu

jenkins and code analysis

2015-07-13 Thread Carlos Lucas
Hi, I would like to add an step on muy build that checks the source code for style, format and so on. Can you recommend me some tool or platform that works well and that can be integrated with jenkins? I am thinking about SonarQube, but maybe it there is something lighter ( sonar needs a DB, w

Re: Publish Over SSH after build failure

2015-07-13 Thread Barry Laffoy
I tried wrapping the Publish Over SSH post-build step with a Flexible-Publish conditional action set to always, but the same outcome results. I think that I may have to use scp from bash scripts to do my publishing, if Jenkins refuses to cooperate. On Mon, 13 Jul 2015 at 11:31 Barry Laffoy wrote

Publish Over SSH after build failure

2015-07-13 Thread Barry Laffoy
Hi I'd like to publish build artifacts from testing and linting jobs (XMLs, JSON) to an external server over SSH. To do this, I'm using the Publish Over SSH plugin. I have a problem though, in that if there are any testing or linting errors the build is marked as a failure. After this, Publish