Re: Mirror Sites

2015-02-23 Thread Mohamed Sathack
As of now, I am downloading those plugins via my windows hosted jenkins and then moving the plugin folder and the .jpi file to /var/lib/jenkins/plugins folder. After that I am doing chown jenkins:jenkins On Tuesday, 24 February 2015 12:51:15 UTC+5:30, Mohamed Sathack wrote: > > Hi, > > I have

Mirror Sites

2015-02-23 Thread Mohamed Sathack
Hi, I have installed Jenkins in our Linux server which is running with Red Hat OS. I followed the below link for Installation steps https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributions And now I am trying to install the plugins via Browser. But it is failed wi

config.xml not present in Linux based installation

2015-02-23 Thread Mohamed Sathack
Hi, I have installed the Jenkins in Linux machine by going through https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributions ? Now I am trying to create users. But before to do this task, I need to know where I can find config.xml I am searching for this file unde

Re: Jenkins CI setup on RedHat machine

2015-02-23 Thread Richard Bywater
I'm confused that, given you have Internet access to download things, why you can't connect your machine to a DNS server which would solve a whole bunch of your pain. Richard. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

Re: jenkins - findbugs and java 1.8

2015-02-23 Thread Ulli Hafner
Actually the Jenkins plug-in does not run the analysis, the plug-in just displays the results. So it works with findbugs 3.x since the xml file format did not change from 2.x to 3.x. It just cannot display warnings descriptions for bug detectors that have been introduced in 3.x. > Am 23.02.2015

How do I get multi-branch builds into the build history?

2015-02-23 Thread John Mellor
I'm making extensive use of the multi-branch plugin in order to build both dev and release branches of various projects. For the most part, this works quite well, although there are some parts of the project which do not

Re: Not possible to upgrade jenkins from 1.565.3 LTS to later from GUI

2015-02-23 Thread Muhammad Faizan-Ul-Haq
Thanks for replying. I think I will have to do something similar. On Saturday, February 21, 2015 at 12:45:36 PM UTC+1, Ioannis Moutsatsos wrote: > > Run into the same problem. > Eventually, I downloaded and replaced the jenkins.war file with a newer > version from 'latest and greatest' (or fro

Re: Learning Jenkins Groovy with Jenkins API

2015-02-23 Thread Les Mikesell
On Mon, Feb 23, 2015 at 9:19 AM, Sverre Moe wrote: > Found the example on the web. Much of the Groovy examples I have seen > entailed using the Jenkins Remote API. I want to use the Jenkins API, > running the Groovy script inside jenkins. > > Haven't found any example how to get the build process.

RE: sudo: no tty present and no askpass program specified

2015-02-23 Thread John Mellor
Sudo by default assumes that you have an interactive session. Under Jenkins, you do not. To change this assumption, add the following line to your /etc/sudoers file: Defaults!requiretty Don’t forget to also change the sudo permissions for the Jenkins user to not require a password to

Re: sudo: no tty present and no askpass program specified

2015-02-23 Thread Vincent Latombe
Hi, you should google for "sudo prompt" and read the first link ;) Vincent 2015-02-23 14:49 GMT+01:00 Rupa Lahiri : > I want to execute sudo service tomcat7 stop and sudo service tomcat7 start > in shell script > > I get - sudo: no tty present and no askpass program specified > What should I do

Re: Basic questions

2015-02-23 Thread Baptiste Mathus
Hi, https://wiki.jenkins-ci.org/display/JENKINS/Monitoring+external+jobs Note: having a "machine" to do what you describe is generally not what's seen. It's more the other way round: you create freestyle job(s), or workflow, that will run on a slave matching your criteria. Or even have Jenkins ins

jenkins integrated with tfs! issue after tf get

2015-02-23 Thread Jcun
Dear all, the tf get command seems to work during the build i see "All file are up to date" But after I get FATAL: The server * failed to respond com.microsoft.tfs.core.exceptions.TECoreException

Basic questions

2015-02-23 Thread Robert Daniels
I have an external machine which automatically runs unit tests and would like to 'push' the unit test + code coverage reports to Jenkins. What are the mechanics of doing this? Secondly, what are the steps to have Jenkins fire off this process on the external machine? -- You received this mes

Re: automated deletion of workspaces

2015-02-23 Thread Baptiste Mathus
FWIW, if you're using the WS cleanup plugin, I found that old java-like :-) groovy script in our internal housekeeping repo: import hudson.model.* import hudson.tasks.* import hudson.plugins.emailext.* import hudson.triggers.* import hudson.maven.* import hudson.model.FreeStyleProject; import huds

Re: automated deletion of workspaces

2015-02-23 Thread Baptiste Mathus
Which one, please be a bit more specific. 2015-02-23 14:55 GMT+01:00 David Shaw : > Digging up an old post but does anyone know how I can enable the checkbox > via groovy? > > I've got thousands of jobs that need this setting > > Thanks > > Dave > > -- > You received this message because you

Re: Groovy build script: What triggered the build

2015-02-23 Thread Baptiste Mathus
Basically groovy script are just like java code with syntactical sugar. I mean if you find the Jenkins api you want to use, doing it in groovy is generally very very easy. In your case the "hardest" part is getting hold onto the current build reference in a system groovy script in a build step. The

Re: jenkins - findbugs and java 1.8

2015-02-23 Thread Baptiste Mathus
IIRC has java 8 requires FindBugs3. So the answer would be no: https://github.com/jenkinsci/findbugs-plugin/blob/master/library/pom.xml#L25 But maybe Ulli will give a different/more complete answer as the maintainer. HTH Cheers Le 23 févr. 2015 14:17, "Stéphane TALLARD" a écrit : > Hi guys , >

Workflow Plugin - Performing a Release

2015-02-23 Thread RM
Hi, I recently started toying with the workflow plugin to script a build release. When i try to run the script, the release fails because the release plugin complains of untracked files. I have the same set of plugins running and working fine in a tradiitional job set up. My set up ---

Re: Deadlock running out of executors waiting on subjobs via parameterized trigger plugin

2015-02-23 Thread Brent Scriver
I was hoping to avoid having to create new workspaces and add archiving and restoring artifacts as it is gigs of data (sadly even incrementals), especially since C & D are relatively small and fast in comparison. With the locks though that would prevent them from running concurrently unnecessarily

Re: Learning Jenkins Groovy with Jenkins API

2015-02-23 Thread Sverre Moe
Found the example on the web. Much of the Groovy examples I have seen entailed using the Jenkins Remote API. I want to use the Jenkins API, running the Groovy script inside jenkins. Haven't found any example how to get the build process. def build = jenkins.build (or whatever the access class/me

RE: Learning Jenkins Groovy with Jenkins API

2015-02-23 Thread Rob Mandeville
This is definitely a Groovy question, not a Jenkins question. I’d expect the same thing if you ran it at the command line. But I won’t send you away empty-handed. The doc I’ve seen for Thread is: http://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html (java) http://groovy.codehaus.org/gr

Re: Learning Jenkins Groovy with Jenkins API

2015-02-23 Thread Sverre Moe
Forgot to mention the error message I got while running the Groovy script in my build process: Caught: groovy.lang.MissingPropertyException: No such property: executable for class: java.lang.Thread groovy.lang.MissingPropertyException: No such property: executable for class: java.lang.Thread

Learning Jenkins Groovy with Jenkins API

2015-02-23 Thread Sverre Moe
I am trying to learn Groovy and using it in a Jenkins build script. So far I have run some simple groovy in the script console to Jenkins. http://jenkins:8080/script Have tried a simple Groovy script for listing all environment variables, cut'n'paste code from some examples on the web. Tried to

Re: automated deletion of workspaces

2015-02-23 Thread David Shaw
Digging up an old post but does anyone know how I can enable the checkbox via groovy? I've got thousands of jobs that need this setting Thanks Dave -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Jenkins with c#

2015-02-23 Thread Mahender Tirumala
HI, can you please let me know the process to execute c# console applications i have added the vstest.console.exe, but could not execute getting below errror Error: Could not find a test logger with URI or FriendlyName 'trx'. Build step 'Run unit tests with VSTest.console' marked build as failure

sudo: no tty present and no askpass program specified

2015-02-23 Thread Rupa Lahiri
I want to execute sudo service tomcat7 stop and sudo service tomcat7 start in shell script I get - sudo: no tty present and no askpass program specified What should I do to overcome this? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To un

Deploying war file to tomcat7 taking too long

2015-02-23 Thread MathiManoj
Hi, I am a newbee to jenkins. I am using deploy war/ear container plugin in jenkins to deploy my war file to tomcat7 which is on the same local machine. When i click on build now build completed successfully but the tomcat7 running for long ( 30 min) to reflect the changes on the site. Please

deploy and start application on remote machine?

2015-02-23 Thread Kristian Rink
Hi all; our environment includes jenkins taking care of building a bunch of (dropwizard/micro-service-style) applications that are essentially jars packaged using maven assembly plugins which get built and deployed to a local maven repository. I am into considering whether build automation can

jenkins - findbugs and java 1.8

2015-02-23 Thread Stéphane TALLARD
Hi guys , Do you know if there is a way to analyse java 1.8 class files with the findbugs plugin under jenkins ? The plugin page (https://wiki.jenkins-ci.org/display/JENKINS/FindBugs+Plugin) doesn't tell anything about that. I have been browsing the archive without finding anything on t

Re: Groovy build script: What triggered the build

2015-02-23 Thread Sverre Moe
It seems also like there is access to the build cause in the Jenkins API. http://javadoc.jenkins-ci.org/hudson/model/Cause.html So instead of accessing an environment variable, I could instead access it programmatically in my Groovy build script. Trying to find any groovy script examples using C

Re: Jenkins support for uploading multiple files

2015-02-23 Thread Ioannis Moutsatsos
@les_mikelsell Thanks for the feedback. Very good point you are making about considering reuse patterns. In our corporate environment (where the images are actually reused) this is already working well using a network accessible file-share. Our automated microscopes write to this shared space

Re: Unable to get Jenkins to start on MacOS-X 10.10 Yosemite

2015-02-23 Thread Miguel Garcia Ibañez
It solved my problem as well... Thanks a lot El domingo, 1 de febrero de 2015, 11:40:43 (UTC+1), 90mi...@gmail.com escribió: > > That solved my problem, thanks a lot Robin!! > > On Monday, October 20, 2014 at 3:43:52 PM UTC+3, Robin Mills wrote: >> >> The final bit of the jigsaw was correctly ind

Re: Jenkins CI setup on RedHat machine

2015-02-23 Thread Mohamed Sathack
Hi All, Kindly ignore my earlier response. Since I am a newbie to Linux, I am posting many things as a queries. After posting my earlier response, I tried with "*wget*" and understand that it is being redirected to some other mirror server(closest to my geography) which is not configured in the

Not able to send Jenkins mails using office365

2015-02-23 Thread Swapnil Kotwal
I have configured Jenkins mails using office365 and also have added following params (i have win 8.1 , 64 bit machine and mapped myip localhost in host file) -Xrs -Xmx256m -Dmail.smtp.starttls.enable=true -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --