aws sqs plugin: job parameters

2017-12-14 Thread Ann B
I have configured a job that will be triggered when messages are written to a given AWS SQS queue. I've defined the job with the required sqs parameters (sqs_body, sqs_messageId, sqs_bodyMD5, and sqs_receiptHandle). I have other hidden parameters that I would also like to pass along. Is this

Re: [Pipeline] @NonCPS causes "sh" to hang with parallel steps

2017-10-23 Thread Ann B
Very helpful Jorgen! I have also spent hours on this issue. Ann -- 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

Re: Parallel jobs and HTML Publisher plugin

2017-09-11 Thread Ann B
I found a way around this issue. I'm only executing publishHTML when an error occurs and am giving the HTML Report link in the left nav a unique value (including the test name) so that each test failure has a link to the HTML artifacts. Ann -- You received this message because you are subscri

Re: How to publishHTML via Shared Library global variable steps?

2017-09-09 Thread Ann B
Nice!! That was it Richard! Sorry that did not occur to me. I was making it way more difficult than I needed. Thanks! Ann -- 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, se

Re: One github repo, two pipelines, two distinct checks in github?

2017-09-08 Thread Ann B
Hi Ian- I'm sorry that I cannot answer your question directly, as we do not use a web hook. Have you thought of posting to the github statuses api - https://developer.github.com/v3/repos/statuses/#create-a-status with a separate link for each of your pipelines? We kick off all of our pipelin

Re: How to publishHTML via Shared Library global variable steps?

2017-09-08 Thread Ann B
class. Alternately, a set of steps can be passed explicitly to a library class, in a constructor, or just one method" I'm passing the steps instance to a method in a library class. On Friday, September 8, 2017 at 9:30:26 PM UTC-7, Ann B wrote: > > Hi Richard- > > Thank you for your wor

Re: How to publishHTML via Shared Library global variable steps?

2017-09-08 Thread Ann B
Hi Richard- Thank you for your work with this plugin! Yes, publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'results', reportFiles: 'report.html', reportName: 'HTML Report', reportTitles: '']) works find within the context of a shared library script in

Re: How to publishHTML via Shared Library global variable steps?

2017-09-08 Thread Ann B
Hi Richard- When I try: steps.step([$class: 'PublishHTMLStep', allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'results', reportFiles: 'report.html', reportName: 'HTML Report', reportTitles: '']) I get this error: *syntax error near unexpected token `)'* Also tri

Re: Jenkins pipeline - Remove @tmp folder

2017-09-07 Thread Ann B
Have you tried: step([$class: 'WsCleanup', cleanWhenFailure: false]) On Saturday, April 30, 2016 at 2:50:06 PM UTC-7, Camilo Nova wrote: > > Hi, > > I'm using the pipeline and when it finishes it leaves an empty folder > 'my-project@tmp' and I don't want to leave it there. > > There is a way

Re: How to publishHTML via Shared Library global variable steps?

2017-09-07 Thread Ann B
Hi Steffen- publishHTML step also works fine for me from a pipeline script. The issue is accessing it from a shared library. From a shared library, you have to reference the DSL steps (https://support.cloudbees.com/hc/en-us/articles/217736618-How-do-I-access-Pipeline-DSLs-from-inside-a-Groovy

Fwd: How to publishHTML via Shared Library global variable steps?

2017-09-06 Thread Ann B
Hi all- I am attempting to perform a publishHTML post-build action in my Shared Library pipeline code. I am having a problem coming up with the correct syntax. I am referencing the steps instance from my *vars/runFunctionalTests.groovy* global variable: *import *org.magento.ci.tests.Function