How to call Maven in a freestyle project

2015-11-06 Thread Jirong Hu
As you can see the error below, mvn command is executed in the Maven installation path, but I specify the project as custom workspace in C:\OTPPB2015\Workspace\Maven\simple. Just want to do a simple demo so it's not in any source control system. How can I let Jenkins execute the mvn command i

Re: Ugrading a quite old Jenkins server version (1.564) to the latest (1.636)

2015-11-06 Thread James Nord
On 06/11/2015 18:49, jks3 wrote: Hi, While not a newbie to Jenkins, I am certainly a newbie to Jenkins admin and I've been handed the task of upgrading our Jenkins server from its current version of *1.564* to the latest, which, as of today, is *1.636*. Now, when someone else here attempted

Re: POLL parametrized branch name

2015-11-06 Thread Victor Martinez
Hi Franco, Poll is evil and must die!! [http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds-from-a-git-hook/] you might need to use the below plugin: - https://wiki.jenkins-ci.org/display/JENKINS/Gitlab+Hook+Plugin Cheers On Friday, 6 November 2015 10:55:22 UTC+1, Fr

Ugrading a quite old Jenkins server version (1.564) to the latest (1.636)

2015-11-06 Thread Victor Martinez
I didnt mention that 1.62x onwards require java 7+ in your slaves!! -- 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

Ugrading a quite old Jenkins server version (1.564) to the latest (1.636)

2015-11-06 Thread Victor Martinez
As you already mentioned the changelog is your key place, probably a LTS version might give you much stability. Some advice's: - UI upgrade from 1.574, so you might be affected if you use any custom theme. - You can backups the JENKINS_HOME and run a docker instance locally and test it before

Re: [workflow-plugin] Hack to unstash outside of a node block?

2015-11-06 Thread Brian Ray
Here's the hack. The example assumes I don't need the files as such in the main workflow, just the contents: def planNumberOne node('planners') { // ... // slurp up the file and pass it "outside" the block planNumberOne = readFile 'plans/plan_1' } // Lo and behold, the override sticks ba

Ugrading a quite old Jenkins server version (1.564) to the latest (1.636)

2015-11-06 Thread jks3
Hi, While not a newbie to Jenkins, I am certainly a newbie to Jenkins admin and I've been handed the task of upgrading our Jenkins server from its current version of *1.564* to the latest, which, as of today, is *1.636*. Now, when someone else here attempted this some time ago, they had issues

Re: Jenkins Hacksgiving 2015!

2015-11-06 Thread Alyssa Tong
+1. I think this is an excellent opportunity for all JAM organizers to push out (post) on their meetup page and see who is interested. This can be turned into a meetup meeting w/ drinks and food + hands on training. @ Tyler - perhaps send me the agenda/abstract, hangout info and i'll push it out t

Re: Jenkins consistenly going out of memory after a few days

2015-11-06 Thread MaQy
Sorry, I forgot to share my instance details: OS: [image: OS] Windows Server 2008 R2, Service Pack 1, amd64/64 (4 cores) Java: Java(TM) SE Runtime Environment, 1.7.0_79-b15 JVM: Java HotSpot(TM) 64-Bit Server VM, 24.79-b02, mixed mode Jenkins Version: 1.635 Server: [image: Server] jetty/winston

Jenkins consistenly going out of memory after a few days

2015-11-06 Thread MaQy
Hi, We have been suffering out of memory issues for some weeks now and we have no clue w

Re: Jenkins Hacksgiving 2015!

2015-11-06 Thread Victor Martinez
I do like that idea!! I'll ask in our first JAM in Barcelona if someone is interested. On Friday, 6 November 2015 17:53:42 UTC+1, R Tyler Croy wrote: > > More info here: < > https://wiki.jenkins-ci.org/display/JENKINS/Hacksgiving+2015> > > Slide-o-mix and I have been hashing out this idea to h

Jenkins Hacksgiving 2015!

2015-11-06 Thread R. Tyler Croy
More info here: Slide-o-mix and I have been hashing out this idea to host a virtual hackathon/un-conference event before Thanksgiving. Since lots of places have gaps in schedules around Thanksgiving, the Monday/Tuesday the week of tend

Display contents of a text file in the job main page

2015-11-06 Thread Nigel Robbins
Hi, In the job main page, I want to display the text in a file that has been generated in the build. The "Rich Text Publisher Plugin" allows me to do this but I have to refresh the page to get the latest file contents after the build has finished. Is there a way to automatically display the data

RE: Jenkins freaked out

2015-11-06 Thread Kevin Brown
I’m guessing it was the second option as we don’t do automated builds of code, but use Jenkins like a CRON service for our environment (scripts that clean up logs, perform maintenance on the database, back office work, etc…). The permissions we took away was basically yanking the Authorized_keys

Re: Jenkins Slave 1.555 config file

2015-11-06 Thread Daniel Beck
Part of $JENKINS_HOME/config.xml On 06.11.2015, at 14:47, Eric Naitove wrote: > To save hours and hours of time... Where in the work is the configuration > files for slaves on Jenkins 1.555. New Jenkins it's in a specific folder > BUT... > > -- > You received this message because you are s

Jenkins Slave 1.555 config file

2015-11-06 Thread Eric Naitove
To save hours and hours of time... Where in the work is the configuration files for slaves on Jenkins 1.555. New Jenkins it's in a specific folder BUT... -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and sto

RE: Jenkins freaked out

2015-11-06 Thread Jennifer Hofmeister
Hi, I can imagine two scenarios, that are Jenkins-unspecific: - You had a number of CMS commits after the outage (if this is possible on your systems), and once Jenkins was back up again, it polled all of them at once and thus ended up with a bulk of new builds, including several dif

Re: Plain credentials plugin disabled

2015-11-06 Thread Tom Fennelly
My guess is that this plugin is disabled + some plugins it depends on are disabled. You will not be allowed to enable that plugin until the plugins that it depends on are also enabled. It should tell you this. -- You received this message because you are subscribed to the Google Groups "Jenkin

Re: Plain credentials plugin disabled

2015-11-06 Thread Tom Fennelly
Can you provide a screenshot please? One that includes the list of dependants. On Thursday, November 5, 2015 at 5:46:13 PM UTC, Curtis Kline wrote: > > On Jenkins 1.635 I am trying to use the Plain Credentials plugin version > 1.1 to store an API token as a credential. However in the Plugin Mana

How to get number of aggregated test results from pararell jobs run from build flow dsl in same build flow DSL?

2015-11-06 Thread Jakub Gładykowski
Hi, I got this simple snippet of build flow job which schedules few hundred jobs to be run parallel on many nodes: jobs = build.environment.get("TEST_LIST").split(",") jobs_to_run = [] number_of_jobs = jobs.size() jobs.each { def job_name = it def closure = { build(job_name) } jo

Re: Unable to pass the excel file as parameter thru File Parameter.

2015-11-06 Thread Slide
Each run should have it's own workspace (unless you are setting a custom workspace). If you are setting a custom workspace, then you will have issues. On Thu, Nov 5, 2015 at 11:43 PM Narmadha Vigneshwaran < narmadha.vigneshwa...@gmail.com> wrote: > What will happen if multiple users want to build

Re: Integration Jenkins & BitBucket

2015-11-06 Thread Stefano Cognigni
Thanks, i've resolved with "Commit Message Trigger Plugin" Il 06/11/2015 00:47, Mark Waite ha scritto: > Your picture seems to show that you're not polling the repository. I'd > first test your sample job with a defined polling interval to confirm it > behaves as expected with a polling interval.

POLL parametrized branch name

2015-11-06 Thread Franco Giacosa
Hi all, I have the following issue: I have a job that only handles the release branches, so every time a release branch is created this job gets trigger to start building it, the problem is that the POLL from the gitlab repository is not working in this scenario, does anyone know how to make i

workflow shell commands on a freebsd host consistently fail

2015-11-06 Thread Nick Witkowski
Hello, I'm trying to test the workflow plugin on a freebsd node. The following fails consistently: node('freebsd10-slave') { sh "sleep 30" } Here is the output: Started by user Witkowski, Nicolas Running: Allocate node : Start Running on freebsd10-slave in /app/jenkins/workspace/cif-wo