Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: mattermost-plugin
-
Labels:None
-
Environment:mattermost-plugin: 2.7.1
job-dsl-plugin: 1.76
Jenkins: 2.176.3
-
Similar Issues:
Description
Since mattermost-plugin version 2.7.1 (where endpoint type was changed from String to Secret) it's not possible to set endpoint configuration for mattermostNotifier with a JobDSL script.
Follwoing JobDS script
mattermostNotifier { endpoint('https://MATTERMOST/hooks/xxxxxxxxxxxx') notifyFailure(true) notifyUnstable(true) }
causes follwoing error:
ERROR: (unknown source) No signature of method: javaposse.jobdsl.plugin.structs.DescribableContext.endpoint() is applicable for argument types: (java.lang.String) values: [https://MATTERMOST/hooks/xxxxxxxxxxxx]
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
URL | https://github.com/kuleuven/jenkins-mattermost-plugin/issues/38 |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
This should now be fixed (in v3.0.0)