Page History
Table of Contents |
---|
...
Automated build using Jenkins
This only works once the project has been checked into the NCIEVS repository
- Navigate to https://evs-jenkins.nci.nih.gov/jenkins/job/_default/job/_lower/job/_Protege/
- Choose protege_build
- On the left side, select "Build With Parameters"
- Select the tag to be built from the "BUILD_OR_TAG" option list and click the "Build" button
- Wait until the build is complete
- If the build is successful, got back to https://evs-jenkins.nci.nih.gov/jenkins/job/_default/job/_lower/job/_Protege/
- Choose protege_deploy_dev (or protege_deploy_qa if applicable)
- Select "Build With Parameters"
- The version you selected in step 4 should automatically be populated in the "BUILD_OR_TAG" option list. Click the "Build" button
- 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.
- You will be notified of the new build number. For example: nci-1.00v
- On the dev machine go to /local/project and create a directory "mkdir nciedittab-dev-1.00v"
- Enter the directory and checkout the project from git "git clone https://github.com/ncievs/nci-protege5.git"
- The clone will create a directory "nci-protege5". Enter into the scripts subdirectory "cd nci-protege5/scripts/"
- 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.
- Review the output for errors or build failures.
- Shutdown the protege server and explanation server (See below)
- Navigate to /local/content/protege/
- Move the protegeserver directory to a backup and create an empty folder in its place
- "mv protegeserver protegeserver-bak"
- "mkdir protegeserver"
- Repeat the backup step for explanationserver and protegedesktop
- 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/"
- 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"
...