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

BuildCurrentPatchesOnly does not work for projects with complicated names

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • gerrit-trigger-plugin
    • None
    • Jenkins 2.401.1
      Gerrit-trigger-plugin 2.39.1
      Gerrit 3.3.11

    Description

      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

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: