Gitiles
Code Review
Sign In
gerrit.mcp.mirantis.com
/
mcp-ci
/
pipeline-library
/
900aff4bbc3e9e8ab155ac3b4b77e9434b9e4482
/
.
/
vars
/
runTox.groovy
blob: 8b3f97c33bfdbace0c12fd3dd931b995467f6247 [
file
] [
log
] [
blame
]
Denis Egorenko
ff32a4d
2016-12-21 14:41:53 +0000
[
diff
] [
blame
]
1
def
call
(
String
env
=
null
)
{
2
// Run tox with or without specified environment
3
if
(
env
==
null
)
{
4
sh
"tox -v"
5
}
else
{
6
sh
"tox -v -e ${env}"
7
}
8
}