20132. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/20/2018 10:12:19 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.

20132.1 Files compared

# Location File Last Modified
1 CCRS.zip\CCRS\CCRS-BUSRULES-v1.5.3.zip\CCRS-BUSRULES-v1.5.3-436e6fff1115001d614ccd45b469ad60a9bdb27b\adminapp Jenkinsfile Tue Apr 10 06:18:41 2018 UTC
2 CCRS.zip\CCRS\CCRS-BUSRULES-v1.5.3.zip\CCRS-BUSRULES-v1.5.3-436e6fff1115001d614ccd45b469ad60a9bdb27b\adminapp Jenkinsfile Thu Jun 14 14:04:24 2018 UTC

20132.2 Comparison summary

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

20132.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

20132.4 Active regular expressions

No regular expressions were active.

20132.5 Comparison detail

  1   #!groovy
  2  
  3   import gro ovy.json.J sonOutput
  4   import jav a.util.Opt ional
  5   import hud son.tasks. test.Abstr actTestRes ultAction
  6   import hud son.model. Actionable
  7   import hud son.tasks. junit.Case Result
  8  
  9   def slackN otificatio nChannel =  "build"
  10   def author  = ""
  11   def messag e = ""
  12   def testSu mmary = ""
  13   def total  = 0
  14   def failed  = 0
  15   def skippe d = 0
  16  
  17   def notify Slack(text , channel,  attachmen ts) {
  18       def sl ackURL = ' https://ho oks.slack. com/servic es/T75DXB6 SU/B8MMSUM FT/dgqnOZJ vBwM2BVr6J 1fYYxUZ'
  19       def je nkinsIcon  = 'https:/ /wiki.jenk ins-ci.org /download/ attachment s/2916393/ logo.png'
  20  
  21       def pa yload = Js onOutput.t oJson([tex t: text,
  22           ch annel: cha nnel,
  23             username:  " PII ",
  24           ic on_url: je nkinsIcon,
  25           at tachments:  attachmen ts
  26       ])
  27  
  28       sh "cu rl -X POST  --data-ur lencode \' payload=${ payload}\'  ${slackUR L}"
  29   }
  30  
  31   def getGit Author = {
  32       def co mmit = sh( returnStdo ut: true,  script: 'g it rev-par se HEAD')
  33       author  = sh(retu rnStdout:  true, scri pt: "git - -no-pager  show -s -- format='%a n' ${commi t}").trim( )
  34   }
  35  
  36   def getLas tCommitMes sage = {
  37       messag e = sh(ret urnStdout:  true, scr ipt: 'git  log -1 --p retty=%B') .trim()
  38   }
  39  
  40   def popula teGlobalVa riables =  {
  41       getLas tCommitMes sage()
  42       getGit Author()
  43   }
  44  
  45   node {
  46       try {
  47           st age('Check out') {
  48                checkout  scm
  49           }
  50           
  51           st age ('Buil d') {
  52                env.NODE JS_HOME =  "${tool 'r ecent node '}"
  53                env.PATH ="${env.NO DEJS_HOME} /bin:${env .PATH}"
  54               
  55               sh 'npm - -version'            
  56               populateG lobalVaria bles
  57               sh 'npm - -prefix ad minapp/ in stall ng-a dmin --sav e'
  58           }   
  59           
  60           st age ('.war ') {
  61                    echo  "Building  .war file "
  62                    dir( 'brengine' ) {
  63                                      sh './gr adlew -Dor g.gradle.j ava.home=/ opt/jdk1.8 .0_144/jre / build -x  check'
  64                             }
  65                    
  66           } 
  67           
  68           st age ('Arch ive') {
  69                    arch iveArtifac ts artifac ts: 'breng ine/build/ libs/**/*. war', fing erprint: t rue
  70           }
  71      
  72           
  73       } catc h (hudson. AbortExcep tion ae) {
  74           //  ignored
  75       } catc h (e) {
  76           de f buildSta tus = "Fai led"
  77           th row e
  78       }
  79   }