Repository: eclipse-corrosion/corrosion (language: rust)

Issue:
Zipped update site contains wrong directory structure
Hey,

Recently I downloaded the repository.zip for the latest snapshot release. Unfortunately zip file cannot be used directly as an update site, because it does not contain the p2 repo directly. Instead, it has the directory prefix `repository\target\repository\`. Is there a reason why the Jenkins 'Deploy' stage zips up the repository (which introduces the folder structure inside the zip file) instead of just copying the `repository/target/repository-X.Y.Z-SNAPSHOT.zip` file already produced as part of the build? If not, we could simply replace the last zip command by `cp repository/target/repository-*-SNAPSHOT.zip /home/data/httpd/download.eclipse.org/corrosion/snapshots/repository.zip`


Discussion / hints:
No good reason in particular. Feel free to update the Jenkinsfile to get better results.

Fix patch:
diff --git a/Jenkinsfile b/Jenkinsfile
index 0b5205b..798a99d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -50,7 +50,7 @@ pipeline {
 				sh 'rm -rf /home/data/httpd/download.eclipse.org/corrosion/snapshots'
 				sh 'mkdir -p /home/data/httpd/download.eclipse.org/corrosion/snapshots'
 				sh 'cp -r repository/target/repository/* /home/data/httpd/download.eclipse.org/corrosion/snapshots'
-				sh 'zip -R /home/data/httpd/download.eclipse.org/corrosion/snapshots/repository.zip repository/target/repository/*'
+				sh 'cp repository/target/repository-*-SNAPSHOT.zip /home/data/httpd/download.eclipse.org/corrosion/snapshots/repository.zip'
 			}
 		}
 	}


Test patch: