Re: Build Duration Information

2015-09-30 Thread Victor Martinez
Hi Eric, Can you explain further? Cheers On Wednesday, 30 September 2015 20:02:47 UTC+2, Eric Naitove wrote: > > I at some time via Groovy or the API obtained a list of all my jabos and > the run tines as follows > > GwInt202DeployTomcatCc 8 min 54 sec - #1352 > > It was a large list that I

Problem in using jenkins

2015-09-30 Thread solidparallel2630
Hi All, I am new to jenkins and it may be dumb question but i am hitting one issue as folllow: I have installed Jenkins on my system and after installing I am facing some problems. 1. I have installed all required plugins and I have github account as well. But How do I add my python script

Build Duration Information

2015-09-30 Thread Eric Naitove
I at some time via Groovy or the API obtained a list of all my jabos and the run tines as follows GwInt202DeployTomcatCc 8 min 54 sec - #1352 It was a large list that I cleaned up grabbing the last build (meaning the entry above had several hundred lines. I kept the last one in an Excel

JIRA-Plugin: Problem with SVN-Externals

2015-09-30 Thread Dieter Guthmann
Hi, we use Jenkins-CI with a SVN post commit hook script as build trigger. Our SVN repositories uses heavily "SVN externals" for 'importing' independent modules into other repositories. So a build can be triggered by a commit onto the original project-repository or by a commit at one of the

Re: Combining Maven Repository Server Plugin and CloudBees Folders Plugin

2015-09-30 Thread Nick Stolwijk
I'm sorry I make you feel like a sad panda. :( Would you set me on the right way as I'm just a young padawan on the road to enlightment. ;) With regards, Nick On 29 Sep 2015 22:27, "Stephen Connolly" wrote: > All this talk of the evil job type and the JobDSL

Re: Building a sample HelloWorld.java using Jenkins

2015-09-30 Thread ajith . kumsi
Any help regarding this post? On Tuesday, September 29, 2015 at 3:55:24 PM UTC+5:30, ajith...@gmail.com wrote: > > Hi, > > I am using Jenkins Software for building my HelloWorld.java code. > > I can see that it shows Build success, but no .class files got generated. > > I have followed the below

Aw: JIRA-Plugin: Problem with SVN-Externals

2015-09-30 Thread d . guthmann
Additional Information: We use currently Jenkins vers. 1.509.4 with the "Jenkins JIRA plugin" V. 1.39   -- 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

Re: Building a sample HelloWorld.java using Jenkins

2015-09-30 Thread Victor Martinez
Hi there, As far as I see your use case won't work without adding some further build steps. BuildNow button doesn't mean it will compile your java code unless you add your javac command. Build Now button means it will execute the job and will run whatever you define within your Jenkins job.

Re: Build Duration Information

2015-09-30 Thread Eric Naitove
Using something like /api/xml?tree=jobs[name,url]=true OR /api/xml?tree=jobs[name,builds[number,actions[parameters[name,value=true ETC. Can I get an out put of jobs with lastBuild duration in HOURS/MINUTES I can convert in Excel BUT it doesn't match with Jenkins AND management being

Re: Build Duration Information

2015-09-30 Thread Benjamin Lau
This formula isn't perfect but it'll convert a jenkins duration into a human readable time[1]. =IF(INT(1/8640*A3)=0, "",INT(1/8640*A3) &" day, ") & IF(INT(MOD(A3,8640)/360)=0,"", INT(MOD(A3,8640)/360) & " hr, ") & IF(INT(MOD(A3,360)/6)=0,"",

Re: Building a sample HelloWorld.java using Jenkins

2015-09-30 Thread Nayan Jyoti Gogoi
Hi, As per your query it is seen that you are not using any build tool,first you have install a build tool and accordingly have to set the environment path to that machine,and then you have define required targets there,for example you want to compile your .java program and put class files in

Re: Combining Maven Repository Server Plugin and CloudBees Folders Plugin

2015-09-30 Thread Nigel Magnay
I'll describe my use-case (which led to MRSP), and maybe that'll help. We do CI builds on every check-in (actually more complicated than that as we only have pre-tested commits). We have 'customer' projects that use these artifacts. We don't want to build the 'customer' projects at the same

Re: Combining Maven Repository Server Plugin and CloudBees Folders Plugin

2015-09-30 Thread Stephen Connolly
So the JobDSL plugin requires that you have a specific view on the security model of your Jenkins instance (i.e. only administrators can explicitly create/configure jobs, all other users get jobs created / updated via the JobDSL using scripts managed by administrators) A large chunk of

Re: When editing a script in a Jenkins text area -- has anyone looked into having language aware editors be enabled

2015-09-30 Thread Maciej Jaros
Rinaldo DiGiorgio (2015-09-21 22:37): Has anyone tried to enable javascript based language editors for all the times one can enter code in a Jenkins text area. I prefer to use SCM systems but the turn around time for that is too slow when doing development. It would be a big productivity boost

Re: Combining Maven Repository Server Plugin and CloudBees Folders Plugin

2015-09-30 Thread Nick Stolwijk
That sounds like our usecase. We have a shared component-tree (ComponentA), which we use in different projects. Some of these projects depend on a released version of the ComponentA and others on a SNAPSHOT version. We are now looking for a Jenkins process, that when there is a commit to

Re: Combining Maven Repository Server Plugin and CloudBees Folders Plugin

2015-09-30 Thread Stephen Connolly
On 30 September 2015 at 12:10, Nick Stolwijk wrote: > > For the JobDSL, we have a small department and everyone with a login can > create jobs and security is not the issue. I like the way it circumvents the > copy-paste way of maintaining jobs. > Like I said, the plugin

Script executed. The exit code is 255.

2015-09-30 Thread Nayan Jyoti Gogoi
Hi All, I am executing a shell script using jenkins on a hpux machine. It goes like this. -- set +e set +x #!/bin/sh cd /tmp/ rm -rf bc_env.txt echo "SANDBOX:${sandbox}" >> /tmp/bc_env.txt echo "SERVER:${aquarius}" >>

Re: Build Duration Information

2015-09-30 Thread Victor Martinez
Hi Eric, I recommend you to use another approach via Groovy API then you can run your script easily via your jenkins script console url: /script (https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console) Important javadoc references: -

thinBackup target directory specified to slave?

2015-09-30 Thread Aneesh Sampath
Hi, I am using the thinBackup plugin to backup the Jenkins config. In the option where I can specify a directory, is it only possible to choose a location within the Jenkins master? I have a Jenkins slave windows remote desktop that I would like to have the backups in (and I will move it from

Re: Send Verified vote to Gerrit when using Workflow plugin?

2015-09-30 Thread Travis Newhouse
On Tuesday, September 29, 2015 at 9:02:56 PM UTC-7, Travis Newhouse wrote: > > I have defined a job using Workflow plugin. I have configured the job to > be triggered on events from the Gerrit Trigger plugin. The job notifies > Gerrit when the job is starting and records a message in the

Re: Problem in using jenkins

2015-09-30 Thread Michael Neale
There are a few things in that question - but lets stick to the war bit. Jenkins won't build a war directly from source, something like maven would be needed to be setup to build the war, so that is probably what you want to look up. As for python - do you mean you have some python script

Re: Problem in using jenkins

2015-09-30 Thread veer verma
Hi, Thanks for your reply. Actually i have python script that i want jenkins to pick that script and perform the build. But I dont know where in which location i can put my script so that jenkins will pick that script. Thanks Veer On Oct 1, 2015 4:23 AM, "Michael Neale"

Groovy post step

2015-09-30 Thread Niksan
Anyone know what this is? org.codehaus.groovy.runtime.DefaultGroovyMethods$7@1bdb2d5 I'm trying to iterate through a regex matcher and having no joy at all. Or is there a better way of being able to access the results from a regex matcher, I've tried using .collect() and lots of other

Re: Getting a build step error code

2015-09-30 Thread Niksan
I resorted to using a bit of regex. *shudder* :) -- 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

Re: Merging git branches to master using Jenkins

2015-09-30 Thread milki milk
Under Advanced Features in https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin, the docs talk about pre-build branch merging. You can specify the merge type as well - ff, or no-ff. By default, the plugin makes a new tag. As a post-build tag, you can then push the branch and tag back to the

Merging git branches to master using Jenkins

2015-09-30 Thread Alex Brodov
I want to create a modular process which will merge the "devel" branch upon each successful build to the master branch, and it will also create a tag. Is there any way to do it using Jenkins and Git plugin rather than writing code. If yes, is there any option to provide Git plugin the