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

Programmatic control over Perforce options

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • None
    • Platform agnostic, but for the record, Windows Server 2003/2008

      As it stands, Perforce options set via the Hudson GUI are sticky/permanent. It would be nice to provide a programmatic way (perhaps one already exists) to dynamically modify Perforce options. For instance:

      -Clean Workspace Before Each Build
      -One Time Force Sync
      -Always Force Sync

      Suppose I run continuous testing (test A, B and C) on build X, I'd like to clean+onetime force sync only once, before my three tests run. When I kick of the same three tests on build Y, perform the clean+onetime force sync again for build Y. As it stands, all three tests for both builds would have clean+onetime force sync executed, unless I'm missing something.

      Thanks.

            rpetti Rob Petti
            levante levante
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: