15. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 11/27/2018 11:44:17 AM Eastern Standard 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.

15.1 Files compared

# Location File Last Modified
1 CHAMPVA 1.0.2.zip\CHAMPVA 1.0.2\server-master@38d1119ab25.zip build-local.sh Thu Sep 27 17:02:53 2018 UTC
2 CHAMPVA 1.0.2.zip\CHAMPVA 1.0.2\server-master@38d1119ab25.zip build-local.sh Tue Nov 27 16:36:08 2018 UTC

15.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 90
Changed 1 2
Inserted 0 0
Removed 0 0

15.3 Comparison options

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

15.4 Active regular expressions

No regular expressions were active.

15.5 Comparison detail

  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/ DNS . URL .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"