openshift-sync 1.0.24 build decision handler results in triggered jenkins workflow job in both source and synced jenkins instances

2018-08-09 Thread afeller
The openshift-sync plugin can sync multiple OpenShift projects' JenkinsPipelineStrategy BuildConfigs to a single Jenkins instance ... > >- By default, the project running Jenkins is monitore

Re: How do I perform if/else operations in a jenkins workflow build?

2017-02-02 Thread Slide
The best way to find out is to try it. We're willing to help if you get stuck, but you also need to try things yourself and figure things out. We're not going to write your script for you. On Thu, Feb 2, 2017 at 7:34 AM siva varma Datla wrote: > So you say this should work?? > > node { > > if (r

Re: How do I perform if/else operations in a jenkins workflow build?

2017-02-02 Thread siva varma Datla
So you say this should work?? node { if (result.toString() != "SUCCESS") { notifyFailure() } else { notifySuccessful() } } On Thursday, February 2, 2017 at 9:12:48 AM UTC-5, slide wrote: > > You are checking for != "SUCCESS" and then doing your success > notification. You probably want to

Re: How do I perform if/else operations in a jenkins workflow build?

2017-02-02 Thread Slide
You are checking for != "SUCCESS" and then doing your success notification. You probably want to swap the stuff inside the blocks. On Thu, Feb 2, 2017, 07:08 siva varma Datla wrote: > I need an email notification for my job status I have groovy syntax for if > condition please let me know if I a

How do I perform if/else operations in a jenkins workflow build?

2017-02-02 Thread siva varma Datla
I need an email notification for my job status I have groovy syntax for if condition please let me know if I am doing it wrong. Using this syntax its only pushing notification when ever my build is successful its not sending any kind of notifications for failed build. node { if (result.toStr

Re: [workflow] how to mark build as unstable inside jenkins workflow?

2017-01-31 Thread Lenaic frank Tchokogoue nematchoua
have you find a solution ? i am having the same problem, i implement threshold on a pluging write on java, and i want to mark build as unstable in certain case. thks Le lundi 2 mars 2015 15:25:03 UTC+1, Arek Skalski a écrit : > > I want to implement threshold for number of failed tests on my wor

Jenkins Workflow: How to run integration tests in parallel

2016-03-23 Thread Frank Hask
Hi all i have been working on tis issue for some time and i cant find solution becouse integration tests run each time in new directory called MyProject@1,2,3,4... I have stated that i want them to run in specific directory but that is not helping. Here is example of my code. parallel( FirstSu

Re: Jenkins Workflow/Pipeline - Separate SCM / Gitlab

2016-02-16 Thread Peter Nijssen
y 13, 2016 at 4:42:41 PM UTC-6, Peter Nijssen wrote: >> >> Hi all, >> >> I really would like to use the Jenkins Workflow/Pipeline plugin. The >> problem I am currently facing is the fact that Gitlab doesn't have a good >> integration with this plugi

Re: Jenkins Workflow/Pipeline - Separate SCM / Gitlab

2016-02-14 Thread ok999
i simply create a job that check the SCM for any changes. And then set the pipeline job as downstream job. On Saturday, February 13, 2016 at 4:42:41 PM UTC-6, Peter Nijssen wrote: > > Hi all, > > I really would like to use the Jenkins Workflow/Pipeline plugin. The > problem

Jenkins Workflow/Pipeline - Separate SCM / Gitlab

2016-02-13 Thread Peter Nijssen
Hi all, I really would like to use the Jenkins Workflow/Pipeline plugin. The problem I am currently facing is the fact that Gitlab doesn't have a good integration with this plugin; https://github.com/jenkinsci/gitlab-plugin/issues/167#issuecomment-167041912 The problem is, the gitlab p

jenkins workflow plugin

2015-12-18 Thread Oded Priva
Jenkins workflow Plugin <https://github.com/jenkinsci/workflow-plugin/blob/master/README.md> is THE tool to build your continuous delivery pipelines here you can find best practices and examples for how to use it http://jenkins-ci.org/content/workflow-best-practices-and-examples-repo-

Re: Pass values from Shell script to Workflow script in Jenkins Workflow plugin

2015-12-17 Thread Brian Ray
We're using this technique too and I think it's the only hack available for the time being. JENKINS-26133 may some day yield a more elegant, native way to get results back out to the workflow. On Thursday, December 17, 2015 at 8:51:00 AM UTC

Re: Pass values from Shell script to Workflow script in Jenkins Workflow plugin

2015-12-17 Thread B.Latinville
If you have not found yet, this could help you : https://github.com/jenkinsci/workflow-examples/blob/master/workflow-examples/gitcommit/gitcommit.groovy -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop r

Is there a documented REST API to get information produced by jenkins workflow (status of jobs, etc.)?

2015-12-16 Thread Olivier Liechti
If I want to build a visual representation of my pipelines (as an alternative to the stage view plugin), is there a way for me to retrieve the state of the jobs that have been executed through my pipeline? I have not used the jenkins REST endpoints yet, but after spending some time experiment

Pass values from Shell script to Workflow script in Jenkins Workflow plugin

2015-10-29 Thread Luis Mago
Hi, I'm trying out the Jenkins Workflow plugin and I was wondering if there is any way to pass values from a shell script to the workflow script without going through writing them in a file a reading and parsing the file from the workflow script. I've checking 'env' and &#x

Re: Using Warnings plugin and Log parser plugin a Jenkins Workflow job

2015-10-13 Thread Manuel Jesús Recena Soto
Please, find attached a screenshot. 2015-10-13 14:39 GMT+02:00 Manuel Jesús Recena Soto : > Maybe these examples are interesting for you: > https://github.com/jenkinsci/warnings-plugin/pull/63 > > The snippet generator seems work fine. Remember, you'll find the option > under "General Build Step".

Re: Using Warnings plugin and Log parser plugin a Jenkins Workflow job

2015-10-13 Thread Leon Leon
Thank you very much. -- 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 htt

Re: Using Warnings plugin and Log parser plugin a Jenkins Workflow job

2015-10-13 Thread Manuel Jesús Recena Soto
Maybe these examples are interesting for you: https://github.com/jenkinsci/warnings-plugin/pull/63 The snippet generator seems work fine. Remember, you'll find the option under "General Build Step". By the way, Log Parser Plugin is not still compatible with Workflow. Regards, El 13/10/2015 13:33

Re: Using Warnings plugin and Log parser plugin a Jenkins Workflow job

2015-10-13 Thread Leon Leon
I already check the source code of the plugins. But I dont know yet how to use it in the workflow. Can you please help me with that ? -- 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

Re: Using Warnings plugin and Log parser plugin a Jenkins Workflow job

2015-10-13 Thread Ullrich Hafner
> Am 13.10.2015 um 12:27 schrieb Leon Leon : > > Dear Jenkins Users, > > I am trying to use the Warnings plugin in a Workflow job. However, since it > is not available in the snippet generator. I am using it this way: > step([$class: 'WarningsPublisher', consoleParsers: [[parserName: > 'myPars

Using Warnings plugin and Log parser plugin a Jenkins Workflow job

2015-10-13 Thread Leon Leon
Dear Jenkins Users, I am trying to use the Warnings plugin in a Workflow job. However, since it is not available in the snippet generator. I am using it this way: step([$class: 'WarningsPublisher', consoleParsers: [[parserName: 'myParser'] ]]) How can I add more options to this ? I need to make i

Re: Jenkins Workflow and Timestamp plugin

2015-09-21 Thread Rinaldo DiGiorgio
On Monday, September 21, 2015 at 5:02:37 PM UTC-4, Daniel Beck wrote: > > IIRC it just needs to be added to the workflow using the snippet generator > » General build wrapper. > > > Thanks that cleared it up. I am using the Jenkins Mesos plugin and trying to figure out where latencies are com

Re: Jenkins Workflow and Timestamp plugin

2015-09-21 Thread Daniel Beck
IIRC it just needs to be added to the workflow using the snippet generator » General build wrapper. On 21.09.2015, at 22:40, Victor Martinez wrote: > It should be there: > > - Jira refs: https://issues.jenkins-ci.org/browse/JENKINS-27207 > - Release version 1.7+: > https://wiki.jenkins-ci.org

Re: Jenkins Workflow and Timestamp plugin

2015-09-21 Thread Victor Martinez
It should be there: - Jira refs: https://issues.jenkins-ci.org/browse/JENKINS-27207 - Release version 1.7+: https://wiki.jenkins-ci.org/display/JENKINS/Timestamper Can you verify your plugins versions? Cheers On Monday, 21 September 2015 22:32:14 UTC+2, Rinaldo DiGiorgio wrote: > > Hi, > >

Jenkins Workflow and Timestamp plugin

2015-09-21 Thread Rinaldo DiGiorgio
Hi, Having time stamping in the *Console Outpu*t and in the *Workflow Steps* would be very useful IMO. Given the additional capabilities of workflow with steps and parallel, having a timestamp is very useful. I installed the *Timestamp* *Plugin* and did not see any timestamps in my workflo

Re: How to make a ssh connection in jenkins workflow through Groovy sand box

2015-08-12 Thread Jesse Glick
On Thursday, July 23, 2015 at 1:10:37 PM UTC-4, karthik m wrote: > > We are using a workflow in Jenkins > > and we need to run a script with particular user previlages, so we should > make a ssh connection to server and then run that script > Try using the new release of the SSH Agent plugin, whi

Re: How to make a ssh connection in jenkins workflow through Groovy sand box

2015-07-23 Thread Baptiste Mathus
I'd look at using the publish over SSH plugin inside the workflow code. Cheers Le 23 juil. 2015 7:10 PM, "karthik m" a écrit : > We are using a workflow in Jenkins > > and we need to run a script with particular user previlages, so we should > make a ssh connection to server and then run that sc

How to make a ssh connection in jenkins workflow through Groovy sand box

2015-07-23 Thread karthik m
We are using a workflow in Jenkins and we need to run a script with particular user previlages, so we should make a ssh connection to server and then run that script, we need to implement this in Groovy sand box. note:ssh connection should be a password less please Help in doing this -- Yo

Re: Is the Jenkins workflow engine tosca compliant?

2015-03-22 Thread Baptiste Mathus
r this link: https://wiki.jenkins-ci.org/display/JENKINS/Workflow+Plugin > and this link: http://en.wikipedia.org/wiki/OASIS_TOSCA > > Does the Jenkins Workflow Engine adhere to this standard: > http://docs.oasis-open.org/tosca/TOSCA/v1.0/os/TOSCA-v1.0-os.html > > > thanks in adva

Re: [workflow] how to mark build as unstable inside jenkins workflow?

2015-03-20 Thread Arek Skalski
That is exactly what I was looking for. Thanks! currentBuild.result = 'UNSTABLE' W dniu czwartek, 19 marca 2015 16:25:35 UTC+1 użytkownik Jesse Glick napisał: > > On Monday, March 2, 2015 at 12:04:20 PM UTC-5, Baptiste Mathus wrote: >> >> If some plugin, say the junit one, doesn't support this >>

Is the Jenkins workflow engine tosca compliant?

2015-03-19 Thread Noel Miller
Per this link: https://wiki.jenkins-ci.org/display/JENKINS/Workflow+Plugin and this link: http://en.wikipedia.org/wiki/OASIS_TOSCA Does the Jenkins Workflow Engine adhere to this standard: http://docs.oasis-open.org/tosca/TOSCA/v1.0/os/TOSCA-v1.0-os.html thanks in advance for the answer

Re: [workflow] how to mark build as unstable inside jenkins workflow?

2015-03-19 Thread Jesse Glick
On Monday, March 2, 2015 at 12:04:20 PM UTC-5, Baptiste Mathus wrote: > > If some plugin, say the junit one, doesn't support this > I do not think it does. You can configure how test failures affect build health, but if there is ≥1 failure then the build becomes UNSTABLE. https://issues.jenkins-c

Re: [workflow] how to mark build as unstable inside jenkins workflow?

2015-03-02 Thread Baptiste Mathus
Well I guess this depends basically on the test plugin, independently from workflow itself. If some plugin, say the junit one, doesn't support this then I think you just then put many sh steps to achieve this. Might seem not so interesting compared to a typical script, but the difference is you th

[workflow] how to mark build as unstable inside jenkins workflow?

2015-03-02 Thread Arek Skalski
I want to implement threshold for number of failed tests on my worklfow build. If there are some failures and the threshold is not exceeded I would like to mark my build as unstable. How can I do it inside workflow job? -- You received this message because you are subscribed to the Google Group

Jenkins Workflow Meetup in London - 10 March 2015

2015-02-26 Thread Alyssa Tong
Hi All, If you are in the London area, pls join our Jenkins Workflow meet up: http://www.meetup.com/jenkinsmeetup/events/219967721/ Seats are limited. Cheers, alyssa -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe

Re: [jenkins-workflow] How to inject a password in an "sh" step? Credentials Binding Plugin?

2015-02-25 Thread Jesse Glick
On Monday, January 19, 2015 at 5:59:18 PM UTC-5, Cyrille Le Clerc wrote: > > Is it possible to use the Credentials Binding Plugin > > in a workflow? Does this plugin need to be updated to work in a workflow? > Update: yes,

Re: [jenkins-workflow] How to inject a password in an "sh" step? Credentials Binding Plugin?

2015-01-20 Thread Timur Batyrshin
ьзователь Cyrille Le Clerc написал: > > Dear community, > > Could someone explain me how to retrieve in a Jenkins workflow a password > that has been declared as a username/password in the Jenkins Credentials > store? > > Is it possible to use the Credentials Binding Plugi

[jenkins-workflow] How to inject a password in an "sh" step? Credentials Binding Plugin?

2015-01-19 Thread Cyrille Le Clerc
Dear community, Could someone explain me how to retrieve in a Jenkins workflow a password that has been declared as a username/password in the Jenkins Credentials store? Is it possible to use the Credentials Binding Plugin <https://wiki.jenkins-ci.org/display/JENKINS/Credentials+Bind

Antwort: Jenkins workflow

2012-12-05 Thread Andreas Schilling
Von:Mary An: jenkinsci-users@googlegroups.com Datum: 05.12.2012 14:51 Betreff: Jenkins workflow Gesendet von: jenkinsci-users@googlegroups.com Hello, I am new to Jenkins and I don't understand exactly the job workflow. Please, help me. So, I have my project on GitHub and

Jenkins workflow

2012-12-05 Thread Mary
Hello, I am new to Jenkins and I don't understand exactly the job workflow. Please, help me. So, I have my project on GitHub and CI server with Jenkins. What Jenkins will do during the first job execution? What Jenkins will do in the next job executions? Is here a possible way not to clone from