Swap to including sections in the tree build.
diff --git a/cicd/pipelines/tasks/task_updatepackages.jenkins b/cicd/pipelines/tasks/task_updatepackages.jenkins
index 32c8b6b..aadeaa6 100644
--- a/cicd/pipelines/tasks/task_updatepackages.jenkins
+++ b/cicd/pipelines/tasks/task_updatepackages.jenkins
@@ -56,6 +56,11 @@
}
dir('mendel') {
+ sections = [
+ 'core',
+ 'enterprise-bsp',
+ ]
+
bindirs = [
'source',
'binary-all',
@@ -63,8 +68,13 @@
'binary-armhf',
]
- bindirs.each {
- sh "mkdir -p dists/unstable/core/" + it
+ sections.each {
+ var section = it;
+
+ bindirs.each {
+ var bindir = it;
+ sh "mkdir -p dists/unstable/" + section + "/" + bindir
+ }
}
sh """