Share Jenkins Workspace

http://www.cnblogs.com/itech/p/5192162.html

* use custom workspace can customize the current job's workspace folder, it will create folder under Jenkins root folder, but it don't support relative path, use $JENKINS_HOME\jobs\xxx\workspace\

* do not use custom workspace in root job, bcoz SCM will still check out the source code under jobs/xxx/workspace folder.

* tried shared workspace plugin, but don't know the uses

* Clone SCM repo plugin should be another available solution.

* Don't add $WORKSPACE to the top of the Junit report xml path, only relative path xxx/xxx/build/outputs/ may work

* junit test result:  xxx\build\outputs\androidTest-results\connected\flavors\<target>\*.xml

* junit report: xxx/build/reports/androidTests/connected/flavors/<target/index.html

猜你喜欢

转载自shappy1978.iteye.com/blog/2307774
今日推荐