RE: EXTERNAL: Build name setting

2013-03-22 Thread Ng, Jeff
Umesh, All you need to do is create a build step to write the string "product.version=YOUR-BUILD-NUM" to a file in the workspace (e.g. version.properties). From your original post, I assume you already have (or know how to write) a script/batch file to parse out the "builddate" from your text

Re: شاهد: الفيديو الذي أثار غضب إليسا/شاهد بالفيديو: كيف أوقفت نجوى كرم المعجب عند حدوده/شاهد كيف تقوم الدلافين بمساعدة دولفين مريض - فيديو/كاميرا خفية" أردني كاد أن يتسبب بمقتل الممثلين

2013-03-22 Thread Duncan McQueen
Is anyone in control of this mailing list anymore? 2013/3/22 James James : > الأعتداء على الفنانة السورية رغدة بسبب القائها قصيدة .. فيديو > > فيديو..وسام صباغ يرقص بالتنورة > > > > إيقاف لاعب مدى الحياة استخدم تحية هتلر بعد الهدف – فيديو > > > > شاهد: الفيديو الذي أثار غضب إليسا > > > > بالفيديو

Re: How can I post groovy scripts to execute through the jenkins remote api and get results back?

2013-03-22 Thread ogondza
> I never new about scriptText before, and even now after hearing it, I can't seem to easily find reference to it. Is it documented somewhere? I was not able to find any. I have updated [1] to document that. Feel free to update wherever necessary. [1] https://wiki.jenkins-ci.org/display/JENKINS

Using jenkins-cli.jar groovy . . . is there some cleaver way to pass parameters into the Groovy script?

2013-03-22 Thread Merrow, Frank
So I am using Jenkins-cli to execute a groovy script in my Jenkins servers . . . works great. Except now I want to pass that groovy script a parameter . . . Does someone have some cleaver way of passing data into the Groovy script? Frank -- You received this message because you are subscribed

envinject plugin evaluated groovy script: how do I print text to the console?

2013-03-22 Thread bl0ck3r
I tried: System.out.println("some text") println("some text") manager.listener.logger.println("some text") and none of them work. How do I print text to the console from the evaluated groovy script of the envinject plugin? Thanks. -- You received this message because you are subscribed to the

Re: How can I post groovy scripts to execute through the jenkins remote api and get results back?

2013-03-22 Thread Doug Lethin
Thanks *so* much. Your suggestion did indeed work. Here is what I did -- dlethin% curl -d "script=println new Date()" -X POST http://user:token@host/jenkins/scriptText Fri Mar 22 12:39:06 PDT 2013 I never new about scriptText before, and even now after hearing it, I can't seem to easily find

Re: How can I post groovy scripts to execute through the jenkins remote api and get results back?

2013-03-22 Thread ogondza
Hi, I managed to do the same thing using java -jar jenkins-cli.jar -s http://localhost:8080/ groovy. Using to post method it seems you must use the parameter name like so: curl -d "script=" http://localhost:8080/script. If you do not want the result to be html-decorated send your request to sc

Re: Any way to schedule a one time build?

2013-03-22 Thread Les Mikesell
On Fri, Mar 22, 2013 at 12:20 PM, Nathan Overbey wrote: > One of these days I'm going to have learn how to write a plugin > If you don't like cron syntax, why not use the rest interface to kick off a one-time build with the tool of your choice? -- Les Mikesell lesmikes...@gmail.com --

Re: Any way to schedule a one time build?

2013-03-22 Thread Nathan Overbey
One of these days I'm going to have learn how to write a plugin On Friday, March 22, 2013 1:16:44 PM UTC-4, William Soula wrote: > > See this thread: > > http://jenkins.361315.n4.nabble.com/Build-on-a-specific-date-time-trigger-td2542845.html > > From the thread: > For example, the setting "30

RE: EXTERNAL: Any way to schedule a one time build?

2013-03-22 Thread Ng, Jeff
Here's one way: In the "Build Triggers" section, select "Trigger builds remotely". You can name the Authentication Token something like "ONE_TIME_BUILD". Jenkins will display a URL that you can call to trigger the build. Then, you can trigger the build in many different ways (cron job, scri

Re: Any way to schedule a one time build?

2013-03-22 Thread Les Mikesell
On Fri, Mar 22, 2013 at 12:02 PM, Nathan Overbey wrote: > I know there's a cron type schedule with the option of "Build periodically". > However, I am hoping there is a way to schedule a build to run only one time > at a specified date/time. There is a button on the main page that is > labeled "S

Re: Build of first commit on git branch does not show changes

2013-03-22 Thread Nathan Overbey
This should be baked into the baseline Jenkins functionality. However here's a possible workaround: I have a similar issue with tfs plugin. It appears Jenkins does not list commit message in recent changes during the first build. However...There is a file called "changelog.xml" in the build

RE: Any way to schedule a one time build?

2013-03-22 Thread William Soula
See this thread: http://jenkins.361315.n4.nabble.com/Build-on-a-specific-date-time-trigger-td2542845.html >From the thread: For example, the setting "30 9 21 11 *", should trigger the build on November 21st, at 9.30 am. Will From: jenkinsci-users@googlegroups.com

Any way to schedule a one time build?

2013-03-22 Thread Nathan Overbey
I know there's a cron type schedule with the option of "Build periodically". However, I am hoping there is a way to schedule a build to run only one time at a specified date/time. There is a button on the main page that is labeled "Schedule Build" however that seems to just kick off a immedia

SSO authentication in Jenkins via RSA Cleartrust

2013-03-22 Thread mayhyr
Hi! Does anyone have an experience of configuring SSO authentication in Jenkins using RSA Cleartrust? Especially if it is based on Winstone (Tomcat is interesting too)? Thanks, Nickolay -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsu

How can I post groovy scripts to execute through the jenkins remote api and get results back?

2013-03-22 Thread Doug Lethin
Wondering if someone has experience in this area and can help me. I would like to post groovy scripts to run via the jenkins remote API. It seems like it's possible based on this blog entry: http://blog.cloudbees.com/2012/01/writing-programs-that-drive-jenkins.html "One is the REST API access

Jenkins and Maven and Nexus, oh my!

2013-03-22 Thread frankgrimes97
Hi All, I'm new to Jenkins and would like a little advice on how best to build, promote, tag and release maven projects that we have in Git. For re-usable library components, I envision the following: Library projects follow the normal Maven major.minor.version-SNAPSHOT versioning scheme.

grammos in help text

2013-03-22 Thread Jens Schweikhardt
hello, world\n Jenkins 1.506, under Jenkins>configuration>Restrict Project Naming s/user the choose/user to choose/ s/until the name confirms/until the name conforms/ Jens -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from t

Re: Securing jenkins on tomcat/ubunto fails, only getting destroyed looking login page

2013-03-22 Thread Bukama
Thank you! I didn't read that with full attention. Problem solved :) Am 22.03.2013 11:53, schrieb Richard Lavoie: What's defined in the autorization section ? I guess "anyone can do anything" ? You have to set the autorization properly for your users. If you only have a single users, you can s

Re: Securing jenkins on tomcat/ubunto fails, only getting destroyed looking login page

2013-03-22 Thread Richard Lavoie
What's defined in the autorization section ? I guess "anyone can do anything" ? You have to set the autorization properly for your users. If you only have a single users, you can set it to "logged in users ca do anything" but I doubt you'll end up with a single user. Look at those option, matrix

Re: Securing jenkins on tomcat/ubunto fails, only getting destroyed looking login page

2013-03-22 Thread Bukama
Hi, thank you now the "broken" loginpage has gone. I enabled secutiry and selected the "delegate to servlet container" unter "confgure global security" and saved and applied the settings. When I reload the page the options are correctly set so I assume they are stored. But I can still access

Re: Securing jenkins on tomcat/ubunto fails, only getting destroyed looking login page

2013-03-22 Thread Richard Lavoie
Change back the web-ressource-collection-url setting, restart tomcat, go to jenkins, manage jenkins, configure system, enable security and change security realm to "delegate to servlet container". By default security is disabled in jenkins. On 2013-03-22, at 03:41, Bukama wrote: > Hi everybod

SharedObjects Plugin

2013-03-22 Thread meng . zhaoxing1
Hi everybody, Now I want to set "file:///d:/test/test.properties" on "A URL to a properties file" , exception: [ERROR] - SEVERE ERROR occurs: java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection -

Securing jenkins on tomcat/ubunto fails, only getting destroyed looking login page

2013-03-22 Thread Bukama
Hi everybody, this is my first time I'm trying to configure an ubunto/jenkins server. I got a nacked ubuntosystem where I installed * JAVA7 * Tomcat7 * Jenkins As described on https://wiki.jenkins-ci.org/display/JENKINS/Tomcat I deleted the predefined ROOT-directoy unter /var/lib/tomcat7/webapp