NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

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

Building and Installing using Jenkins

  1. A new release will be tagged in the github project https://github.com/ncievs/nci-protege.git
  2. Navigate to Jenkins at https://evs-jenkins.nci.nih.gov/jenkins/job/_default/job/_lower/job/_Protege/
  3. Choose protege_build > Build with Parameters and select the appropriate tag in the BRANCH_OR_TAG selection box and click Build
  4. Review the Console Output for any errors
  5. For Dev, choose protege_deploy_dev > Build with Parameters. You should be presented with the same tag. Click Build
  6. Review the Console Output for any errors
  7. Check the protege dev server and see that the /local/content/protege/protege-server and protege-desktop have been updated
  8. Confirm the service has started by checking /local/content/protege/logs/protserv-console.txt for "Admin server has started at port 9091"

Manual Build

Building a new Protege version on Dev using Ant

...

  1. Navigate to the running instance of protege, on Dev this is /local/content/protege/scripts/
  2. Shutdown the protege server: "./shutdown.sh" 
  3. Archive the previous version of the services, which are these 2 directories in /local/content/protege:
    • protegeserver
    • protegedesktop
  4. Copy the new protegeserver into the service directory "cp -r <build-location>/nci-protege5/scripts/nci-protege5/protege-server/target/server-distribution/server /local/content/protege/protegeserver"
  5. Copy the new protegedesktop into the empty desktop directory "cp -r 

    <build-location>/nci-protege5/scripts/nci-protege5/protege/protege-desktop/target/protege-5.<version>-SNAPSHOT-platform-independent/Protege-5.<version>-SNAPSHOT /local/content/protege/protegedesktop"

  6. From the /local/content/protege/scripts directory start the protege server: "./run-background.sh".  The server should start almost immediately
  7. Confirm the service has started by checking /local/content/protege/logs/protserv-console.txt for "Admin server has started at port 9091"

Building and Installing using Jenkins

  1. A new release will be tagged in the github project https://github.com/ncievs/nci-protege.git
  2. Navigate to Jenkins at https://evs-jenkins.nci.nih.gov/jenkins/job/_default/job/_lower/job/_Protege/
  3. Choose protege_build > Build with Parameters and select the appropriate tag in the BRANCH_OR_TAG selection box and click Build
  4. Review the Console Output for any errors
  5. For Dev, choose protege_deploy_dev > Build with Parameters. You should be presented with the same tag. Click Build
  6. Review the Console Output for any errors
  7. Check the protege dev server and see that the /local/content/protege/protege-server and protege-desktop have been updated
  8. Confirm the service has started by checking /local/content/protege/logs/protserv-console.txt for "Admin server has started at port 9091"

...