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-07 15:55:50 +0300
commit61fe18d7771b378bc5c5211276489127c35c96ee (patch)
treed064abf46ce4bb588355994205792926492084ec /scripts/BuildDemos.py
parentbd7f4bf17f9904a2f5e8e173aeda1d1f592982cc (diff)
downloadvaadin-framework-61fe18d7771b378bc5c5211276489127c35c96ee.tar.gz
vaadin-framework-61fe18d7771b378bc5c5211276489127c35c96ee.zip
Fix demo auto validation script to add validated version to context
Change-Id: Ie30fe7f9c0c88de02f19a1bc0f377399a3568da4
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: