Produced by Araxis Merge on 10/24/2017 6:38:27 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | CHAMP_VA1.zip\CHAMP_VA1 | build-local.sh | Mon Oct 16 21:06:50 2017 UTC |
| 2 | CHAMP_VA1.zip\CHAMP_VA1 | build-local.sh | Thu Oct 19 20:00:59 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 90 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | #!/bin/sh | |
| 2 | ||
| 3 | printf "\n \n\n\n**** RUNNING b uild.sh ** ********** ********\n \n" | |
| 4 | ||
| 5 | # Set DTR for Docker - Perform against A LL Dockerf iles in yo ur project | |
| 6 | /usr/bin/p erl -i -pe "s|%%DTR_ PREFIX%%|$ DTR_PREFIX |" Dockerf ile || { e cho "FATAL : Could no t set DTR Prefix"; e xit 1; } | |
| 7 | /usr/bin/p erl -i -pe "s|%%DTR_ ORG%%|$DTR _ORG|" Doc kerfile || { echo "F ATAL: Coul d not set DTR Ograni zation'"; exit 1; } | |
| 8 | ||
| 9 | # Dependen cy Check | |
| 10 | printf "\n \n**** Man datory: De pendency C hecks **** ********** ******\n" | |
| 11 | ||
| 12 | npm instal l || { ech o "FATAL: Failed on 'npm insta ll'"; exit 1; } | |
| 13 | cd app | |
| 14 | npm instal l || { ech o "FATAL: Failed on 'npm insta ll'"; exit 1; } | |
| 15 | cd ../ | |
| 16 | ||
| 17 | ||
| 18 | # Build In jection | |
| 19 | printf "\n \n**** Bui ld Injecti on: Add Bu ild Date/T ime ****** ********** ****\n" | |
| 20 | ||
| 21 | cd app | |
| 22 | currentDat e=$('date' ) | |
| 23 | /usr/bin/p erl -i -pe "s!\"appB uildDate\" : \"\"!\"a ppBuildDat e\": \"$cu rrentDate\ "!" ./pack age.json | |
| 24 | ||
| 25 | # System A dministrat ors Update s | |
| 26 | printf "\n \n**** Bui ld Injecti on: System Administr ators **** ********** ******\n" | |
| 27 | /usr/bin/p erl -i -pe "s!\"keyF ileName\": \"\"!\"ke yFileName\ ": \"./cer t/nodejsde v.mobilehe alth. DNS .key\"!" . /package.j son | |
| 28 | /usr/bin/p erl -i -pe "s!\"cert FileName\" : \"\"!\"c ertFileNam e\": \"./c ert/nodejs dev.crt\"! " ./packag e.json | |
| 29 | cp config/ settings-l ocal.json config/set tings.json | |
| 30 | printf "\n \n**** Bui ld Injecti on: Update s Complete ********* ********** *\n" | |
| 31 | ||
| 32 | # Reset di rectory | |
| 33 | cd ../ | |
| 34 | ||
| 35 | ||
| 36 | # Function al, Integr ation, Uni t and Acce ptance Tes ts | |
| 37 | printf "\n \n**** Man datory: Te sting **** ********** ******\n" | |
| 38 | ||
| 39 | npm test | | { echo " FATAL: Fai led on 'np m test'"; exit 1; } | |
| 40 | ||
| 41 | # Build Ar tifact Pro duction | |
| 42 | #printf "\ n\n**** Op tional: Pr oducing Bu ild Artifa cts ****** ********** ****\n" | |
| 43 | ||
| 44 | #tar -zcvf $JOB_NAME .BUILD-$BU ILD_NUMBER .tar.gz ap p build.sh app.yml a pp.env con fig.js Doc kerfile do cker-compo se.yml || { echo "FA TAL: Faile d on 'Arti fact tar'' "; exit 1; } | |
| 45 | ||
| 46 | printf "\n \n\n\n**** COMPLETED build.sh ********** ********** \n\n" |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.