Re: Let running Jenkins job fail/succeed "from outside"?

2015-06-10 Thread James Nord
You can do this in workflow if you use input . Or if you want the build to immediatly stop you can abort it - but that then may not run post build tasks. On Tuesday, 2 June 2015 09:

Re: Let running Jenkins job fail/succeed "from outside"?

2015-06-02 Thread Christian Flamm
*bump* -- 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 https://groups.go

Re: Let running Jenkins job fail/succeed "from outside"?

2015-05-22 Thread Christian Flamm
> > Is there a way to make a job immediately stop do what he's doing after > setting the builld result? > Ideas anyone? -- 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 a

Re: Let running Jenkins job fail/succeed "from outside"?

2015-05-13 Thread Christian Flamm
I was wrong! I can set the jobs build result from outside. I wrongly thought the job would then immediately be stopped after the result is clear, but it will go on doing everything and just use my set build result afterwards. Is there a way to make a job immediately stop do what he's doing afte

Re: Let running Jenkins job fail/succeed "from outside"?

2015-05-13 Thread Christian Flamm
To be a bit more precise: I can now run the command, without any complains about ... that it has to be run from within a build ... but it has no effect. Am Mittwoch, 13. Mai 2015 09:53:10 UTC+2 schrieb Christian Flamm: > > Doing this by setting shell environment variables doesn't seem to work -

Re: Let running Jenkins job fail/succeed "from outside"?

2015-05-13 Thread Christian Flamm
Doing this by setting shell environment variables doesn't seem to work - what am I doing woring? Thx! -- 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

Re: Let running Jenkins job fail/succeed "from outside"?

2015-05-12 Thread Christian Flamm
Sounds good! Will try that! Am 12.05.2015 20:53 schrieb "Daniel Beck" : > You should be able to use the Jenkins CLI for this (set-build-result > command). It's intended to be used from a shell started by the build, so > you'll need to recreate that environment (JOB_NAME and BUILD_NUMBER). > > On 0

Re: Let running Jenkins job fail/succeed "from outside"?

2015-05-12 Thread Daniel Beck
You should be able to use the Jenkins CLI for this (set-build-result command). It's intended to be used from a shell started by the build, so you'll need to recreate that environment (JOB_NAME and BUILD_NUMBER). On 08.05.2015, at 11:13, Christian Flamm wrote: > Hi, > > is there a way to tell

Re: Let running Jenkins job fail/succeed "from outside"?

2015-05-12 Thread swastika basu
Jenkins publishes the results in XML/Json format. Check for http://:/jenkins/job//api/xml or http://:/jenkins/job//api/ json?pretty=true , Search for color, it will change based on your job result. On Friday, 8 May 2015 05:13:55 UTC-4, Christian Flamm wrote: > > Hi, > > is there a way to tell a

Let running Jenkins job fail/succeed "from outside"?

2015-05-08 Thread Christian Flamm
Hi, is there a way to tell a running Jenkins job it has either failed/succeeded from outside? Something like a REST-like access to be able to finish running Jobs either way. Thanks in advance, Christian -- You received this message because you are subscribed to the Google Groups "Jenkins Use