Re: SharedObjects Plugin

2013-04-14 Thread Grégory Boissinot
The option 'A URL to a properties file' is restricted to HTTP. >From shared-objects 0.44, I renamed to 'An Http URL' and I added a 'public file path to a properties file' option. On Fri, Mar 22, 2013 at 9:54 AM, wrote: > Hi everybody, > > > Now I want to set "file:///d:/test/test.properties

Re: Jenkins ScriptTrigger plugin stopped working by default

2013-04-14 Thread Grégory Boissinot
I don't think so. On Sun, Apr 14, 2013 at 11:54 AM, Eldad A.K. wrote: > Isn't it the same as: https://issues.jenkins-ci.org/browse/JENKINS-17566 ? > > Eldad > > > On Sun, Apr 14, 2013 at 12:03 PM, Grégory Boissinot < > gregory.boissi...@gmail.com> wrote:

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

2013-04-14 Thread Grégory Boissinot
The log is displayed in the Jenkins log. >From EnvInject 1.84, I added an 'out' variable. out << "Some text" or out.println("Some text") On Fri, Mar 22, 2013 at 9:04 PM, bl0ck3r wrote: > I tried: > System.out.println("some text") > println("some text") > manager.listener.logger.println("some

Re: Jenkins ScriptTrigger plugin stopped working by default

2013-04-14 Thread Grégory Boissinot
Please raise a new issue for the script-trigger component On Sat, Apr 13, 2013 at 10:17 AM, EldadAK wrote: > I have a strange behavior by my Jenkins and the > ScriptTrigger > plugin. > > I have Jenkins 1.510 with the latest ver

Re: How to add attachments to the build results?

2013-03-11 Thread Grégory Boissinot
Jenkins enables you to archive some build artifacts. All archived artifacts will be stored in JENKINS_HOME attached to the current build. There is also the ArtifactDeployer plugin for deploying some build outputs to remote locations and make a link to the couple build/deployed artifacts. Does it s

Re: How to publish artifacts which will be still available via links on Jenkins?

2012-12-22 Thread Grégory Boissinot
ArtifactDeployer Jenkins plugin (https://wiki.jenkins-ci.org/display/JENKINS/ArtifactDeployer+Plugin) should resolve your issue. On Thu, Dec 13, 2012 at 7:39 AM, zakyn wrote: > Hello, > > I have this situation. I have limited space on VM so I have to move the > results(artifacts) to the another v

Re: Export of cppcheck charts

2012-12-22 Thread Grégory Boissinot
You are able to gather Cppcheck result information for a specific buid with the following URL http:///job///cppcheckResult/api/xml Getting Cppcheck statistic for all builds seems to be no sense. Maybe you want to access the cppcheck result from the last budild, accessing with the following URL htt

Re: EnvInject Access to Manager

2012-12-21 Thread Grégory Boissinot
>From EnvInject 1.75, you are able to use currentJob and currentBuild variables in order to access respectively to Job and Run instances. On Wed, Dec 19, 2012 at 3:58 PM, Matt Felzani wrote: > Hi, > > I'm trying to use the EnvInject plugin. Specifically in the "Prepare an > environment for the ru

Re: Jenkins job with variables

2012-10-28 Thread Grégory Boissinot
Think about if you want to have the ability to change the value when you schedule a build manually. If yes, Parameterized plugin suit you. However, if it is not the case, EnvInject plugin can meet your needs. On Wed, Oct 24, 2012 at 5:55 PM, William Soula < william.so...@drillinginfo.com> wrote:

Re: environment variables for 'Execute shell' steps in Jenkins jobs

2012-10-28 Thread Grégory Boissinot
If you want to add environment variables to the Tomcat process, please refer to the Tomcat documentation (there are several ways to achieve it). If you want Jenkins to control environment variables, it is natively available in Jenkins. In addition, EnvInject Jenkins plugin is able to set environmen

Re: how to handle C# project dependencies

2012-10-07 Thread Grégory Boissinot
MSBuild Plugin is only a wizard in order to help to configure the MSBuild tool. Your issue relies on the MSBuild tool. Try to capture the generated command line generated by Jenkins (with all arguments) and launch this command in shell for trying to debug it. However according the log, 'LimeUtiliti

Re: Build a Project based on a criteria

2012-09-23 Thread Grégory Boissinot
An other approach could be to configure these other projects to schedule a new build if the response from a URL call has changed from the previous response. This behavior enables you to poll URLs with a 2-hour period. URLTrigger Jenkins plugin can achieve this feature. On Fri, Sep 7, 2012 at 6:47

Re: BuildFlow + EnvInject: prepare env script not executed

2012-09-02 Thread Grégory Boissinot
The issue is related to the build-flow plugin. It doesn't take care of EnvInject plugin. On Mon, Aug 13, 2012 at 11:27 AM, nluetic wrote: > Hello, > > I want to create a pipeline of jobs, that share a set of environment > variables, set depending on a parameter. > > So I defined a Groovy Snippet

Re: Scheduled job vs manually started job

2012-06-29 Thread Grégory Boissinot
Check the BUILD_CAUSE environment variable value from your program. By default, the values can be: - MANUALTRIGGER - SCMTRIGGER - MANUALTRIGGER UPSTREAMTRIGGER Then, plugins (such as XTrigger plugins) can provide additional cause values. On Fri, Jun 29, 2012 at 10:19 AM, benjamin.a.lau wrote: >

Re: Envinject Plugin: Resolve environment variables on properties file path

2012-06-27 Thread Grégory Boissinot
There is no interaction with the EnvInject plugin and the promotion plugin. Could you report a new feature? On Wed, Jun 27, 2012 at 8:39 PM, Nicky Ramone wrote: > Thank you, Chris. > PROMOTED_NUMBER is the variable I'm looking for, but the Envinject plugin > is not resolving it. > > On Wed, Jun

Re: update job via config.xml post

2012-06-27 Thread Grégory Boissinot
Try to post your configuration file to the following url: http://jenkinsserver/job/j/config.xml On Wed, Jun 27, 2012 at 9:02 PM, phil swenson wrote: > I wrote some code that successfully updates Jenkins via an HTTP post > of config.xml to jenkins at > http://jenkinsserver/createItem?name=jobname

Re: Perl XML::Simple settings for configuring jobs

2012-06-27 Thread Grégory Boissinot
Just a remark: Maybe Perl is not the best solution to do that with Jenkins There are lots of examples with Java/Groovy in the Wiki and in the web. Maybe a quick alternative to solve your issue. On Wed, Jun 27, 2012 at 9:44 PM, Jim Searle wrote: > I have perl scripts that automate setting up and

Re: Set environment variable via groovy

2012-06-27 Thread Grégory Boissinot
I suggest using EnvInject Jenkins plugin which provide some simple Groovy capabilities to set environment variables. On Wed, Jun 27, 2012 at 6:44 PM, wildejenkins wrote: > Hi, > > I’ve been attempting to set an environment variable using groovy. So far > the code I have is: > > import hudson.mode

Re: EnvInject plugin doesn't set empty variable

2012-06-18 Thread Grégory Boissinot
There is no way to do this feature into the EnvInject plugin for now. It is often considered as an issue to have empty values for environment variables. Which is exactly your use case? On Fri, Jun 15, 2012 at 1:12 PM, wrote: > I am using the EnvInject plugin, and my job has "Inject environment >

Re: How do I generating unique snapshots with gradle and Jenkins?

2012-06-10 Thread Grégory Boissinot
You can use the following snippet: import java.text.SimpleDateFormat; import java.text.DateFormat; version=1.0 Calendar calendar = Calendar.getInstance(); DateFormat dateFormat = new SimpleDateFormat("MMdd"); gradle.taskGraph.whenReady { String buildID = System.getenv()['BUILD_ID'] if (bu

Re: jUnit Test Cases

2012-06-09 Thread Grégory Boissinot
Look at the xUnit plugin. Maybe it is a start p to solve your problem. On Fri, Jun 8, 2012 at 1:06 PM, Harsh wrote: > Hi, > I want to mark my build status as failed even if one jUnit fails. Is there > a way to do it? > > Regards, > Harsh >

Re: EnvInject 1.52 exceptions

2012-05-18 Thread Grégory Boissinot
Am 17.05.2012 22:55, schrieb Grégory Boissinot: > > EnvInject 1.53 should fix these issues. > > On Wed, May 16, 2012 at 4:35 PM, John Vacz < > mailing.list.collect...@googlemail.com> wrote: > >> Hello, >> >> after upgrade to Jenkins 1.463 and EnvInject 1.

Re: EnvInject 1.52 exceptions

2012-05-17 Thread Grégory Boissinot
EnvInject 1.53 should fix these issues. On Wed, May 16, 2012 at 4:35 PM, John Vacz < mailing.list.collect...@googlemail.com> wrote: > Hello, > > after upgrade to Jenkins 1.463 and EnvInject 1.52, I can see large amount > of exceptions when Jenkins starts up (see attachment). It seems to me like >

Re: EnvInject does not pick up variables injected by ToolEnv plugin

2012-04-27 Thread Grégory Boissinot
EnvInject? > Feel free to report a feature request to the ToolEnv plugin. Done > > As someone has suggested before, it would be very nice if ToolEnv and > EnvInject can be merged together. > > Am 27.04.2012 08:34, schrieb Grégory Boissinot: > > At the moment, ToolEnv is n

Re: EnvInject does not pick up variables injected by ToolEnv plugin

2012-04-26 Thread Grégory Boissinot
At the moment, ToolEnv is not aware of the EnvInject plugin. Technically ToolEnv doesn't export its new environment variables by an EnvironmentContribution action. Therefore, EnvInject cannot capture environment variables populated by the ToolEnv plugin. However, you can install the SharedObjects

Re: EnvInject global vs. per job behavior

2012-04-26 Thread Grégory Boissinot
On Tue, Apr 24, 2012 at 3:10 AM, AnthonyJ wrote: > If one job is enabled for EnvInject, should it affect all jobs > globally? > no > > I see the message below for jobs which do not have it turned on.. > > "[EnvInject] - Preparing an environment for the build." > the current build of the current

Re: Artifact Deployment

2012-04-14 Thread Grégory Boissinot
For the first case, there is a bug on the artifactdeployer plugin : promoted variables are not interpreted. Please raise a bug report for the artifactdeployer component. For the second case, you have to prefile with file:// because a URI is expected by the artifactdeployer plugin. On Sat, Apr 7, 2

Re: EnvInject Usage

2012-04-05 Thread Grégory Boissinot
What is the issue? On Thu, Apr 5, 2012 at 5:37 PM, hsn_ wrote: > anybody made envinject to work on jboss 7.1?

Re: EnvInject Usage

2012-04-05 Thread Grégory Boissinot
gt; Yes, You can get environment variables used for a build. You can also get them through an URL. > > > On Apr 5, 12:14 pm, Grégory Boissinot > wrote: > > EnvInject plugin enables you to inject only variables for a build. > > It is not aimed at propagating environment varia

Re: EnvInject Usage

2012-04-05 Thread Grégory Boissinot
EnvInject plugin enables you to inject only variables for a build. It is not aimed at propagating environment variables to downstream jobs. Therefore, EnvInject plugin can read files (properties files) and it doesn't create files. If you want to share elements, you have to do yourself. On Thu, Apr

Re: Build Periodically only if artifact to be copied has changed

2012-04-03 Thread Grégory Boissinot
In a more global approach, you could look at the XTrigger Plugin. On Fri, Mar 30, 2012 at 10:15 PM, Simon Wiest wrote: > Hi, > > you could try to use the https://wiki.jenkins-ci.org/** > display/JENKINS/URLTrigger+**Plugininstead >

Re: Order of Jenkins actions

2012-04-01 Thread Grégory Boissinot
PostBuildScript is designed to run in the last step, whatever the order of elements in the config.xml. On Mon, Jan 30, 2012 at 9:48 PM, Glfk4rt wrote: > I am trying to exercise a Post Build script after the Artifact Deployer. > To do this, I have re-ordered the events in two projects config.xml

Re: URLTrigger Plugins does not trigger

2012-04-01 Thread Grégory Boissinot
@nns URL Change Trigger plugin is deprecated. Please switch to URL Trigger. @Alexender Please test with latest version. If the problem persists, raise a bug report. On Thu, Jan 19, 2012 at 10:51 AM, nns wrote: > The same issue for me - looks like it is not working. > > From jenkins log: > -

Re: ChangeLog parser without SCM

2012-04-01 Thread Grégory Boissinot
At the moment, there is no available solution without SCM. However, you can look at the XTrigger plugin providing a change log. What is exactly your use case? On Sat, Mar 31, 2012 at 1:26 PM, bl0ck3r wrote: > Is it possible to have a ChangeLog parser without developing the full SCM > plugin? >

Re: EnvInject: injecting environment variables from URL

2012-03-29 Thread Grégory Boissinot
ING_LIST_RELEASE_NOTES' variable. > > > Does the shared-objects plugin expand the variables a different way as > envinject plugin? > > On 27.03.2012 22:33, Grégory Boissinot wrote: > > Sorry, it was a regression. > Fixed in shared-objects plugin 0.21 > > On Mon

Re: Is it possible to distinguish between a job triggered by an SCM trigger/periodic trigger/etc... based on a system property set by Jenkins?

2012-03-28 Thread Grégory Boissinot
Documentation added On Wed, Mar 28, 2012 at 7:19 PM, domi wrote: > Actually the the env-inject plugin does this - i'm not sure why this is > not documented > Its implemented like this: > - BUILD_CAUSE contains a coma separated list of all causes > - each active cause gets its own envvariable by

Re: EnvInject: injecting environment variables from URL

2012-03-27 Thread Grégory Boissinot
messages on web pages, but > the objects are not saved. > > > On 25.03.2012 16:02, Grégory Boissinot wrote: > > It should be fix with SharedObjects plugin 0.20. > > On Fri, Mar 23, 2012 at 7:13 AM, John Vacz < > mailing.list.collect...@googlemail.com> wrote: &g

Re: password masking plugin too aggressive

2012-03-27 Thread Grégory Boissinot
Mask passwords plugin tries to mask passwords values line by line of the log file. If a line contains a string value matching a mask password value, the value is replaced by ''. Therefore, I think you have an another problem. Mask-passwords plugin provides here only a display issue. On Tue, Ma

Re: EnvInject: injecting environment variables from URL

2012-03-25 Thread Grégory Boissinot
lynx/w3m on the remote > server, but they seem to have difficulties dealing with the "drop down > button" gadget. > > On 18.03.2012 22:51, Grégory Boissinot wrote: > > Thanks for testing EnvInject plugin. > > EnvInject is aimed at managing environment variables

Re: xUnit: Description of xml-file

2012-03-18 Thread Grégory Boissinot
What kind of documentation do you expect? The entry point is the wiki: https://wiki.jenkins-ci.org/display/JENKINS/xunit+Plugin On Thu, Mar 15, 2012 at 7:58 PM, Benedikt Rothe < benedikt.ro...@googlemail.com> wrote: > I'd like to use xUnit with jenkins and write custom xslt-files to generate > th

Re: EnvInject: injecting environment variables from URL

2012-03-18 Thread Grégory Boissinot
Thanks for testing EnvInject plugin. EnvInject is aimed at managing environment variables. For your need, you can use the Shared Objects plugin. It's a complement to the EnvInject plugin. It enables you to share objects in your environment (such as in your case a properties files through an URL) a

Re: Job dependencies

2012-03-12 Thread Grégory Boissinot
Maybe you should avoid using Jenkins to implement these kind of dependencies. Look at your build tool or any tool to implement your CI process and your components dependencies. In Java world, you can look at Ivy (http://ant.apache.org/ivy/). - Gregory On Wed, Feb 15, 2012 at 9:56 AM, Alper wrot

Re: junit stylesheet transformation before jenkins collects junit result

2012-03-08 Thread Grégory Boissinot
You are able to use the xUnit plugin. xUnit plugin provides the ability to perform an XSL transformation (choose custom tool). On Mon, Mar 5, 2012 at 10:53 AM, andy w < andreas.wuest.freelan...@googlemail.com> wrote: > Hi, > > i was wondering if it is possible to perform a custom stylesheet > tra

Re: New bug in EnvInject plugin

2012-02-29 Thread Grégory Boissinot
Just a display bug. Fixed in 1.31 On Wed, Feb 29, 2012 at 7:59 PM, wrote: > Users of the EnvInject plugin, please be aware of a bug in the latest > (1.30) release: > https://issues.jenkins-ci.org/browse/JENKINS-12936 > > -- > This e-mail and any attachments may contain confidential, copyright an

Re: xUnit - failed test did not set yellow ball

2012-02-22 Thread Grégory Boissinot
Not issue. Closed. On Mon, Feb 20, 2012 at 6:07 PM, Thomas Fürer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > please vote for > https://issues.jenkins-ci.org/browse/JENKINS-12616 > > I think you are running in the same issue as I do. > > thomas > > Am 20.02.2012 15:59, schrieb za.

Re: Bug in EnvInject Plugin 1.26

2012-02-22 Thread Grégory Boissinot
Fixed On Tue, Feb 21, 2012 at 12:01 PM, wrote: > If you use the EnvInject Plugin, note that 1.26 introduced a bug you might > want to know about. See https://issues.jenkins-ci.org/browse/JENKINS-12841. > We dropped back to 1.25 to get around this. > Matthew > > > -- > This e-mail and any attachm

Re: FSTrigger plugin issues

2012-02-22 Thread Grégory Boissinot
Could you raise a bug report for the envinject component and attach your job configuration file (config.xml)? On Wed, Feb 22, 2012 at 9:37 PM, Brad wrote: > I am having trouble getting the FSTrigger plugin to work. I am > getting the following error: > > [FSTrigger] - Monitor files > > Polling

Re: buildResultTrigger-polling

2012-02-17 Thread Grégory Boissinot
There is a big issue at the moment for this plugin regarding the number of active threads on the polling file. I fixed it for other X-TRigger plugin such as FSTrigger, URLTrigger, ScriptTrigger and so on. I have to update to BuildResultTrigger to the new xtrigger library. Waiting for the fix, plea

Re: convert QTP results.xml to Junit.xml

2012-02-13 Thread Grégory Boissinot
Do you have an existing XSL or would you like someone write one? On Mon, Feb 13, 2012 at 8:27 PM, Kalluri, Jagan wrote: > Hello Group, > > ** ** > > Can anyone help with me with an xsl sheet which can convert QTP > results.xml to Junit type xml report. > > ** ** > > So that I can display

Re: Prebuild action in Jenkins

2012-02-06 Thread Grégory Boissinot
Your request is close to prepare your job by injecting some configurations, injection environment variables, execute setup scripts. Therefore, you need a plugin to prepare the job execution. I suggest that you should look at the EnvInject plugin ( https://wiki.jenkins-ci.org/display/JENKINS/EnvInje

Re: Reorder post build actions

2012-02-03 Thread Grégory Boissinot
You can execute a script at the end of the build after all the publishers with the PostBuildScript plugin https://wiki.jenkins-ci.org/display/JENKINS/PostBuildScript+Plugin On Thu, Feb 2, 2012 at 7:06 PM, Glfk4rt wrote: > Thank you so very much for the link > > Rodney > > > On Thu, Feb 2, 2012 a