all pipeline: Use ci-scripts fetch refspec which includes refs/changes/*

Consistently use extended fetch pattern, to be able to directly test
tf-m-ci-scripts patches submitted to Gerrit.

Addresses https://linaro.atlassian.net/browse/TFC-639

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I64be38d6dcd122ee7a508d7d15c73395d5949d9b
diff --git a/tf-m-build-and-test.yaml b/tf-m-build-and-test.yaml
index 8183923..1a536e9 100644
--- a/tf-m-build-and-test.yaml
+++ b/tf-m-build-and-test.yaml
@@ -159,6 +159,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/ci.jpl
diff --git a/tf-m-build-config.yaml b/tf-m-build-config.yaml
index 3191d4b..1c536d9 100644
--- a/tf-m-build-config.yaml
+++ b/tf-m-build-config.yaml
@@ -176,6 +176,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/build-config.jpl
diff --git a/tf-m-build-docs-nightly.yaml b/tf-m-build-docs-nightly.yaml
index 5c005eb..86872e8 100644
--- a/tf-m-build-docs-nightly.yaml
+++ b/tf-m-build-docs-nightly.yaml
@@ -68,6 +68,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/build-docs.jpl
diff --git a/tf-m-build-docs.yaml b/tf-m-build-docs.yaml
index bd8cbda..ca3fc40 100644
--- a/tf-m-build-docs.yaml
+++ b/tf-m-build-docs.yaml
@@ -68,6 +68,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/build-docs.jpl
diff --git a/tf-m-checkpatch.yaml b/tf-m-checkpatch.yaml
index e4575c0..6585a83 100644
--- a/tf-m-checkpatch.yaml
+++ b/tf-m-checkpatch.yaml
@@ -74,6 +74,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/checkpatch.jpl
diff --git a/tf-m-code-coverage.yaml b/tf-m-code-coverage.yaml
index 622557e..6e6228b 100644
--- a/tf-m-code-coverage.yaml
+++ b/tf-m-code-coverage.yaml
@@ -151,6 +151,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/ci.jpl
diff --git a/tf-m-cppcheck.yaml b/tf-m-cppcheck.yaml
index 02c879d..1f6e093 100644
--- a/tf-m-cppcheck.yaml
+++ b/tf-m-cppcheck.yaml
@@ -118,6 +118,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/cppcheck.jpl
diff --git a/tf-m-extra-build.yaml b/tf-m-extra-build.yaml
index 3403a9c..e3a35ab 100644
--- a/tf-m-extra-build.yaml
+++ b/tf-m-extra-build.yaml
@@ -146,6 +146,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/ci.jpl
diff --git a/tf-m-lava-submit.yaml b/tf-m-lava-submit.yaml
index 01075f4..102d763 100644
--- a/tf-m-lava-submit.yaml
+++ b/tf-m-lava-submit.yaml
@@ -116,6 +116,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/lava-submit.jpl
diff --git a/tf-m-nightly-for-test.yaml b/tf-m-nightly-for-test.yaml
index 981ba9a..a18d5ce 100644
--- a/tf-m-nightly-for-test.yaml
+++ b/tf-m-nightly-for-test.yaml
@@ -149,6 +149,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/ci.jpl
diff --git a/tf-m-nightly-performance.yaml b/tf-m-nightly-performance.yaml
index a9787b2..066d6b0 100644
--- a/tf-m-nightly-performance.yaml
+++ b/tf-m-nightly-performance.yaml
@@ -156,6 +156,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/ci.jpl
diff --git a/tf-m-nightly.yaml b/tf-m-nightly.yaml
index 7152eaa..1a513c4 100644
--- a/tf-m-nightly.yaml
+++ b/tf-m-nightly.yaml
@@ -172,6 +172,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/ci.jpl
diff --git a/tf-m-release-static.yaml b/tf-m-release-static.yaml
index b12b8b2..ce5321b 100644
--- a/tf-m-release-static.yaml
+++ b/tf-m-release-static.yaml
@@ -140,6 +140,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/static.jpl
diff --git a/tf-m-release.yaml b/tf-m-release.yaml
index 2402e62..cad876c 100644
--- a/tf-m-release.yaml
+++ b/tf-m-release.yaml
@@ -152,6 +152,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/ci.jpl
diff --git a/tf-m-split-build.yaml b/tf-m-split-build.yaml
index f55e2c5..2efb36a 100644
--- a/tf-m-split-build.yaml
+++ b/tf-m-split-build.yaml
@@ -155,6 +155,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/ci.jpl
diff --git a/tf-m-static-checks.yaml b/tf-m-static-checks.yaml
index 5c8e2ec..df94374 100644
--- a/tf-m-static-checks.yaml
+++ b/tf-m-static-checks.yaml
@@ -59,6 +59,7 @@
             url: '$CI_SCRIPTS_REPO'
             branches:
             - '$CI_SCRIPTS_BRANCH'
+            refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
             credentials-id: GIT_SSH_KEY
             wipe-workspace: false
       script-path: jenkins/static-checks.jpl