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

icon tray does not show after start if an branch is not green #35

Closed
Huluvu424242 opened this issue Mar 4, 2020 · 0 comments · Fixed by #36
Closed

icon tray does not show after start if an branch is not green #35

Huluvu424242 opened this issue Mar 4, 2020 · 0 comments · Fixed by #36
Assignees
Milestone

Comments

@Huluvu424242
Copy link
Owner

Describe the bug
After start you can't see the jenkinsmonitor icon tray if an branch is aborted or failed or other not green.

To Reproduce

  1. Login ms window 10
  2. edit the jenkinsmonitor.properties at your user home at win. One branch must be aborted at jenkins.
  3. start javaw -jar jenkinsmonitor0.0.2-SNAPSHOT.jar
  4. See error:

Exception in thread "main" java.lang.IllegalArgumentException: No enum constant com.github.funthomas424242.jenkinsmonitor.jenkins.JobStatus.ABORTED

    at java.base/java.lang.Enum.valueOf(Enum.java:264)

    at com.github.funthomas424242.jenkinsmonitor.jenkins.JobStatus.valueOf(JobStatus.java:27)

    at com.github.funthomas424242.jenkinsmonitor.jenkins.JenkinsClient.getJobStatus(JenkinsClient.java:60)

    at com.github.funthomas424242.jenkinsmonitor.jenkins.JenkinsClient.lambda$ladeJobsStatus$0(JenkinsClient.java:105)

    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)

    at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)

    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)

    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)

    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)

    at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)

    at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)

    at com.github.funthomas424242.jenkinsmonitor.jenkins.JenkinsClient.ladeJobsStatus(JenkinsClient.java:118)

    at com.github.funthomas424242.jenkinsmonitor.gui.JenkinsMonitorTray.updateJobStatus(JenkinsMonitorTray.java:205)

    at com.github.funthomas424242.jenkinsmonitor.gui.JenkinsMonitorTray.updateJobStatus(JenkinsMonitorTray.java:201)

    at com.github.funthomas424242.jenkinsmonitor.JenkinsMonitor.<init>(JenkinsMonitor.java:38)

    at com.github.funthomas424242.jenkinsmonitor.JenkinsMonitor.main(JenkinsMonitor.java:44)

Expected behavior
the tray icon is shown

Screenshots
none

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: chrome
  • Version ???
@Huluvu424242 Huluvu424242 self-assigned this Mar 4, 2020
@Huluvu424242 Huluvu424242 added this to the 0.0.2 milestone Mar 4, 2020
@Huluvu424242 Huluvu424242 added this to Backlog in Jenkins Monitor Board via automation Mar 4, 2020
@Huluvu424242 Huluvu424242 linked a pull request Mar 4, 2020 that will close this issue
Jenkins Monitor Board automation moved this from Backlog to Done Mar 4, 2020
Huluvu424242 added a commit that referenced this issue Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant