summaryrefslogtreecommitdiffstats
path: root/scripts/BuildDemos.py
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-07 15:55:50 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-08 10:59:56 +0300
commit40ccc5b49ed81ebdcb14961e692984a6fad2ee44 (patch)
treec9d3f9b272788bc0e4369b2b5bc1eb3d574383a2 /scripts/BuildDemos.py
parentd8b87baec8722ad4a495bdb819bbeb3396fdea35 (diff)
downloadvaadin-framework-40ccc5b49ed81ebdcb14961e692984a6fad2ee44.tar.gz
vaadin-framework-40ccc5b49ed81ebdcb14961e692984a6fad2ee44.zip
Fix demo auto validation script to add validated version to context
Change-Id: I50469d450ac26908b7aa966f1d89688357cf2497
Diffstat (limited to 'scripts/BuildDemos.py')
-rw-r--r--scripts/BuildDemos.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/BuildDemos.py b/scripts/BuildDemos.py
index 721fec4c68..16f6990d4c 100644
--- a/scripts/BuildDemos.py
+++ b/scripts/BuildDemos.py
@@ -15,7 +15,7 @@ try:
except:
print("BuildDemos depends on gitpython. Install it with `pip install gitpython`")
sys.exit(1)
-from BuildHelpers import updateRepositories, mavenValidate, copyWarFiles, getLogFile, removeDir, getArgs, mavenInstall
+from BuildHelpers import updateRepositories, mavenValidate, copyWarFiles, getLogFile, removeDir, getArgs, mavenInstall, resultPath
from DeployHelpers import deployWar
from os.path import join, isfile
from fnmatch import fnmatch
@@ -29,7 +29,7 @@ demos = {
}
def checkout(folder, url):
- Repo.clone_from(url, folder)
+ Repo.clone_from(url, join(resultPath, folder))
if __name__ == "__main__":
if hasattr(getArgs(), "artifactPath") and getArgs().artifactPath is not None: