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

BuildCurrentPatchesOnly does not work for projects with complicated names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • gerrit-trigger-plugin
    • None
    • 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

       

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

              Created:
              Updated: