Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
docker-py
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
docker-py
Commits
a207122c
Kaydet (Commit)
a207122c
authored
Ara 08, 2018
tarafından
Joffrey F
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update Jenkinsfile version map
Signed-off-by:
Joffrey F
<
joffrey@docker.com
>
üst
92236550
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Jenkinsfile
Jenkinsfile
+5
-2
No files found.
Jenkinsfile
Dosyayı görüntüle @
a207122c
...
@@ -45,10 +45,13 @@ def getDockerVersions = { ->
...
@@ -45,10 +45,13 @@ def getDockerVersions = { ->
}
}
def
getAPIVersion
=
{
engineVersion
->
def
getAPIVersion
=
{
engineVersion
->
def
versionMap
=
[
'17.06'
:
'1.30'
,
'17.12'
:
'1.35'
,
'18.02'
:
'1.36'
,
'18.03'
:
'1.37'
]
def
versionMap
=
[
'17.06'
:
'1.30'
,
'17.12'
:
'1.35'
,
'18.02'
:
'1.36'
,
'18.03'
:
'1.37'
,
'18.06'
:
'1.38'
,
'18.09'
:
'1.39'
]
def
result
=
versionMap
[
engineVersion
.
substring
(
0
,
5
)]
def
result
=
versionMap
[
engineVersion
.
substring
(
0
,
5
)]
if
(!
result
)
{
if
(!
result
)
{
return
'1.3
7
'
return
'1.3
9
'
}
}
return
result
return
result
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment