Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cucumber-slack-notifier plugin - configurable? #1271

Closed
3 tasks done
jamiejackson opened this issue Feb 10, 2020 · 7 comments
Closed
3 tasks done

cucumber-slack-notifier plugin - configurable? #1271

jamiejackson opened this issue Feb 10, 2020 · 7 comments

Comments

@jamiejackson
Copy link

Your checklist for this issue

  • Jenkins version: - 2.204.2
  • Plugin version - 1.35
  • OS - Docker image (Alpine): jenkins/jenkins:lts-alpine

Description

Please describe your issue here.

Is it possible to configure this plugin with CasC?

GUI:

image

My (failed) attempt:

unclassified:
  cucumberSlack:
    webHookEndpoint: https://hooks.slack.com/services/XYXYXYXYXYXYXYXYXYXYXYX
@jetersen
Copy link
Member

did you try the export?

@jetersen
Copy link
Member

jetersen commented Feb 10, 2020

This plugin look to only be a Job configuration / workflow plugin.

So use job dsl?

@jamiejackson
Copy link
Author

jamiejackson commented Feb 10, 2020

I did try the export, but it didn't appear there.

I'm already calling the plugin from my job as follows:

  cucumberSlackSend channel: '#experimental',
    failOnError: true,
    json: 'work/cfml/deployment_root/test/e2e/reports/cucumber/json/test_report.json'

But I still need that global webHookEndpoint config. (I think?)

@jetersen
Copy link
Member

I'd suggest submitting a PR that fixes the plugin.

@jamiejackson
Copy link
Author

Will do. Is there any kind of semi-CasC-friendly generic solution for "unsupported" plugins?

@jetersen
Copy link
Member

jetersen commented Feb 10, 2020

using jcasc-groovy?

@jamiejackson
Copy link
Author

If this is correct, then I'm supposed to file a Jenkins ticket. I created this one: https://issues.jenkins-ci.org/browse/JENKINS-61037

I'll look into jcasc-groovy, @Casz , thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants