NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Automated build using Jenkins

This only works once the project has been checked into the NCIEVS repository

  1. Navigate to https://evs-jenkins.nci.nih.gov/jenkins/job/_default/job/_lower/job/_Protege/
  2. Choose protege_build
  3. On the left side, select "Build With Parameters"
  4. Select the tag to be built from the "BUILD_OR_TAG" option list and click the "Build" button
  5. Wait until the build is complete
  6. If the build is successful, got back to https://evs-jenkins.nci.nih.gov/jenkins/job/_default/job/_lower/job/_Protege/
  7. Choose protege_deploy_dev (or protege_deploy_qa if applicable)
  8. Select "Build With Parameters"
  9. The version you selected in step 4 should automatically be populated in the "BUILD_OR_TAG" option list. Click the "Build" button
  10. Wait until the build is complete

Manually building a new Protege version on Dev

This step should only need to be performed during early snapshots, before code is checked into the NCIEVS source repository.

  1. You will be notified of the new build number.  For example: nci-1.00v
  2. On the dev machine go to /local/project and create a directory "mkdir nciedittab-dev-1.00v"
  3. Enter the directory and checkout the project from git "git clone https://github.com/ncievs/nci-protege5.git"
  4. The clone will create a directory "nci-protege5".   Enter into the scripts subdirectory "cd nci-protege5/scripts/"
  5. Run the build script, passing in the version number "./build.sh nci-1.00v ncievs".  Occasionally we may need to build from another server.  The developer should notify when this is necessary.
  6. Review the output for errors or build failures.
  7. Shutdown the protege server and explanation server (See below)
  8. Navigate to /local/content/protege/
  9. Move the protegeserver directory to a backup and create an empty folder in its place 
    1. "mv protegeserver protegeserver-bak"
    2. "mkdir protegeserver"
  10. Repeat the backup step for explanationserver and protegedesktop
  11. Copy the new protegeserver into the empty server directory "cp -r /local/project/nciedittab-dev-1.00v/nci-protege5/scripts/nci-protege5/protege-server/target/server-distribution/server/* ./protegeserver/"
  12. Copy the new protegedesktop into the empty desktop directory "cp -r 

    /local/project/nciedittab-dev-1.00v/nci-protege5/scripts/nci-protege5/protege/protege-desktop/target/protege-5.1.1-SNAPSHOT-platform-independent/Protege-5.1.1-SNAPSHOT/* ./protegedesktop"

...