Storing custom build environment variables to build

2018-05-03 Thread Sverre Moe
se a different listener than manager.listener, but I am not sure how to get one. 3) Is it as intended, in other word it is not implemented, storing custom build environment variables to the build? The following work def previousBuild = currentBuild.previousBuild def upstreamEnv

Re: Jenkins plugin that can show the Build Environment properties in DashBoard

2017-08-07 Thread Vinod Gangal
Anyone? On Monday, August 7, 2017 at 1:02:49 PM UTC+5:30, Vinod Gangal wrote: > > Dear All, > > > > Is there any Jenkins plugin that can show the Build Environment properties > like the “Inject environment variables to the build process” properties on > the Jenkin

Jenkins plugin that can show the Build Environment properties in DashBoard

2017-08-07 Thread Vinod Gangal
Dear All, Is there any Jenkins plugin that can show the Build Environment properties like the “Inject environment variables to the build process” properties on the Jenkins dashboard view? My usecase is, I want to see the environment variables injected for all the jobs in one view

Re: build-environment-plugin does not appear to display on pipeline jobs

2016-08-30 Thread Daniel Beck
e Warren wrote: > > Does anyone know how to view the build environment for a pipeline job? Is > this built in to the pipeline job somehow and therefore needs no support from > build-environment-plugin? I'd be happy to submit JIRA ticket for this and > submit a patch if the fi

build-environment-plugin does not appear to display on pipeline jobs

2016-08-30 Thread Wayne Warren
Does anyone know how to view the build environment for a pipeline job? Is this built in to the pipeline job somehow and therefore needs no support from build-environment-plugin? I'd be happy to submit JIRA ticket for this and submit a patch if the fix isn't too time-consuming. I

Re: Build Environment

2016-07-21 Thread Oparlescu Vlad
gt; > > Hello to everyone, > > Is there any method that I can retrieve the Build Environment settings in > a groovy script ? > For example *I want to find out for every job that I have if "manage > exclusion" is ticked ot not* : > > > &g

Build Environment

2016-07-20 Thread Oparlescu Vlad
Hello to everyone, Is there any method that I can retrieve the Build Environment settings in a groovy script ? For example *I want to find out for every job that I have if "manage exclusion" is ticked ot not* : <https://lh3.googleusercontent.com/-ES95q37cbMc/V48obce91B

Re: Accessing build environment variables from Playbook using Ansible Plugin

2016-07-14 Thread Ricardo Hernandez
- command: echo "{{ lookup('env','PATH') }}" > register: default_path > - command: echo "{{ lookup('env','WORKSPACE') }}" > register: jenkins_job_workspace > > Hope it helps. > > Le mardi 12 juillet

Re: Accessing build environment variables from Playbook using Ansible Plugin

2016-07-14 Thread jcsirot
t; register: jenkins_job_workspace Hope it helps. Le mardi 12 juillet 2016 18:15:47 UTC+2, Ricardo Hernandez a écrit : > > Hi, > > Starting from version 0.5 of the Ansible Plugin the build environment > variables are available during ansible execution. > I'm currently tr

Accessing build environment variables from Playbook using Ansible Plugin

2016-07-12 Thread Ricardo Hernandez
Hi, Starting from version 0.5 of the Ansible Plugin the build environment variables are available during ansible execution. I'm currently trying to get the job workspace path inside my playbook (which I provide using job DSL) the following way: --- - hosts: all tasks: - command:

Matrix-project-plugin with CloudBees Docker Custom Build Environment Plugin to run specific configuration to specific docker image.

2016-06-08 Thread ashiq
Hello everybody, Is it possible to execute specific configuration on specific docker image using matrix-project-plugin and CloudBees Docker Custom Build Environment Plugin. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To u

Re: Freestyle project job is missing Build Environment section

2016-05-09 Thread Daniel Beck
> On 09.05.2016, at 23:26, Tony wrote: > > Which plug-in(s) contribute to "Build Environment" section? Thanks! I'm not sure this is the question you actually want to ask, but since you did… All implementations of the BuildWrapper extension are likely to appear here, so

Re: Freestyle project job is missing Build Environment section

2016-05-09 Thread Tony
Which plug-in(s) contribute to "Build Environment" section? Thanks! On Monday, May 9, 2016 at 12:36:40 AM UTC-7, Daniel Beck wrote: > > > > On 09.05.2016, at 04:26, Tony > > wrote: > > > > Does anyone have any idea why? Thanks! > > The section &

Re: Freestyle project job is missing Build Environment section

2016-05-09 Thread Daniel Beck
> On 09.05.2016, at 04:26, Tony wrote: > > Does anyone have any idea why? Thanks! The section 'Build Environment' is automatically shown when you have plugins that contribute to that section. Build Environment Plugin, despite its name, is not one of them. -- You re

Re: Problem in Cloudbees custom build environment plugin integration with Jenkins

2016-01-08 Thread Christopher Orr
Hi there, On 08/01/16 09:59, puneet singh wrote: > I am using cloudbees custom build environment plugin to create docker > container and run CI build inside it. > I'm facing following error kindly help me with this. > > ERROR: Processing failed due to a bug in the code. P

Problem in Cloudbees custom build environment plugin integration with Jenkins

2016-01-08 Thread puneet singh
Hi All, I am using cloudbees custom build environment plugin to create docker container and run CI build inside it. I'm facing following error kindly help me with this. ERROR: Processing failed due to a bug in the code. Please report this to jenkins

Re: setup jenkins job to build environment, build, compile, and run unit tests. Am I on the right track?

2015-11-18 Thread Curtis Kline
Walter, You can think of Jenkins as a GUI for cron. It does a great job scheduling commands that run on your OS of choice. Anything you have installed on the Jenkins host can be scheduled via the Jenkins UI. But of course to be able to run the commands you'll need to install the utilities (

setup jenkins job to build environment, build, compile, and run unit tests. Am I on the right track?

2015-11-18 Thread Walter Gunter
ut my current build environment, like on my development machine. We are building in C++. 1. I realized I had two servers, one was windows and one was linux, so i forced it to use the linux machine (running ubuntu). 2. I found that I could run terminal commands in an Execute Shell,

CloudBees Docker Custom Build Environment Plugin and remote docker hosts

2015-11-03 Thread Denis J. Cirulis
Hi, maybe somebody knows, can I use remote docker machine to execute build jobs inside container ? There is a input field where I can enter docker remote api uri, launch job, then remote host pulls image from private registry and then I gen this: Error response from daemon: Cannot start contain

CloudBees Docker Custom Build Environment Plugin Container Environment Variables are overwritten by build environment variables.

2015-10-30 Thread Pradeep Kumar Mantha
environment variables are missing & PATH is being updated to the Build environment variables. Is there anyway I can overwrite the environment variables with the values in container? I am using CloudBees Docker Custom Build Environment Plugin - 1.6.4 version. Thanks Pradeep -- You received

Re: CloudBees Docker Custom Build Environment Plugin

2015-06-27 Thread Damien Coraboeuf
UTC+2, Damien Coraboeuf wrote: > > Hi, > > I have the following scenario, which does not sound so exotic: > > * I'm using the CloudBees Docker Custom Build Environment Plugin (v1.2) > * a Docker container is defined and run, with a local JVM (see > https://git

CloudBees Docker Custom Build Environment Plugin

2015-06-27 Thread Damien Coraboeuf
Hi, I have the following scenario, which does not sound so exotic: * I'm using the CloudBees Docker Custom Build Environment Plugin (v1.2) * a Docker container is defined and run, with a local JVM (see https://github.com/nemerosa/ontrack/blob/57471f8222a602b59b0729ae69113cb1babaa649/see

Using Jenkins to Vet New Build Environment

2015-05-08 Thread Mark Bidewell
I am thinking about how to begin moving some projects on old JDKs to supported JDKs. I was wondering if there was a to run a build with normal settings, but then run a report-only (no artifact retention) build with a newer build environment to capture any compile or behavioral changes

Re: Masking build environment variables on env variables screen

2014-08-26 Thread Marc Esher
Perfect! I didn't even see the "Global Passwords" section down toward the bottom of the screen. Thanks a lot, Daniel. On Monday, August 25, 2014 9:45:02 PM UTC-4, Daniel Beck wrote: > > If you're using Env-Inject, try using its built-in password support > instead of Mask Passwords. > > On 26.08

Re: Masking build environment variables on env variables screen

2014-08-25 Thread Daniel Beck
If you're using Env-Inject, try using its built-in password support instead of Mask Passwords. On 26.08.2014, at 01:50, Marc Esher wrote: > Greetings, > > I'm using env inject and mask passwords, which works great in the console > output for jobs. However, Any global password variables I set

Masking build environment variables on env variables screen

2014-08-25 Thread Marc Esher
Greetings, I'm using env inject and mask passwords, which works great in the console output for jobs. However, Any global password variables I set show up in plaintext on a build's Environment Variables screen. Is there a way to mask or remove variables from that Build env variables screen? T

Re: EXTERNAL: Post-build environment variables

2013-03-17 Thread Duong Dang Chien
: > > Did you try ${PARAM_A} > > > > *From:* jenkins...@googlegroups.com [mailto: > jenkins...@googlegroups.com ] *On Behalf Of *Duong Dang Chien > *Sent:* Friday, March 15, 2013 12:29 AM > *To:* jenkins...@googlegroups.com > *Subject:* EXTERNAL: Post-build

RE: EXTERNAL: Post-build environment variables

2013-03-15 Thread Ng, Jeff
Did you try ${PARAM_A} From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Duong Dang Chien Sent: Friday, March 15, 2013 12:29 AM To: jenkinsci-users@googlegroups.com Subject: EXTERNAL: Post-build environment variables Hi all, I have a Jenkins

Post-build environment variables

2013-03-14 Thread Duong Dang Chien
Hi all, I have a Jenkins parameterized build in our CI system, which takes in a few parameters like PARAM_A (of type Choice), PARAM_B (of type String parameter) at the beginning of the build. After the build finished, I want to perform some post-build action, like archiving artifacts, send

Re: Beta Build Environment

2013-02-08 Thread Andrew Melo
Then you just >> > need the war and the global config. >> > >> > https://github.com/openstack-infra/jenkins-job-builder >> > >> > Will >> > >> > From: jenkinsci-users@googlegroups.com >> > [jenkinsci-users@googlegroups.com] on behalf of

Re: Beta Build Environment

2013-02-08 Thread J Arrizza
___ > > From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] > on behalf of Sami Tikka [sjti...@gmail.com] > > Sent: Wednesday, February 06, 2013 3:16 PM > > To: jenkinsci-users@googlegroups.com > > Subject: Re: Beta Build Environment >

Re: Beta Build Environment

2013-02-06 Thread Andrew Melo
_ > From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] on > behalf of Sami Tikka [sjti...@gmail.com] > Sent: Wednesday, February 06, 2013 3:16 PM > To: jenkinsci-users@googlegroups.com > Subject: Re: Beta Build Environment > > I have developed instr

RE: Beta Build Environment

2013-02-06 Thread William Soula
/jenkins-job-builder Will From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] on behalf of Sami Tikka [sjti...@gmail.com] Sent: Wednesday, February 06, 2013 3:16 PM To: jenkinsci-users@googlegroups.com Subject: Re: Beta Build Environment I

Re: Beta Build Environment

2013-02-06 Thread Sami Tikka
st everything, > including our build environment. I have been challenged to figure out how my > team can create a second build environment to test enhancements on. This > would also involve creating a beta copy of our Jenkins instance. > > We need to be able to test changes to

Beta Build Environment

2013-02-05 Thread Mandeville, Rob
I work for an agile development group, so we like to test everything, including our build environment. I have been challenged to figure out how my team can create a second build environment to test enhancements on. This would also involve creating a beta copy of our Jenkins instance. We need

Re: Build Environment Order

2012-05-10 Thread Erick Dovale
t the job startup > (in the 'Prepare an environment for the job' section). > Look at https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin > > > On Tue, Jan 31, 2012 at 8:33 AM, Matt Fair wrote: > >> Hello, >> In the Build Environment section I am us