Commit 03f9037 1 parent 621bafb commit 03f9037 Copy full SHA for 03f9037
File tree 2 files changed +16
-3
lines changed
2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change
1
+ services :
2
+ mc :
3
+ image : itzg/minecraft-server:java8
4
+ environment :
5
+ EULA : true
6
+ TYPE : canyon
7
+ VERSION : b1.7.3
8
+ ports :
9
+ - " 25565:25565"
10
+ volumes :
11
+ - mc-data:/data
12
+ volumes :
13
+ mc-data :
Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ githubUrl="https://github.com/KoboDev/SupplyAndDemand/releases/download"
18
18
canyonBuildJSON=$( curl -fsSL " ${canyonJob} /${CANYON_BUILD} /api/json" )
19
19
20
20
buildRelPath=$(
21
- jq ' .artifacts[0].relativePath' <<< " $canyonBuildJSON"
21
+ jq -r ' .artifacts[0].relativePath' <<< " $canyonBuildJSON"
22
22
)
23
23
buildNumber=$(
24
- jq ' .number' <<< " $canyonBuildJSON"
24
+ jq -r ' .number' <<< " $canyonBuildJSON"
25
25
)
26
26
baseName=$( basename " ${buildRelPath} " )
27
27
@@ -50,7 +50,7 @@ if [ ! -f "$SERVER" ]; then
50
50
fi
51
51
curl -fsSL -o " $SERVER " " $downloadUrl "
52
52
if [ ! -f " $SERVER " ]; then
53
- logError " Failed to download from $downloadUrl (status= $? ) "
53
+ logError " Failed to download from $downloadUrl "
54
54
exit 3
55
55
fi
56
56
fi
You can’t perform that action at this time.
0 commit comments