Passing Data From Groovy Post Build To Post Build Task Via Global Properties

2018-01-26 Thread santhosh soma
ot;) envVars.put("totalPassTests", totalPassTests+"") envVars.put("overallPassPercentage", overallPassPercentage+"") instance.save() } I am getting the n-1 build values during N build execution in Post Build Task Step. Can someone help me on this. Pleas

Re: Post build task doesnt save

2016-09-12 Thread Antony Gelberg
to 2.21. Still no clues on how to > debug this? > > On Wednesday, 7 September 2016 16:32:11 UTC+3, Antony Gelberg wrote: >> >> Hi all, >> >> This should be the easy stuff but for some reason it's not happening. :) >> >> I'm trying to add a P

Re: Post build task doesnt save

2016-09-12 Thread Antony Gelberg
Hi all, This is still an issue after upgrading to 2.21. Still no clues on how to debug this? On Wednesday, 7 September 2016 16:32:11 UTC+3, Antony Gelberg wrote: > > Hi all, > > This should be the easy stuff but for some reason it's not happening. :) > > I'm trying t

Post build task doesnt save

2016-09-07 Thread Antony Gelberg
Hi all, This should be the easy stuff but for some reason it's not happening. :) I'm trying to add a Post build task to a project that already has one. I click Add another task and fill in the relevant fields. When I click on Save, fill in the git comment for the commit (we use SCM S

Re: Need to run "post build task" step on the slave server for Continuous Deployment.

2015-07-27 Thread swastika basu
I have written script for deployment process, but i don't want > to run that script from jenkins master server, due to some security > reasons. > So i launched a slave server using Headless mode in Ubuntu server, now > i need to Set a "Post-build" task for a Jo

Need to run "post build task" step on the slave server for Continuous Deployment.

2015-07-27 Thread Pavan Teja
erver, now i need to Set a "Post-build" task for a Job in jenkins, which should run in slave server. Is there any way to do it ? OR Please suggest if there are any alternatives. Thanks, Pavan -- You received this message because you are subscribed to the Google Groups "Jenk

How to allow execution post-build task only for some users

2015-01-14 Thread Dmitriy P.
Hello, community! I just create two tasks. First is for building application. Second is for deploy application to server. I want to allow execution Second task only for some users. I trying to set Second task as Post-build task for First task and allow build Second task only for some users

Re: Post Build Task matching - quick question

2014-08-12 Thread repacefay
zw gmail.com> writes: > > Hi  > We have a plugin to perform task post build. We have 2 post tasks > We tried to match this string below, belonging to the first post task run > POST BUILD TASK : SUCCESS On our second post task, we tried to match it, as a condition, to ^.

Re: JobGenerator: Create a job with a "Trigger parameterized build on other projects" post-build task?

2014-05-14 Thread syl20bnr
This is easily achieved by using a > "trigger parameterized build on other projects" post-build task, but I > don't seem to be able to template this up suitably in a jobgenerator. > > My initial jobgenerator job has two generator parameters (PROJECT, and > PROJECT_TYPE),

JobGenerator: Create a job with a "Trigger parameterized build on other projects" post-build task?

2014-05-02 Thread Ralph Bolton
achieved by using a "trigger parameterized build on other projects" post-build task, but I don't seem to be able to template this up suitably in a jobgenerator. My initial jobgenerator job has two generator parameters (PROJECT, and PROJECT_TYPE), and creates a job called "u

Re: Jenkins job builder and post build task

2013-08-09 Thread William Soula
"Here goes the task script" Will On 08/09/13 13:34, Harsh Desai wrote: Yes, I do have it installed. I can add a post-build-task through the jenkins Web GUI and the plugin works. The issue is the post-build-task does not get created when I use the jenkins job builder. I am using the m

Re: Jenkins job builder and post build task

2013-08-09 Thread Harsh Desai
Yes, I do have it installed. I can add a post-build-task through the jenkins Web GUI and the plugin works. The issue is the post-build-task does not get created when I use the jenkins job builder. I am using the master branch of the openstack-infra/jenkins-job-builder ( https://github.com

Re: Jenkins job builder and post build task

2013-08-09 Thread William Soula
wrote: Hi I am using jenkins job builder to create my jenkins job. In my YAML configuration, I have the following config at the bottom on my job to have a post-build-task. This is the same config that is given here<http://ci.openstack.org/jenkins-job-builder/publishers.html>

Re: Jenkins job builder and post build task

2013-08-08 Thread Richard Bywater
onfig at the bottom on my job to have > a post-build-task. This is the same config that is given > here<http://ci.openstack.org/jenkins-job-builder/publishers.html> > > publishers: > - post-tasks: > - matches: > - log-text: line

Jenkins job builder and post build task

2013-08-08 Thread Harsh Desai
Hi I am using jenkins job builder to create my jenkins job. In my YAML configuration, I have the following config at the bottom on my job to have a post-build-task. This is the same config that is given here<http://ci.openstack.org/jenkins-job-builder/publishers.html> publ

Re: post build task

2013-05-23 Thread Eric Pyle
Hi Virg, When you put in the text SUCCESS in the post build task "Log text" box, it is not checking whether the build ended with status success; rather it does a simple search for the text "SUCCESS" anywhere in the build log during the post-build phase. Same for "F

Re: post build task

2013-05-23 Thread 06virg
h file and pass build status as parameter which does some > activity. > I am using Post build task plugin. I have added two tasks FAILURE and > SUCCESS. when i test it if build is failed it is executing failure task and > but also it is executing success task. Not sure why it is happenin

post build task

2013-05-21 Thread 06virg
Hi, This could be a common issue, but i could not find correct solution. My requirement is based build status whether Fail or success, i should trigger windows batch file and pass build status as parameter which does some activity. I am using Post build task plugin. I have added two tasks

Re: how do we intentionally fail a job run in Post build task

2013-03-26 Thread Geoff Cummings
2013 06:05:27 UTC, zw wrote: > > Hi All > > How do we intentionally fail a job run in Post build task in the > script section after the condition passed ? > ie how do we report back to the job that we should fail the run since > we found a text in the log ? > > Thanks a

Re: how do we intentionally fail a job run in Post build task

2013-03-26 Thread syamimi mokhtar
You can use fail the build plugin. On Tue, Mar 26, 2013 at 2:05 PM, Z W wrote: > Hi All > > How do we intentionally fail a job run in Post build task in the > script section after the condition passed ? > ie how do we report back to the job that we should fail the run since >

how do we intentionally fail a job run in Post build task

2013-03-25 Thread Z W
Hi All How do we intentionally fail a job run in Post build task in the script section after the condition passed ? ie how do we report back to the job that we should fail the run since we found a text in the log ? Thanks all. -- You received this message because you are subscribed to the

Post build task plugin is not working properly

2013-02-18 Thread Varghese Renny
Hi, if my build actions get failed i needed to zip the report file dynamically generated and need to send as an attachment *In post build task log text: build as failure Operation : OR SCRIPT : antst.sh *This antst.sh lies in my base directory of workspace It contains *#!/bin/sh ant report

Running a command before running post build task

2013-01-15 Thread Jenkins-user
Hi folks, I use post build tasks to run some cleanup jobs, the problem is that post build task is invoked after the current processes are aborted by Jenkins, is there a plugin or workaround to run a script/command as part of post build task before the process is actually aborted. thanks

RE: Post Build Task matching - quick question

2013-01-04 Thread Merrow, Frank
I am not saying this is your issue, but you have a minor bug . . . a missing “.” After the second S in SUCCESS: ^.*POST.*BUILD.*TASK.*SUCCESS.*$ Because of the missing “.” . . . if there was any white space after SUCCESS the rexexp would fail. Might be your problem . . . might not. Frank

Post Build Task matching - quick question

2013-01-04 Thread zw
Hi We have a plugin to perform task post build. We have 2 post tasks We tried to match this string below, belonging to the first post task run POST BUILD TASK : SUCCESS On our second post task, we tried to match it, as a condition, to ^.*POST.*BUILD.*TASK.*SUCCESS*$ But we're ge

Re: multi configuration project and xunit post build task

2012-11-09 Thread Simon Haegler
jenkins...@googlegroups.com > *Sent:* Thursday, November 8, 2012 2:44 AM > *Subject:* multi configuration project and xunit post build task > > hi fellow jenkins users > > we have a multiconfiguration project where one axis reads "release, > development, testing".

Re: multi configuration project and xunit post build task

2012-11-08 Thread Mark Waite
variation within a multi-config job. Mark Waite > > From: Simon Haegler >To: jenkinsci-users@googlegroups.com >Sent: Thursday, November 8, 2012 2:44 AM >Subject: multi configuration project and xunit post build task > > >hi f

multi configuration project and xunit post build task

2012-11-08 Thread Simon Haegler
hi fellow jenkins users we have a multiconfiguration project where one axis reads "release, development, testing". in case of "testing" we're compiling and running unit tests (boost unit tests, actually). we would like to use the xunit post-build task to report the

Re: Run a program (as a .exe file) as a post build task

2012-11-06 Thread Mark Waite
en "NET START ServiceName". Mark Waite > > From: Roshan >To: jenkinsci-users@googlegroups.com >Sent: Tuesday, November 6, 2012 2:05 PM >Subject: Re: Run a program (as a .exe file) as a post build task > > >Anybody has idea how t

Re: Run a program (as a .exe file) as a post build task

2012-11-06 Thread Roshan
Anybody has idea how to do this? On Monday, November 5, 2012 1:59:55 PM UTC+11, Roshan wrote: > > Hi > > Currently I am using Jenkins ver. 1.488 to build > my maven 3 project. As a part of the build process, I want to execute an > application program (.exe file on window

Run a program (as a .exe file) as a post build task

2012-11-04 Thread Roshan
Hi Currently I am using Jenkins ver. 1.488 to build my maven 3 project. As a part of the build process, I want to execute an application program (.exe file on windows 7) as a post build process. But I am end with the issue https://wiki.jenkins-ci.org/display/JENKINS/Sp

Re: Post build task permission denied in shell script when cp directories

2012-04-05 Thread Les Mikesell
On Thu, Apr 5, 2012 at 7:33 AM, nexenator wrote: > Thanks i tried that before but that didn't work either. > > I have a solution now using sudo - but that's kind of suboptimal What did you try? Are you saying that you can log in as, or su to the jenkins user and write to this directory but it f

Re: Post build task permission denied in shell script when cp directories

2012-04-05 Thread Gábor Garami
optimal > > -- > View this message in context: > http://jenkins.361315.n4.nabble.com/Post-build-task-permission-denied-in-shell-script-when-cp-directories-tp4534479p4534689.html > Sent from the Jenkins users mailing list archive at Nabble.com. >

Re: Post build task permission denied in shell script when cp directories

2012-04-05 Thread nexenator
Thanks i tried that before but that didn't work either. I have a solution now using sudo - but that's kind of suboptimal -- View this message in context: http://jenkins.361315.n4.nabble.com/Post-build-task-permission-denied-in-shell-script-when-cp-directories-tp4534479p4534689.html

Re: Post build task permission denied in shell script when cp directories

2012-04-05 Thread Les Mikesell
On Thu, Apr 5, 2012 at 5:52 AM, nexenator wrote: > This is what the script looks like: > > #!/bin/bash > cp -r -p -u /var/lib/jenkins/jobs/-project-name-/workspace/somedir/* > /destination-path/somedir > ... > > The console output is as follows: > ... > cp: accessing `destination-path/somedir': Pe

Re: Post build task permission denied in shell script when cp directories

2012-04-05 Thread nexenator
ntext: http://jenkins.361315.n4.nabble.com/Post-build-task-permission-denied-in-shell-script-when-cp-directories-tp4534479p4534486.html Sent from the Jenkins users mailing list archive at Nabble.com.