mirror of
https://github.com/docker/docker-install.git
synced 2026-11-20 10:03:11 +03:00
Make the jenkinsfile able to test both channels
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
This commit is contained in:
1 parent
86f3d56754
commit
b9bd4a50ff
1 file changed
+5
-1
Vendored
+5
-1
@@ -27,7 +27,11 @@ def genVerifyJob(String t) {
|
||||
stage("${t}") {
|
||||
wrappedNode(label: 'aufs', cleanWorkspace: true) {
|
||||
checkout scm
|
||||
sh("make clean ${t}.log")
|
||||
channel = 'test'
|
||||
if ("${env.JOB_NAME}".endsWith('get.docker.com')) {
|
||||
channel='edge'
|
||||
}
|
||||
sh("make CHANNEL_TO_TEST=${channel} clean ${t}.log")
|
||||
archiveArtifacts '*.log'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user