Generate pipeline jobs like with job-dsl

2016-02-09 Thread Carlos Lucas
Hi, Nowadays, we are using a Jenkins with more than 300 different jobs. Most of them are generated using jobdsl plugin automatically from a config file. Now, I would like to migrate some of them from classic projects to pipeline projects. What is the best way to generate pipeline jobs like

Re: jenkins and code analysis

2015-07-13 Thread Carlos Lucas
I forgot to say that my code is on .NET C# and VB -- 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: [workflow-plugin] Get environment variables defined in Jenkins configuration

2015-05-21 Thread Carlos Lucas
inside that your flow.groovy class. On Monday, May 18, 2015 at 4:24:25 AM UTC-4, Carlos Lucas wrote: Hi, I have some environment variables defined in Jenkins configuration ( Manage jenkins System configuration Global properties ) but I am no able to get their value on a workflow script

Re: [workflow-plugin] Get environment variables defined in Jenkins configuration

2015-05-21 Thread Carlos Lucas
, used inside that your flow.groovy class. On Monday, May 18, 2015 at 4:24:25 AM UTC-4, Carlos Lucas wrote: Hi, I have some environment variables defined in Jenkins configuration ( Manage jenkins System configuration Global properties ) but I am no able to get their value

[workflow-plugin] Get environment variables defined in Jenkins configuration

2015-05-18 Thread Carlos Lucas
Hi, I have some environment variables defined in Jenkins configuration ( Manage jenkins System configuration Global properties ) but I am no able to get their value on a workflow script. I tried with* System.getenv()[myVar],* *currentBuild.getEnvironment(null), env.myVar * and accessing

Re: [Workflow-plugin] Use Jenkins plugins in Workflow

2015-04-20 Thread Carlos Lucas
Anyone have any idea? -- 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 discussion on the web visit

Re: how to add many jobs in jenkins for all projects at once

2015-04-16 Thread Carlos Lucas
Maybe the JobDSL plugin can helps you ( https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin ) With that plugin you can make a script that builds jobs automatically. If you have your projects on some scm I think it will be easy for you. El miƩrcoles, 15 de abril de 2015, 15:01:10 (UTC+2),

[Workflow-plugin] Use Jenkins plugins in Workflow

2015-04-16 Thread Carlos Lucas
Hi, I would like to use some plugins that are not in the compatibility list ( https://github.com/jenkinsci/workflow-plugin/blob/master/COMPATIBILITY.md) in my workflow job scripts. Is there any way to do it? Like calling the plugin class or something. Thank you! -- You received this message