Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Story Points:2
-
Epic Link:
-
Sprint:Winter 2018 Sprint 2, Winter 2018 Sprint 3, Summer 2019 Sprint 10, Summer 2019 Sprint 11
Description
Whenever we do a release of IGB, we have to hard-code the IGB version string.
Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from root POM.xml version string.
For an example, see how this is being done for Genoviz SDK build process.
Note: the most complicated aspect of this will probably be figuring out how to create the version string used in the IGB installer names, which use underscore characters instead of periods.
Note: Srishti Tiwari worked on this previously. The issue description previously recommend testing the build environment and process using Docker image running on a local host. See comments.
To test this issue :
1. Install Docker on your machine; start Docker daemon
2. Open bitbucket-pipelines.yml file and notice the docker image name: ( lorainelab/igb-maven-install4j:jre-1.8.0_191 ). Pull this docker image using command docker pull lorainelab/igb-maven-install4j:jre-1.8.0_191
3. docker login
4. clone the repository
5. Open build_igb
6. Replace the bitbucket pipeline variables with actual values
7. Run each statement one by one on the docker terminal.