diff --git a/.oniro-ci/build-generic.yaml b/.oniro-ci/build-generic.yaml
index 2c80411e1251708f7e36b8745645e1f6b7f1dd9d..6dce95b4232b9f670ab5864b2afb504d5315ad5a 100644
--- a/.oniro-ci/build-generic.yaml
+++ b/.oniro-ci/build-generic.yaml
@@ -15,6 +15,9 @@
     CI_ONIRO_MANIFEST_MIRROR: oniro-develop
     CI_ONIRO_GIT_REPO_PATH: ""
     CI_ONIRO_INSTANCE_SIZE: s3.large.8
+    # For testing with bleeding edge Yocto.
+    CI_ONIRO_OECORE_REPO: ""
+    CI_ONIRO_OECORE_BRANCH: ""
   before_script:
     - test ! -e "$CI_PROJECT_DIR"/.scratch-dir-name || (
         echo "precondition failed - concurrent modification of $CI_PROJECT_DIR"
@@ -56,6 +59,20 @@
       fi
       set +x
 
+    - |
+      set -x
+      if [ -n "$CI_ONIRO_OECORE_BRANCH" ]; then
+          if [ -n "$CI_ONIRO_OECORE_REPO" ]; then
+              echo "CI: Using oe-core from '$CI_ONIRO_OECORE_REPO': '$CI_ONIRO_OECORE_BRANCH'"
+              ( cd oe-core && git remote add oecore-nut "$CI_ONIRO_OECORE_REPO" \
+                  && git fetch oecore-nut && git checkout oecore-nut/"$CI_ONIRO_OECORE_BRANCH" )
+          else
+              echo "CI: Using oe-core branch: '$CI_ONIRO_OECORE_BRANCH'"
+              ( cd oe-core && git fetch && git checkout "$CI_ONIRO_OECORE_BRANCH" )
+          fi
+      fi
+      set +x
+
   script:
     # Reload the value of SCRATCH_DIR set in the before_script phase. Those run
     # in separate shell processes and do not share environment variables.
diff --git a/docs/ci/hidden-jobs/workspace.rst b/docs/ci/hidden-jobs/workspace.rst
index c930b9f88b66272dace5fab0e917d29b6ce75e75..b87554376f0201bc2757c622feb3e73ddf188562 100644
--- a/docs/ci/hidden-jobs/workspace.rst
+++ b/docs/ci/hidden-jobs/workspace.rst
@@ -108,6 +108,20 @@ Merge Results`_ for more information.
 
 The default value is the empty string.
 
+
+CI_ONIRO_OECORE_BRANCH
+----------------------
+
+Can be used to specify Openembedded Core branch to be used for testing.
+If not specified, the one defined in ``CI_ONIRO_MANIFEST_NAME`` manifest file will be used
+
+CI_ONIRO_OECORE_REPO
+--------------------
+
+Can be used to specify Openembedded Core repo (remote) to be used for testing.
+If not specified, the one defined in ``CI_ONIRO_MANIFEST_NAME`` manifest file will be used
+NOTE: ``CI_ONIRO_OECORE_BRANCH`` *must* be specified for overriden repos
+
 Local git-repo Mirror
 =====================