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

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • accurev-plugin
    • None
    • Jenkins v1.415, AccuRev v0.6.16

      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: }
      

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

              Created:
              Updated:
              Resolved: