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

Webhook field is not editable #2

Open
highlnd opened this issue Feb 4, 2015 · 14 comments
Open

Webhook field is not editable #2

highlnd opened this issue Feb 4, 2015 · 14 comments

Comments

@highlnd
Copy link

highlnd commented Feb 4, 2015

After I add the plugin, and I select the "Slack Incoming WebHook," the textfield is not editable, i.e. I can't copy a URL into it.

Have you seen this problem? Do you know what might be happening?

image

@sawanoboly
Copy link
Member

Could you change the plugin cersion to 0.1.dev?

https://github.com/higanworks/rundeck-slack-incoming-webhook-plugin/releases

Maybe, updates of 0.2 includes bug.

@sawanoboly
Copy link
Member

@highlnd
What's version of your Rundeck?

I have tested this and using on 2.4.0-1. It works fine.

@highlnd
Copy link
Author

highlnd commented Feb 5, 2015

I'll try version 0.1. We are running 2.0.2-1. Maybe it's too old?

@sawanoboly
Copy link
Member

hmm..

Please update if possible, or try another fork of rundeck-slack-plugin.
My fork is little dirty because I'm not familiar to Java. But below fork looks good.

bitplaces#3

@nvaken
Copy link

nvaken commented Feb 6, 2015

Running plugin 0.2 in Rundeck 2.4.1-1, same problem here. Tested this in Google Chrome and Safari, both are the same.

Edit: Using 0.1 seems to work, I now have a webhook field.

@sawanoboly
Copy link
Member

@nvaken Thanks for report.

Probably, it was caused by the db73f7b.

I'll revert the PropertyScope until the cause is found.

sawanoboly added a commit that referenced this issue Feb 8, 2015
@nvaken
Copy link

nvaken commented Feb 20, 2015

No problem, I would love to help contribute some more debugging information since I would love seeing this operational. I'm really confused at this point though; I've tried out 0.3-dev to see if the above commit resolved my issues, though the issue persisted (Only the default Send Email and Webhook are visible). Since I wanted to check out if 0.1-dev did resolve my issue yet again, I re-added the 0.1 version but there was no change?

Is there anything I could do to provide more information? Are there any logs for this plugin I would be able to check?

Edit: Really feeling stupid, performed an epic fail at installing this plugin. I'll be checking in back later for further details. Ignore above for now.

Edit 2: Version 0.3 seems to work perfectly here!

@sawanoboly
Copy link
Member

@nvaken Thank you for your report 😄

@highlnd , how about 0.3 ?

@nelsonenzo
Copy link

I just pulled and built the latest (0.4) and am still having this issue.

@jeunito
Copy link

jeunito commented Sep 17, 2015

Getting this issue too. Using Rundeck 2.5

edit: 0.1 version works

@sawanoboly
Copy link
Member

hmm, I can't reproduce this probrem...

Could you tell me if you using other plugins together?

@arturmartins
Copy link

I am getting the same problem with 2.5.3. It's actually not an input field, there is no form at all.

Rundeck Slack Incoming Webhook bug

My plugins (/var/lib/rundeck/libext/):

PagerDutyNotification.groovy
RedmineNotification.groovy
rundeck-copyfile-plugin-2.5.3.jar
rundeck-flow-control-plugin-2.5.3.jar
rundeck-jasypt-encryption-plugin-2.5.3.jar
rundeck-job-state-plugin-2.5.3.jar
rundeck-json-plugin-1.1.jar
rundeck-localexec-plugin-2.5.3.jar
rundeck-s3-log-plugin-1.0.0.jar
rundeck-script-plugin-2.5.3.jar
rundeck-slack-incoming-webhook-plugin-0.4.jar
rundeck-stub-plugin-2.5.3.jar

I took out all non 2.5.3 plugins and removed the cache (/var/lib/rundeck/libext/cache) and did not work either:

Rundeck Slack incoming plugin bug

@arturmartins
Copy link

@redredgroovy solved the issue with commit #84a6dfd2 by removing scope = PropertyScope.Framework

Solution:

git clone https://github.com/redredgroovy/rundeck-slack-incoming-webhook-plugin
cd rundeck-slack-incoming-webhook-plugin
./gradlew
cp -iv build/libs/rundeck-slack-incoming-webhook-plugin-*.jar /var/lib/rundeck/libext

Works now:
Rundeck Slack incoming webhook - working

@sawanoboly
Copy link
Member

@arturmartins I've included your commmit redredgroovy@84a6dfd .

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

6 participants