Use components in the publishes.

Change-Id: Icecebea57801ea7f64ca04f0188e9d025c379c3e
diff --git a/cicd/pipelines/tasks/task_publish_unstable.jenkins b/cicd/pipelines/tasks/task_publish_unstable.jenkins
index e5010c1..6fbd72e 100644
--- a/cicd/pipelines/tasks/task_publish_unstable.jenkins
+++ b/cicd/pipelines/tasks/task_publish_unstable.jenkins
@@ -54,10 +54,10 @@
                     sh """
                        mkdir -p /var/lib/aptly/publishes/unstable
                        aptly snapshot merge core-full-unstable-${stamp} ${debianMirrorSnapshotName} ${coreSnapshotName}
-                       aptly publish snapshot --batch --passphrase-file=/var/lib/aptly/keyring/passphrase.txt --distribution=unstable core-full-unstable-${stamp} filesystem:unstable:unstable \
-                           || aptly publish switch --batch --passphrase-file=/var/lib/aptly/keyring/passphrase.txt unstable filesystem:unstable:unstable core-full-unstable-${stamp}
-                       aptly publish snapshot --batch --passphrase-file=/var/lib/aptly/keyring/passphrase.txt --distribution=unstable ${bspSnapshotName} filesystem:unstable:unstable \
-                           || aptly publish switch --batch --passphrase-file=/var/lib/aptly/keyring/passphrase.txt unstable filesystem:unstable:unstable ${bspSnapshotName}
+                       aptly publish snapshot --batch --passphrase-file=/var/lib/aptly/keyring/passphrase.txt --distribution=unstable --component=main core-full-unstable-${stamp} filesystem:unstable:unstable \
+                           || aptly publish switch --batch --passphrase-file=/var/lib/aptly/keyring/passphrase.txt --component=main unstable filesystem:unstable:unstable core-full-unstable-${stamp}
+                       aptly publish snapshot --batch --passphrase-file=/var/lib/aptly/keyring/passphrase.txt --distribution=unstable --component=bsp-enterprise ${bspSnapshotName} filesystem:unstable:unstable \
+                           || aptly publish switch --batch --passphrase-file=/var/lib/aptly/keyring/passphrase.txt --component=bsp-enterprise unstable filesystem:unstable:unstable ${bspSnapshotName}
                        """
                 }
             }