Re: Gradle Artifactory Integration with Jenkins Job DSL

2015-04-28 Thread sravan bala
I got the some problem. I passed through this error by giving artifactory name, the numbered name. Just create a fake job/ or check already existing config.xml`s "artifactory-name" tag for a job. You will find the name with numbers(eg:16789834@566678). If you give that, ur parameters are being s

Publishing a single javadoc from a multiconfiguration/matrix job

2015-04-28 Thread Kevin Moody
Hi All, So, this is a little bit weird, but we have a multi-language, multi-platform build. It is run in Jenkins via one multi-configuration job, with 10 different configurations. Unfortunately, some platform-independent pieces, such as jars and javadocs, are being built on every single conf

Re: Bug Publish over SSH

2015-04-28 Thread Jeff
This might be an ignorant question but why are you using the "Publish over SSH" plugin instead of the "SSH plugin"? https://wiki.jenkins-ci.org/display/JENKINS/SSH+plugin On Tue, Apr 28, 2015 at 3:16 PM, Erick Macedo wrote: > Hi, > > The user I am connecting is the correct user, not root. > > Ar

Re: Bug Publish over SSH

2015-04-28 Thread Erick Macedo
Hi, The user I am connecting is the correct user, not root. Are you referring to .bashrc the right remote machine? Is remote machine is a Ubuntu and the .bashrc is so. # JAVA export JAVA_HOME = / usr / lib / jvm / java-8-oracle # MAVEN export MAVEN_HOME = / usr / local / apache-maven-3.2.5 exp

Re: Help! [workflow-plugin] is stuck forever, persists through restarts

2015-04-28 Thread Anshu Arya
Workaround here worked: https://issues.jenkins-ci.org/browse/JENKINS-25550 It required appending "doDelete" to end of build URL and then killing and restarting Jenkins -- just trying to restart Jenkins normally still resulted in a hang! On Tue, Apr 28, 2015 at 1:45 PM, Anshu Arya wrote: > A wor

Re: Bug Publish over SSH

2015-04-28 Thread Richard Bywater
To that effect, check your .bashrc as on Debian, for instance, one of the first things it does it not run anything in .bashrc if not starting as an interactive process. Richard. On Wed, 29 Apr 2015 at 08:41 Slide wrote: > It works as the user that you are connecting as? Is there anything in the

Re: Bug Publish over SSH

2015-04-28 Thread Slide
It works as the user that you are connecting as? Is there anything in the .bashrc that would set the path to mvn? Perhaps the Publish Over SSH doesn't run in such a way that the .bashrc file is loaded? Check into these things. On Tue, Apr 28, 2015 at 1:19 PM Erick Macedo wrote: > I can not under

Re: Bug Publish over SSH

2015-04-28 Thread Erick Macedo
I can not understand this behavior. In Exec command: cd test / build-38 / project && ls && echo $ M2 && mvn -v This command does the following: 1 - cd test / build-38 / project (in this directory on the remote server) 2 - ls (list the remote server content) 3 - echo $ M2 (Prints $ M2 LOCAL serve

Bug Publish over SSH

2015-04-28 Thread Erick Macedo
Hi, I'm using the plugin Publish over SSH to run a remote command maven on a linux machine with properly configured maven. However when running mvn command is generated an error "bash: mvn: command not found". The plugin is properly connecting the remote machine, as for testing in the "Exec c

Re: Jenkins 1.607 - Environment Variables Stuck

2015-04-28 Thread Varun Jain
Hi Jennifer, I'll test out the restarting master node in on Thursday and post the results... but I feel that Simon and I are having the same issue here. Thanks for the quick replies! VJ On Tuesday, April 28, 2015 at 2:56:23 AM UTC-7, Jennifer Hofmeister wrote: > > Hi VJ, > Hi Simon, > > Just

Re: How to perform distributed tests on available Jenkins nodes?

2015-04-28 Thread Victoria Wei Lei
Nice, I will try it. Thank you so much, Mark. Victoria On Tue, Apr 28, 2015 at 11:10 AM, Mark Waite wrote: > I use the elastic axis plugin to define a multi configuration job which > runs a single job on all available slaves. The platform labeler plugin > makes platform selection easier with th

Getting Last promoted build number

2015-04-28 Thread zippo7061
I was trying the get the last successful build that was promoted (promotion plugin) into a specific environment out of Jenkins, but not sure how. Gain, not looking for Build Number, but for the build# that was promoted. Ran into some success using the xml/api, but this quickly ended as it doe

Re: How to perform distributed tests on available Jenkins nodes?

2015-04-28 Thread Mark Waite
I use the elastic axis plugin to define a multi configuration job which runs a single job on all available slaves. The platform labeler plugin makes platform selection easier with the elastic axis plugin. Mark Waite On Tue, Apr 28, 2015, 9:23 AM Victoria Wei Lei wrote: > For every nightly SW bu

Re: Run tests on another machine

2015-04-28 Thread Erick Macedo
Hi , again thanks for the help. When you talk master and slave, the Master is a server installed Jenkins and the Slave any other server (even without the installed jenkins)? More to the point, Maven has been configured on another server before the connection then I do not believe that this is t

How to perform distributed tests on available Jenkins nodes?

2015-04-28 Thread Victoria Wei Lei
For every nightly SW build, I want it to be tested on available testing systems. I created Jenkins slaves for these system, and listen to the completion of Jenkins build. I am trying to use Node label Parameter plugin to trigger test on particular system, ideally Jenkins can find whichever a

Re: Jenkins 1.607 - Environment Variables Stuck

2015-04-28 Thread Simon Richter
Hi Jennifer, > Just to sum it up… whatever process runs as a service will only load new env values when restarted. That is expected behaviour, yes. > The JNLP and JNLP command line options are spawned from the Jenkins master service, so you’ll want to restart that one after changing your envs so

Re: Run tests on another machine

2015-04-28 Thread Simon Richter
Hi, Am 28.04.2015 um 16:30 schrieb Mark Waite: > Usually that would mean that the PATH on your Windows machine does not > include the maven bin directory. There is a bit of a problem right now with the master overwriting the environment of slaves with an old snapshot of the environment variables

1.611 not offered for update

2015-04-28 Thread Matthew.Webber
According to the Jenkins changelog http://jenkins-ci.org/changelog, Jenkins 1.611 has been out for a few days now. However, my Jenkins is only offering me an upgrade to 1.610 (I'm currently on 1.609). Going to http:///pluginManager/advanced and hitting "Check Now" makes no difference. Does some

Re: Run tests on another machine

2015-04-28 Thread Erick Macedo
Mark, this test I am running on another linux machine, but when work will move to a Windowns. Maven is configured correctly, if I go in and finish typing mvn -va version is displayed correctly. On the tips of staff I understand that, to have a Slaves I would have to have another server instal

Re: Run tests on another machine

2015-04-28 Thread Mark Waite
Usually that would mean that the PATH on your Windows machine does not include the maven bin directory. On Tue, Apr 28, 2015 at 7:25 AM Erick Macedo wrote: > First, thank you for personal help. > > I'm trying to configure it with the plugin "Send files or execute commands > over SSH" > > In Exec

Re: Run tests on another machine

2015-04-28 Thread Erick Macedo
First, thank you for personal help. I'm trying to configure it with the plugin "Send files or execute commands over SSH" In Exec command, I am entering something like: cd test / project-1 && mvn install But this error happens on linux SSH: Connecting from host [web.buy] SSH: Connecting with c

Re: Run tests on another machine

2015-04-28 Thread Simon Richter
Hi, Am 28.04.2015 um 15:54 schrieb Fred G: > 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. It is also possible to install it as a service, however you have to go into the ser

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

Re: Run tests on another machine

2015-04-28 Thread Mark Waite
With Jenkins it is easiest to add a slave on the target platform, then restrict the job to that slave. For greater flexibility, you can assign a label to the slave and restrict the job by label. For even more flexibility, there are plugins that will automatically assign labels by platform or by ins

Re: HTTPS Subversion 1.7 and Jenkins - issuer not trusted

2015-04-28 Thread Sreekumar R
Adam Retter writes: > > > > Hi Jan, > > Thanks for your reply I have finally solved this, unfortunately it was not as simple as I hoped (probably due to the fact our platform is on Windows Server). > > The point you raised below, gave me a good hint - > Run a simply svn command like list/i

Run tests on another machine

2015-04-28 Thread Erick Macedo
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

Re: HTTPS Subversion 1.7 and Jenkins - issuer not trusted

2015-04-28 Thread Sreekumar R
Adam Retter writes: > > > > Hi Jan, > > Thanks for your reply I have finally solved this, unfortunately it was not as simple as I hoped (probably due to the fact our platform is on Windows Server). > > The point you raised below, gave me a good hint - > Run a simply svn command like list/i

RE: Jenkins 1.607 - Environment Variables Stuck

2015-04-28 Thread Jennifer Hofmeister
Hi VJ, Hi Simon, Just to sum it up… whatever process runs as a service will only load new env values when restarted. The JNLP and JNLP command line options are spawned from the Jenkins master service, so you’ll want to restart that one after changing your envs so it can pick up new values and