Jenkins cant handle multiline shell commands
Change-Id: Icdd54b961d8b6614367dc471c320bc9d2a5b5708
diff --git a/cicd/pipelines/tasks/task_publish_unstable.jenkins b/cicd/pipelines/tasks/task_publish_unstable.jenkins
index 2e0bde9..fc0390b 100644
--- a/cicd/pipelines/tasks/task_publish_unstable.jenkins
+++ b/cicd/pipelines/tasks/task_publish_unstable.jenkins
@@ -38,9 +38,9 @@
String stamp = date.format("yyyyMMdd-HHmmss")
sh """
- aptly task run snapshot merge core-full-unstable-${stamp} ${debianMirrorSnapshotName} ${coreSnapshotName}, \\
- publish snapshot --distribution=unstable core-full-unstable-${stamp} filesystem:unstable, \\
- publish snapshot --distribution=unstable ${bspSnapshotName} filesystem:unstable
+ aptly snapshot merge core-full-unstable-${stamp} ${debianMirrorSnapshotName} ${coreSnapshotName}
+ aptly publish snapshot --distribution=unstable core-full-unstable-${stamp} filesystem:unstable
+ aptly publish snapshot --distribution=unstable ${bspSnapshotName} filesystem:unstable
"""
}
}