Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59693

Trigger not removed when deleting a job

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: jira-trigger-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.198
      Jira Trigger Plugin 1.0
    • Similar Issues:

      Description

      When deleting a job with Jira trigger enable (e.g. checked the "Build when an issue is updated in JIRA" option), the trigger appear not removed.

      Steps to re-produce:

      • In Jenkins's system log, create a logger with "com.ceilfors.jenkins.plugins.jiratrigger" to trace

      Normal case

      • Create a job, enable Jira trigger option and save. from the logger's log it show "Added [xxx/xxxx]:[JiraChangelogTrigger] to triggers list"
      • Edit the job, disable Jira trigger option and save, from the logger's log, it show "Removed [xxx/xxxx]:[JiraChangelogTrigger] from triggers list"

      Potential Issue case

      • Create a job, enable Jira trigger option and save. from the logger's log it show "Added [xxx/xxxx]:[JiraChangelogTrigger] to triggers list"
      • Delete the job, in the logger's log, NO "Removed [xxx/xxxx]:[JiraChangelogTrigger] from triggers list" appear. <-- trigger remain active?

       

      Error use case:

      • Create a job, enable Jira trigger option, fill in an invalid value for jql filter, save the job
      • Delete the job.
      • Update the Jira issue to trigger the webhook to Jenkins. In Jenkins logs, it show error thrown due to validate Jql failure with the invalid value entered in the deleted job
      • Hot restarting the jenkins does not resolve the issue, i tried uninstalled the Jira trigger plugin and re-installed to made the faulty trigger removed.

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              ceilfors Wisen Tanasa
              Reporter:
              mkwong04 minkeat wong
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: