BuildCurrentPatchesOnly does not work for projects with complicated names

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: gerrit-trigger-plugin
    • None
    • Environment:
      Jenkins 2.401.1
      Gerrit-trigger-plugin 2.39.1
      Gerrit 3.3.11

      If project has complicated name like folder/project-name then buildCurrentPatchesOnly feature does not work because of cancelMatchingJobs gets parametr jobName as full name but for comparing it uses just relative name without folder or parent project item.task.getName()).

      https://github.com/jenkinsci/gerrit-trigger-plugin/blob/master/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/RunningJobs.java#L236

       

            Assignee:
            rsandell
            Reporter:
            Mikhail
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: