Permalink
Browse files

agent tests need to copy in micro directory too

- uses micro/lib/micro/version.rb

Change-Id: I7f1fc37c69fe33dd8eec8481bfb065b42a8f40c6
  • Loading branch information...
1 parent a6a12e3 commit 840d03cd968ceb097740eff229f5c1cae0546743 @pmenglund pmenglund committed Nov 2, 2012
View
4 src/jenkins_jobs/BOSH_Agent_Functional_Tests/config.xml.erb
@@ -68,6 +68,7 @@
GIT_REALPATH=`readlink -nf /var/vcap/packages/git`
VCAP_RUBY19_REALPATH=`readlink -nf $VCAP_RUBY19`
AGENT=$PWD/agent
+MICRO=$PWD/micro
RAKE_SUPPORT_DIR=$PWD/rake
rm -rvf $AGENT/ci_result
@@ -88,6 +89,7 @@ HANDLE=`$CREATE_CONTAINER $VCAP_RUBY19_REALPATH $GIT_REALPATH`
$WARDEN_REPL -c "
copy $HANDLE in $RAKE_SUPPORT_DIR /tmp
copy $HANDLE in $AGENT /tmp
+copy $HANDLE in $MICRO /tmp
copy $HANDLE in $TEST_RUNNER /tmp
run $HANDLE chmod +x $TEST_RUNNER
run $HANDLE $TEST_RUNNER
@@ -128,4 +130,4 @@ rm -f $TEST_RUNNER
</hudson.plugins.rubyMetrics.rcov.RcovPublisher>
</publishers>
<buildWrappers/>
-</project>
+</project>
View
4 src/jenkins_jobs/BOSH_Agent_Unit_Tests/config.xml.erb
@@ -68,6 +68,7 @@
GIT_REALPATH=`readlink -nf /var/vcap/packages/git`
VCAP_RUBY19_REALPATH=`readlink -nf $VCAP_RUBY19`
AGENT=$PWD/agent
+MICRO=$PWD/micro
RAKE_SUPPORT_DIR=$PWD/rake
rm -rvf $AGENT/ci_result
@@ -88,6 +89,7 @@ HANDLE=`$CREATE_CONTAINER $VCAP_RUBY19_REALPATH $GIT_REALPATH`
$WARDEN_REPL -c &quot;
copy $HANDLE in $RAKE_SUPPORT_DIR /tmp
copy $HANDLE in $AGENT /tmp
+copy $HANDLE in $MICRO /tmp
copy $HANDLE in $TEST_RUNNER /tmp
run $HANDLE chmod +x $TEST_RUNNER
run $HANDLE $TEST_RUNNER
@@ -127,4 +129,4 @@ rm -f $TEST_RUNNER
</hudson.plugins.rubyMetrics.rcov.RcovPublisher>
</publishers>
<buildWrappers/>
-</project>
+</project>

0 comments on commit 840d03c

Please sign in to comment.