Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1193

Get IGB version strings from POM instead of hard-coding

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Story Points:
      2
    • 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.

        Attachments

          Issue Links

            Activity

            aloraine Ann Loraine created issue -
            aloraine Ann Loraine made changes -
            Field Original Value New Value
            Sprint Early Fall 2017 [ 47 ]
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with references to IGB_VERSION environment variable. Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with placeholder to allow editing of this variable during the build process.

            Options:

            1) Insert value from a bitbucket pipeline environment variable, added manually by developer

            2) Parse version string from IGB code files (pom.xml or properties file?)


            Alternatively, parse IGB version string from IGB project directly.

            aloraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with placeholder to allow editing of this variable during the build process.

            Options:

            1) Insert value from a bitbucket pipeline environment variable, added manually by developer

            2) Parse version string from IGB code files (pom.xml or properties file?)


            Alternatively, parse IGB version string from IGB project directly.

            Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with placeholder to allow editing of this variable during the build process.

            Options:

            1) Insert value from a bitbucket pipeline environment variable, added manually by developer

            2) Parse version string from IGB code files (pom.xml or properties file?)

            aloraine Ann Loraine made changes -
            Assignee Sanket Patil [ spatil26 ]
            aloraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            aloraine Ann Loraine made changes -
            Fix Version/s 9.0.2 [ 10600 ]
            Story Points 0.25 1
            aloraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with placeholder to allow editing of this variable during the build process.

            Options:

            1) Insert value from a bitbucket pipeline environment variable, added manually by developer

            2) Parse version string from IGB code files (pom.xml or properties file?)

            Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with placeholder to allow editing of this variable during the build process.

            Options:

            1) Insert value from a bitbucket pipeline environment variable, added manually by developer

            2) Parse version string from IGB code files (pom.xml or properties file?) PREFERRED

            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            aloraine Ann Loraine made changes -
            Summary replace IGB version strings with IGB_VERSION environment variable references Replace IGB version strings with IGB_VERSION environment variable references
            aloraine Ann Loraine made changes -
            Summary Replace IGB version strings with IGB_VERSION environment variable references Get IGB version strings from POM instead of hard-coding
            aloraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings (e.g., 9.0.1 in curl command) with placeholder to allow editing of this variable during the build process.

            Options:

            1) Insert value from a bitbucket pipeline environment variable, added manually by developer

            2) Parse version string from IGB code files (pom.xml or properties file?) PREFERRED

            Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from POM.xml


            aloraine Ann Loraine made changes -
            Link This issue relates to IGBF-1216 [ IGBF-1216 ]
            aloraine Ann Loraine made changes -
            Labels Beginner
            aloraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from POM.xml


            Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from root POM.xml version string.
            In addition, change name of release build artifacts IGB-[platform]-[version].[dmg|exe|sh] where "version" is version string obtained from POM. Don't assume anything about what "version" will be.
            For an example, see how this is being done for Genoviz SDK build process.
            This will likely require understanding and editing the Install4J configuration file.
            *Tip*: do as much editing and testing as possible using our Dockerized build environment on an EC2 or on your own machine, not bitbucket. It will probably take less effort.

            This is tagged as beginner because the process and tooling are well-documented. Requires understanding how multiple systems interact. After this you will have a deeper knowledge of how we build the project.
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Fix Version/s 9.0.2 Minor Release [ 10600 ]
            aloraine Ann Loraine made changes -
            Link This issue relates to IGBF-1207 [ IGBF-1207 ]
            aloraine Ann Loraine made changes -
            Labels Beginner Intermediate
            aloraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from root POM.xml version string.
            In addition, change name of release build artifacts IGB-[platform]-[version].[dmg|exe|sh] where "version" is version string obtained from POM. Don't assume anything about what "version" will be.
            For an example, see how this is being done for Genoviz SDK build process.
            This will likely require understanding and editing the Install4J configuration file.
            *Tip*: do as much editing and testing as possible using our Dockerized build environment on an EC2 or on your own machine, not bitbucket. It will probably take less effort.

            This is tagged as beginner because the process and tooling are well-documented. Requires understanding how multiple systems interact. After this you will have a deeper knowledge of how we build the project.
            Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from root POM.xml version string.
            In addition, change name of release build artifacts IGB-[platform]-[version].[dmg|exe|sh] where "version" is version string obtained from POM. Don't assume anything about what "version" will be.
            For an example, see how this is being done for Genoviz SDK build process.
            This will likely require understanding and editing the Install4J configuration file.
            *Tip*: do as much editing and testing as possible using our Dockerized build environment on an EC2 or on your own machine, not bitbucket. It will probably take less effort.

            This is tagged as Intermediate because the process and tooling are well-documented but requires understanding how multiple systems interact. After this you will have a deeper knowledge of how we build the project.
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2 [ 57 ]
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Assignee Srishti Tiwari [ stiwari8 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2 [ 57 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Assignee Srishti Tiwari [ stiwari8 ] Ann Loraine [ aloraine ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Assignee Ann Loraine [ aloraine ]
            aloraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            aloraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] Reviewing [ 10301 ]
            aloraine Ann Loraine made changes -
            Status Reviewing [ 10301 ] Open [ 1 ]
            aloraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Srishti Tiwari [ stiwari8 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            aloraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] Reviewing [ 10301 ]
            aloraine Ann Loraine made changes -
            Assignee Srishti Tiwari [ stiwari8 ] Ann Loraine [ aloraine ]
            aloraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Srishti Tiwari [ stiwari8 ]
            aloraine Ann Loraine made changes -
            Status Reviewing [ 10301 ] Open [ 1 ]
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3, Spring 2019 Sprint 1 [ 57, 58, 59 ]
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            nfreese Nowlan Freese made changes -
            Assignee Srishti Tiwari [ stiwari8 ] Ann Loraine [ aloraine ]
            nfreese Nowlan Freese made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3, Spring 2019 Sprint 1 [ 57, 58, 59 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ]
            nfreese Nowlan Freese made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3, Spring 2019 Sprint 2 [ 57, 58, 60 ]
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3, Spring 2019 Sprint 2 [ 57, 58, 60 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ]
            aloraine Ann Loraine made changes -
            Rank Ranked lower
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3, Summer 2019 Sprint 9 [ 57, 58, 68 ]
            aloraine Ann Loraine made changes -
            Rank Ranked lower
            aloraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3, Summer 2019 Sprint 9 [ 57, 58, 68 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ]
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3 [ 57, 58 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3, Summer 2019 Sprint 10 [ 57, 58, 69 ]
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Description Review bitbucket-pipelines.yml file and replace hard-coded IGB version strings with value parsed from root POM.xml version string.
            In addition, change name of release build artifacts IGB-[platform]-[version].[dmg|exe|sh] where "version" is version string obtained from POM. Don't assume anything about what "version" will be.
            For an example, see how this is being done for Genoviz SDK build process.
            This will likely require understanding and editing the Install4J configuration file.
            *Tip*: do as much editing and testing as possible using our Dockerized build environment on an EC2 or on your own machine, not bitbucket. It will probably take less effort.

            This is tagged as Intermediate because the process and tooling are well-documented but requires understanding how multiple systems interact. After this you will have a deeper knowledge of how we build the project.
            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.

            aloraine Ann Loraine made changes -
            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.

            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: [~stiwari8] 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.
            aloraine Ann Loraine made changes -
            Comment [ Note: This may be a two-person job. We can ask another developer to take over for the next steps as you have made a good foundation on this. ]
            aloraine Ann Loraine made changes -
            Status Open [ 1 ] Open [ 1 ]
            aloraine Ann Loraine made changes -
            Epic Link IGBF-1531 [ 17617 ]
            aloraine Ann Loraine made changes -
            Link This issue is blocked by IGBF-1829 [ IGBF-1829 ]
            aloraine Ann Loraine made changes -
            Story Points 1 2
            aloraine Ann Loraine made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            aloraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            aloraine Ann Loraine made changes -
            Sprint Winter 2018 Sprint 2, Winter 2018 Sprint 3, Summer 2019 Sprint 10 [ 57, 58, 69 ] Winter 2018 Sprint 2, Winter 2018 Sprint 3, Summer 2019 Sprint 10, Summer 2019 Sprint 11 [ 57, 58, 69, 70 ]
            aloraine Ann Loraine made changes -
            Rank Ranked higher
            aloraine Ann Loraine made changes -
            Status In Progress [ 3 ] Needs Testing [ 10002 ]
            aloraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Assignee Srishti Tiwari [ stiwari8 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Testing In Progress [ 10003 ] Closed [ 6 ]
            aloraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 17872 ] Fall 2019 Workflow Update [ 19824 ]
            aloraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 19824 ] Revised Fall 2019 Workflow Update [ 21943 ]

              People

              • Assignee:
                stiwari8 Srishti Tiwari (Inactive)
                Reporter:
                aloraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: