Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archive older releases/milestone update-sites upon release #686

Closed
aedelmann opened this issue Jul 6, 2017 · 5 comments
Closed

Archive older releases/milestone update-sites upon release #686

aedelmann opened this issue Jul 6, 2017 · 5 comments

Comments

@aedelmann
Copy link
Contributor

Configure hudson that before the update-site.zip is uploaded to the update-site server, it archives the previous stable milestone/release in a subfolder
e.g. .../milestones/0.9.0

@vlvanchin
Copy link
Contributor

Parameterization of old version is done.
update of script is in progress

@vlvanchin
Copy link
Contributor

Parameterization of build type and current version is defined in the Hudson job. So on triggering the build job, we need to give the buildType (possible values: 'milestones', 'releases', 'nightly-snapshots') and currentVersion (eg. 0.10.0.M2).

This would create the necessary folder and copy and expand the zip in this folder.

This need to be configured in the relevant jobs.

@vlvanchin
Copy link
Contributor

  • Configuration of input parameters for the Jenkins Job
    • buildType - this represents the type of build that the Jenkins job has been triggered. The value that this parameter could possibly hold 'milestones', 'releases'.
    • currentVersion - this represents the version of the build that the Jenkins job has been triggered. The value that this parameter could possibly hold is the release/milestone version. (ex. “0.10.0.M1”)
  • Based on the above two parameters, the shell script would create the necessary folder for currentVersion for the corresponding buildtype.
  • The script will copy the artifact (zip file) to the newly created folder and expand the contents as well.
The syntax of the URI is as follows:
../vorto/update/<buildType>/<currentVersion>/?d

Example:
In the Jenkins job, if the buildType = milestones and currentVersion = 0.10.0.M1 then the following URL will have the artifacts. 

http://download.eclipse.org/vorto/update/milestones/0.10.0.M1/?d

@aedelmann
Copy link
Contributor Author

Can we close this issue ? Meaning is this logic already deployed and running for releases/milestones in Jenkins ?

@vlvanchin
Copy link
Contributor

The configurations are carried out in toolset release job in Hudson. Hence closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants