[JIRA] (JENKINS-60248) Not possible to set endpoint for mattermostNotifier using JobDSL script since version 2.7.1

10 views
Skip to first unread message

ddbear@gmx.de (JIRA)

unread,
Nov 22, 2019, 6:06:05 AM11/22/19
to jenkinsc...@googlegroups.com
Volodja M created an issue
 
Jenkins / Bug JENKINS-60248
Not possible to set endpoint for mattermostNotifier using JobDSL script since version 2.7.1
Issue Type: Bug Bug
Assignee: Jo Vandeginste
Components: mattermost-plugin
Created: 2019-11-22 11:05
Environment: mattermost-plugin: 2.7.1
job-dsl-plugin: 1.76
Jenkins: 2.176.3
Priority: Major Major
Reporter: Volodja M

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]
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jo.vandeginste@gmail.com (JIRA)

unread,
Nov 22, 2019, 11:52:02 AM11/22/19
to jenkinsc...@googlegroups.com

jo.vandeginste@gmail.com (JIRA)

unread,
Dec 6, 2019, 11:42:02 AM12/6/19
to jenkinsc...@googlegroups.com

jo.vandeginste@gmail.com (JIRA)

unread,
Dec 6, 2019, 11:42:03 AM12/6/19
to jenkinsc...@googlegroups.com
Jo Vandeginste started work on Bug JENKINS-60248
 
Change By: Jo Vandeginste
Status: Open In Progress

jo.vandeginste@gmail.com (JIRA)

unread,
Dec 6, 2019, 11:43:02 AM12/6/19
to jenkinsc...@googlegroups.com
Jo Vandeginste resolved as Fixed
 

Version 3.0.0 released

Change By: Jo Vandeginste
Status: In Progress Resolved
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages