Skip to content

Commit 38fe398

Browse files
thaJeztahchris-crone
authored andcommitted
Jenkinsfile: update API version matrix; set default to v1.40
- Added new entry for Docker 19.03 - Removed obsolete engine versions that reached EOL (both as Community Edition and Enterprise Edition) - Set the fallback/default API version to v1.40, which corresponds with Docker 19.03 (current release) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent c88205c commit 38fe398

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Jenkinsfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,14 @@ def getDockerVersions = { ->
4646

4747
def getAPIVersion = { engineVersion ->
4848
def versionMap = [
49-
'17.06': '1.30', '17.12': '1.35', '18.02': '1.36', '18.03': '1.37',
50-
'18.06': '1.38', '18.09': '1.39'
49+
'17.06': '1.30',
50+
'18.03': '1.37',
51+
'18.09': '1.39',
52+
'19.03': '1.40'
5153
]
5254
def result = versionMap[engineVersion.substring(0, 5)]
5355
if (!result) {
54-
return '1.39'
56+
return '1.40'
5557
}
5658
return result
5759
}

0 commit comments

Comments
 (0)