Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Configuring the STEM Build on Eclipse CI"

(Adding a new build Target on the STEM download page)
(Adding a new build Target on the STEM download page)
Line 18: Line 18:
  
 
  Note: Committers must be logged in to see the link actions described in these steps
 
  Note: Committers must be logged in to see the link actions described in these steps
 +
<br/>
  
 +
== Creating a new download target ==
 
To create a new download target in the list of available items for download  
 
To create a new download target in the list of available items for download  
 
+
''(assuming the new target is called: e.g.,)'' '''''STEM_M4'''''
 
+
To create a new target (e.g., called) '''''STEM_M4'''''
+
 
* Please go to the STEMWeekly project at [https://jenkins.eclipse.org/stem/job/STEMWeekly/ https://jenkins.eclipse.org/stem/job/STEMWeekly/] and click '''configure''':
 
* Please go to the STEMWeekly project at [https://jenkins.eclipse.org/stem/job/STEMWeekly/ https://jenkins.eclipse.org/stem/job/STEMWeekly/] and click '''configure''':
 
* Slide to the build section to the (Execute shell part)
 
* Slide to the build section to the (Execute shell part)
Line 38: Line 38:
 
  /home/data/httpd/download.eclipse.org/stem/versions
 
  /home/data/httpd/download.eclipse.org/stem/versions
  
This file will be used then by the file '''download.php''' of the STEM website. You need only to add an extra line of code to make the
+
This file will be used then by the file '''download.php''' of the STEM website.
website process your new item in the version file. Add:
+
<br/>
 +
You need only to add an extra line of code to make the website process your new item in the version file. Add:
  
 
  <?php displayBuild("'''THE NEW HEADER TEXT'''", " '''''STEM_M4'''''", $versions); ?>
 
  <?php displayBuild("'''THE NEW HEADER TEXT'''", " '''''STEM_M4'''''", $versions); ?>
  
 
In this command please use the same  (i.e., what you used for )'''''STEM_M4'''''
 
In this command please use the same  (i.e., what you used for )'''''STEM_M4'''''

Revision as of 12:23, 20 May 2019

STEM TOP BAR.gif

Configuration

Currently the STEM build running on the Eclipse Continuous Integration Infrastructure has two targets.

  1. The current release (STEM 4.0)
  2. The Weekly Integration Build. This runs every Saturday.


Adding a new build Target on the STEM download page

(project leads only)

Note: Committers must be logged in to see the link actions described in these steps


Creating a new download target

To create a new download target in the list of available items for download (assuming the new target is called: e.g.,) STEM_M4

If you are interested in uploading the build artifacts to a new target, please create the folder:

ssh genie.stem@projects-storage.eclipse.org 'mkdir -p /home/data/httpd/download.eclipse.org/stem/ STEM_M4

Then add the new build type to the list of versions by editing the echo command

echo " STEM_M4.version=4.0.0.I"${CURRENTDATE} ; echo " STEM_M4.date="${CURRENTDATE}

This echo command must be part of the other echo commands list which will write the output to the version file located at

/home/data/httpd/download.eclipse.org/stem/versions

This file will be used then by the file download.php of the STEM website.
You need only to add an extra line of code to make the website process your new item in the version file. Add:

<?php displayBuild("THE NEW HEADER TEXT", " STEM_M4", $versions); ?>

In this command please use the same (i.e., what you used for )STEM_M4

Back to the top