@@ -123,9 +123,9 @@ if [ -d "${workspace_path}" ]; then
123123 echo " Error: Could not clone remote git repository, '${workspace_path} ' exists"
124124 exit 1
125125 else
126- echo " Removing ${workspace_path} ..."
126+ echo -e " \e[0;32mremoving ${workspace_path} ...\e[0m "
127127 rm -rf ${workspace_path}
128- echo -e " \n--------\n "
128+ echo " "
129129 fi
130130 fi
131131else
138138# Print out some environment information
139139environment-info.sh
140140
141- echo -e " \n--------\n"
142-
143141# Clone the remote provided git repo and ref
144142if [ $use_remote = true ]; then
145- echo " Cloning $git_remote ..."
143+ echo -e " \e[0;32mcloning $git_remote ...\e[0m "
146144 git clone --quiet --depth=50 $git_remote ${workspace_path}
145+ echo " "
147146
148147 cd ${workspace_path}
149148
150- echo " Fetching $git_ref ..."
149+ echo -e " \e[0;32mfetching $git_ref ...\e[0m "
151150 git fetch --quiet origin +$git_ref :
151+ echo " "
152152
153- echo " Checking out $git_ref ..."
153+ echo -e " \e[0;32mchecking out $git_ref ...\e[0m "
154154 git checkout --quiet --force FETCH_HEAD
155-
156- echo -e " \n--------\n"
155+ echo " "
157156fi
158157
159158# Make sure build-deb.sh script exists before going any further
@@ -163,12 +162,12 @@ if [ ! -f "${workspace_path}/packaging/build-deb.sh" ]; then
163162fi
164163
165164# convert LONG flags to SHORT flags for anything prior 4.12.x.x
166- echo " Detecting CloudStack version ..."
165+ echo -e " \e[0;32mdetecting CloudStack version ...\e[0m "
167166pom_version=$( cd ${workspace_path} ; mvn -q -Dexec.executable=" echo" -Dexec.args=' ${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)
168167echo " ${pom_version} "
169168major_version=$( echo ${pom_version} | cut -d. -f1)
170169minor_version=$( echo ${pom_version} | cut -d. -f2)
171- echo -e " \n--------\n "
170+ echo " "
172171
173172if [ $major_version -lt 4 ] || [ $major_version -eq 4 -a $minor_version -lt 12 ]; then
174173 if [ $show_help = true ]; then
@@ -223,6 +222,8 @@ function adjust_owner() {
223222{
224223 cd ${workspace_path} /packaging
225224
225+ echo -e " \e[0;32mpackaging CloudStack DEB packages ...\e[0m"
226+
226227 # do the packaging
227228 bash -x ./build-deb.sh $@ && {
228229 mkdir -p ${workspace_path} /dist/debbuild/DEBS
0 commit comments