Skip to content

Commit 1fc62e6

Browse files
authored
Merge pull request #2408 from thaJeztah/jenkins_update_versions
Jenkinsfile: update API versions and update to Python 3.7
2 parents 912824e + f0fc266 commit 1fc62e6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Jenkinsfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def buildImages = { ->
2525
imageNamePy3 = "${imageNameBase}:py3-${gitCommit()}"
2626

2727
buildImage(imageNamePy2, "-f tests/Dockerfile --build-arg PYTHON_VERSION=2.7 .", "py2.7")
28-
buildImage(imageNamePy3, "-f tests/Dockerfile --build-arg PYTHON_VERSION=3.6 .", "py3.6")
28+
buildImage(imageNamePy3, "-f tests/Dockerfile --build-arg PYTHON_VERSION=3.7 .", "py3.7")
2929
}
3030
}
3131
}
@@ -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)