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

p4 plugin does not respect P4IGNORE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • p4-plugin
    • None

      Files that should be getting ignored are deleted when p4sync is performed. Below notice that before running p4sync the file is ignored and afterward the file is no longer ignored.

      [Pipeline] sh
      [dryrunworkflowtest] Running shell script
      + p4 ignores -v -i .jenkins-stj-temp-safe_sh/err
      /jenkins/workspace/scm/dryrunworkflowtest/.jenkins-stj-temp-safe_sh/err ignored by /jenkins/workspace/scm/dryrunworkflowtest/.p4ignore.txt:10:.jenkins-/*
      [Pipeline] p4sync
      ... p4 client -o jenkins-brhel7ac-scm-dryrunworkflowtest-0 +
       
      ... p4 info +
       
      ... p4 client -o jenkins-brhel7ac-scm-dryrunworkflowtest-0 +
       
      ... p4 client -i +
       
      ... client: jenkins-brhel7ac-scm-dryrunworkflowtest-0
      ... p4 client -o jenkins-brhel7ac-scm-dryrunworkflowtest-0 +
       
      ... p4 info +
       
      ... p4 counter change +
       
      ... p4 changes -m1 -ssubmitted //jenkins-brhel7ac-scm-dryrunworkflowtest-0/... +
       
      Building on Node: brhel7ac
      ... p4 client -o jenkins-brhel7ac-scm-dryrunworkflowtest-0 +
       
      ... p4 info +
       
      P4 Task: establishing connection.
      ... server: perforce.csdt.sjm.com:1666
      ... node: brhel7ac

      P4 Task: reverting all pending and shelved revisions.
      ... p4 revert /jenkins/workspace/scm/dryrunworkflowtest/... +
       
      ... rm [abandoned files]
      duration: (27ms)

      P4 Task: cleaning workspace to match have list.
      ... p4 reconcile -w -f -a /jenkins/workspace/scm/dryrunworkflowtest/... +
       
      duration: (677ms)

      P4 Task: syncing files at change: 213742
      ... p4 sync -q /jenkins/workspace/scm/dryrunworkflowtest/...@213742 +
       
      duration: (49ms)

      P4 Task: saving built changes.
      Found last change 213742 on syncID jenkins-brhel7ac-scm-dryrunworkflowtest-0
      ... p4 client -o jenkins-brhel7ac-scm-dryrunworkflowtest-0 +
       
      ... p4 info +
       
      ... p4 client -o jenkins-brhel7ac-scm-dryrunworkflowtest-0 +
       
      ... p4 info +
       
      ... done

      [Pipeline] sh
      [dryrunworkflowtest] Running shell script
      + p4 ignores -v -i .jenkins-stj-temp-safe_sh/err
      /jenkins/workspace/scm/dryrunworkflowtest/.jenkins-stj-temp-safe_sh/err not ignored

            p4paul Paul Allen
            mrose Michael Rose
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: