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

Ignore parent changes not working since v0.7.7

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • accurev-plugin
    • None
    • AccuRev plug-in v0.7.7;
      Jenkins 2.32.1

    Description

      Recently updated to version 0.7.7 of the Jenkins AccuRev plug-in.
      Unfortunately this seems to have broken the "Ignore parent changes" function.
      When this function is enabled, I get the following message in the polling log:

      Started on Jan 18, 2017 11:06:00 AM
      No workspace required.
      Running commands from folder "C:\workspace\Jenkins\jobs\Utilities\jobs\MultiProgram"
      [MultiProgram] $ "C:\Program Files\AccuRev\bin\accurev.exe" info -H accurev:5050
      Currently authenticated with Accurev server as 'CI', not logging in again.
      Stream not found or Accurev login failed.
      Done. Took 93 ms
      No changes

      When I disable this option, everything works fine. Note that it did work with the snapshot version I had while working on PR #37.

      Attachments

        Activity

          Code changed in jenkins
          User: Joseph
          Path:
          src/main/java/hudson/plugins/accurev/AccurevPromoteTrigger.java
          src/main/java/hudson/plugins/accurev/AccurevSCM.java
          src/main/java/hudson/plugins/accurev/CheckForChanges.java
          src/main/java/hudson/plugins/accurev/cmd/ShowStreams.java
          src/main/java/hudson/plugins/accurev/delegates/AbstractModeDelegate.java
          src/main/java/hudson/plugins/accurev/delegates/StreamDelegate.java
          src/main/java/hudson/plugins/accurev/delegates/WorkspaceDelegate.java
          http://jenkins-ci.org/commit/accurev-plugin/0efd3960d53704ee6f60ac950119baa80e5a45f7
          Log:
          JENKINS-41165 Fix for Ignore Parent (#39)

          Fixing Ignore Parent

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Joseph Path: src/main/java/hudson/plugins/accurev/AccurevPromoteTrigger.java src/main/java/hudson/plugins/accurev/AccurevSCM.java src/main/java/hudson/plugins/accurev/CheckForChanges.java src/main/java/hudson/plugins/accurev/cmd/ShowStreams.java src/main/java/hudson/plugins/accurev/delegates/AbstractModeDelegate.java src/main/java/hudson/plugins/accurev/delegates/StreamDelegate.java src/main/java/hudson/plugins/accurev/delegates/WorkspaceDelegate.java http://jenkins-ci.org/commit/accurev-plugin/0efd3960d53704ee6f60ac950119baa80e5a45f7 Log: JENKINS-41165 Fix for Ignore Parent (#39) Fixing Ignore Parent

          Fixed in release 0.7.8

          casz Joseph Petersen (old) added a comment - Fixed in release 0.7.8
          arnom Arno Moonen added a comment -

          @casz: I'm running 0.7.11 now and it seems that the filter is broken again. I've promoted changes to files that are within the Sub-path defined in the AccuRev SCM configuration, however, a poll does not trigger the build.
          I've also tried with the Filter for Poll SCM option set to the same path, but with the same result.

          This is my last week at the client that uses AccuRev. Hopefully I will be able to find some time and get you some additional info.

          arnom Arno Moonen added a comment - @ casz : I'm running 0.7.11 now and it seems that the filter is broken again. I've promoted changes to files that are within the Sub-path defined in the AccuRev SCM configuration, however, a poll does not trigger the build. I've also tried with the Filter for Poll SCM option set to the same path, but with the same result. This is my last week at the client that uses AccuRev. Hopefully I will be able to find some time and get you some additional info.

          arnom sadly who ever though it was a good idea to make sub-path as part of the filter when filter wasn't specified made it harder for themself

          Your Filter for Poll should be using simple wildcards.

          example
          sub-path: uncle/bob, Jenkinsfile
          Filter: unclue/bob/*, Jenkinsfile

          casz Joseph Petersen (old) added a comment - arnom sadly who ever though it was a good idea to make sub-path as part of the filter when filter wasn't specified made it harder for themself Your Filter for Poll should be using simple wildcards. example sub-path: uncle/bob, Jenkinsfile Filter: unclue/bob/*, Jenkinsfile
          arnom Arno Moonen added a comment -

          Thanks, that does work. I'll update my templates.

          arnom Arno Moonen added a comment - Thanks, that does work. I'll update my templates.

          People

            jetersen Joseph Petersen
            arnom Arno Moonen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: