12 lines
224 B
Groovy
12 lines
224 B
Groovy
|
|
||
|
String boxId = project.properties.get('vagrant.windows-2016.id')
|
||
|
if (boxId != null) {
|
||
|
vagrant {
|
||
|
hostEnv 'VAGRANT_WINDOWS_2016_BOX', boxId
|
||
|
}
|
||
|
} else {
|
||
|
tasks.named('distroTest').configure {
|
||
|
onlyIf { true }
|
||
|
}
|
||
|
}
|