You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2015/06/21 15:14:00 UTC

[04/24] git commit: updated refs/heads/master to 6fd49e4

Second phase wan't running properly due to path issue Add extra echo command to make sure there's data in the pom

Signed-off-by: Daan Hoogland <da...@onecht.net>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f0dcd403
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f0dcd403
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f0dcd403

Branch: refs/heads/master
Commit: f0dcd403e7334a9bc8c18b8090fc4bf9db595ee9
Parents: f0e1c89
Author: Rafael da Fonseca <rs...@gmail.com>
Authored: Thu Jun 18 22:41:20 2015 +0200
Committer: Daan Hoogland <da...@onecht.net>
Committed: Sun Jun 21 15:13:24 2015 +0200

----------------------------------------------------------------------
 tools/travis/before_install.sh | 1 +
 tools/travis/downloadDeps.sh   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f0dcd403/tools/travis/before_install.sh
----------------------------------------------------------------------
diff --git a/tools/travis/before_install.sh b/tools/travis/before_install.sh
index 770be61..b4a4bc4 100755
--- a/tools/travis/before_install.sh
+++ b/tools/travis/before_install.sh
@@ -102,6 +102,7 @@ done
 cd tools/travis
 ./downloadDeps.sh 2> /dev/null
 echo -e "\nDownloading Project dependencies"
+echo -e "$(cat pom.xml |wc -l) lines in dummy pom.xml"
 
 for ((i=0;i<$RETRY_COUNT;i++))
 do

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f0dcd403/tools/travis/downloadDeps.sh
----------------------------------------------------------------------
diff --git a/tools/travis/downloadDeps.sh b/tools/travis/downloadDeps.sh
index 29248e0..acf13dc 100755
--- a/tools/travis/downloadDeps.sh
+++ b/tools/travis/downloadDeps.sh
@@ -2,7 +2,7 @@
 echo '<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"><modelVersion>4.0.0</modelVersion><groupId>org.apache.cloudstack</groupId><artifactId>travis-build-deps</artifactId><name>Download Deps for Travis CI</name><version>1</version><dependencies>' > pom.xml
 
 #Get all dependency blocks
-for line in $(find . -name pom.xml -exec sed -n '/<dependencies>/{:a;n;/<\/dependencies>/b;p;ba}' {} \; | grep -e "artifactId" -e "groupId" -e "version" -e "dependency\>" -e "exclusion\>" -e "exclusions\>"); do
+for line in $(find ../../ -name pom.xml -exec sed -n '/<dependencies>/{:a;n;/<\/dependencies>/b;p;ba}' {} \; | grep -e "artifactId" -e "groupId" -e "version" -e "dependency\>" -e "exclusion\>" -e "exclusions\>"); do
 
   #Tokenize values
   set -- $(echo $line | awk -v FS="(>|<)" '{print $2, $3}')