Comments (7)
Interesting, I hoped that it would fail silently and hints a why, but looks like commands go through fine and are handled properly? Just that nothing changes on Jira's end
from ircbot.
The ircbot
account (which I assume is used) is in the Administrators group, so rather unlikely a permissions issue.
from ircbot.
The
ircbot
account (which I assume is used) is in the Administrators group, so rather unlikely a permissions issue.
Interesting and good to know. Would there be a way to obtain logs from the bot and (audit) logs from Jira covering the timeframe of someone using the command?
The bot lets you know if an operation failed, but given that didn't happen, logs could contain some hints pointing in a possible direction.
from ircbot.
logs contain just this:
[main] INFO org.pircbotx.InputParser - pircbotx.input :timja!sid405656@jenkins/contributor/timja PRIVMSG #jenkins-hosting :jenkins-admin: remove lead of token-macro-plugin
[listenerPool0-thread6546] INFO org.pircbotx.output.OutputRaw - pircbotx.output PRIVMSG #jenkins-hosting :Changing default assignee of subcomponent token-macro-plugin to null
from ircbot.
When I run the ircbot in debug mode and try and step through with the debugger, it skips past the creation of the JiraClient into the finally block, no errors are shown, not stack traces. It is very weird.
from ircbot.
I figured out that the issue is a NoClassDefFound which inherits from Error, not Exception, so the existing catch doesn't catch it. I created a PR that has some code cleanup and changes to catch a Throwable instead of Exception. I have a fix, but I was just blindly stabbing the issue in the dark since I am not anywhere close to a Maven or Java expert. I'll create a new PR for that tomorrow.
from ircbot.
Fixed in #151, and released in https://github.com/jenkins-infra/ircbot/releases/tag/v1.11.0
Thanks!
from ircbot.
Related Issues (14)
- Create jenkinsci/memkins on github for oleg-nenashev fails
- Use pipeline-library to automatically publish docker image HOT 3
- Add updatecli manifest HOT 1
- Feature request: ability to archive repository
- Update deployment instructions in README.md HOT 1
- Don't attempt deployment on ci.jenkins.io HOT 3
- Support for Java 17 HOT 1
- List repository collaborators
- Support adding contributor to multiple repos at one time
- Adding committers to multiple repositories does not work HOT 1
- Adding one person to several repositories spams replies HOT 2
- Add command to add topics to a repository
- Add timestamps in logs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ircbot.