Produced by Araxis Merge on 4/23/2019 12:14:44 PM 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 | C:\AraxisMergeCompare\Pri_un\CCRS\CCRS-BUSRULES-v6.3\CCRS-BUSRULES-v6.3\adminapp | Jenkinsfile | Wed Mar 27 19:38:08 2019 UTC |
| 2 | C:\AraxisMergeCompare\Pri_re\CCRS\CCRS-BUSRULES-v6.3\CCRS-BUSRULES-v6.3\adminapp | Jenkinsfile | Wed Apr 17 16:56:41 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 156 |
| 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 | #!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: " AI ", | |
| 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/jdk-10 .0.2/ buil d -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 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.