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

AccuRev: be able to populate multiple sub-paths instead of one or the entire stream

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • accurev-plugin
    • None
    • Jenkins v1.415, AccuRev v0.6.16

    Description

      have the option to enter multiple sub-paths (comma-separated) into the sub-path text field in the job settings.

      Code change in AccurevSCM.java from:

      501: cmd.add(workspaceSubPath);
      545: cmd.add(workspaceSubPath);
      568: cmd.add(workspaceSubPath);
      

      to:

      027: import java.util.StringTokenizer;
      502: final StringTokenizer st = new StringTokenizer(workspaceSubPath, ",");
      503: while (st.hasMoreElements()) {
      504: cmd.add(st.nextToken().trim());
      505: }
      549: final StringTokenizer st = new StringTokenizer(workspaceSubPath, ",");
      550: while (st.hasMoreElements()) {
      551: cmd.add(st.nextToken().trim());
      552: }
      575: final StringTokenizer st = new StringTokenizer(workspaceSubPath, ",");
      576: while (st.hasMoreElements()) {
      577: cmd.add(st.nextToken().trim());
      578: }
      

      Attachments

        Activity

          patch released in v0.6.18.

          helterscelter helter scelter added a comment - patch released in v0.6.18.

          fixed in v0.6.18

          helterscelter helter scelter added a comment - fixed in v0.6.18

          People

            helterscelter helter scelter
            robsimon robsimon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: