Produced by Araxis Merge on 6/20/2018 10:12:20 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 | CCRS.zip\CCRS\CCRS-BUSRULES-v1.5.3.zip\CCRS-BUSRULES-v1.5.3-436e6fff1115001d614ccd45b469ad60a9bdb27b\brengine\src\main\resources\scripts | testDockerImage.sh | Tue Apr 10 06:18:41 2018 UTC |
2 | CCRS.zip\CCRS\CCRS-BUSRULES-v1.5.3.zip\CCRS-BUSRULES-v1.5.3-436e6fff1115001d614ccd45b469ad60a9bdb27b\brengine\src\main\resources\scripts | testDockerImage.sh | Tue Jun 19 17:11:41 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 3 | 46 |
Changed | 2 | 4 |
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/bas h | |
2 | docker run -p PORT.PORT brengine/ tomcat:1.$ BUILD_NUMB ER > $WORK SPACE/bren gine/logs/ docker_run .log 2>&1 & | |
3 | DOCKER_PID =$! | |
4 | ||
5 | if [ -f $W ORKSPACE/b rengine/lo gs/docker_ run.log ] | |
6 | then | |
7 | ta il -f $WOR KSPACE/bre ngine/logs /docker_ru n.log | wh ile read L OGLINE | |
8 | do | |
9 | echo ${LOGLINE } | |
10 | [[ " ${LOGLINE} " == *"Cat alina.star t Server s tartup in" * ]] && pk ill -P $$ tail | |
11 | do ne | |
12 | http_resul t=$(curl - sL -w "%{http_co de}" "http ://localho st: PORT /brengine" -o /dev/n ull) | |
13 | if [ $http_r esult -eq "200" ] | |
14 | th en | |
15 | echo " Website is up. HTTP Status is $http_resu lt. Exitin g." | |
16 | kill $ DOCKER_PID | |
17 | exit 0 | |
18 | el se | |
19 | "Expec ted HTTP S tatus Code of 200. F ound $http _result in stead. Exi ting." | |
20 | kill $ DOCKER_PID | |
21 | exit 1 | |
22 | fi | |
23 | else | |
24 | ex it 1 | |
25 | fi |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.