1: echo %time%
  2:
  3:
  4: rem ** ipc and mapping
  5: c:
  6: net use x: /del
  7: net use y: /del
  8: net use \\10.11.44.1\ipc$ /del
  9: echo ==============================================
 10: net use \\10.11.44.1\ipc$ "Sqa-2006" /user:"RND\mpsvr"
 11: net use x: \\10.11.44.1\BigBandNetworks
 12: net use y: \\10.11.44.1\PublicViews
 13: echo ==============================================
 14:
 15: subst t: /d
 16: subst t: D:\PublicViews\Automation_Framework\SQA_ATE_DEV
 17:
 18:
 19: rem ** rar local files
 20: t:
 21: cd ..\..\..\..\..\..\..\..\..\..\..\..\
 22: cd "t:\Official Release\Bin"
 23: del *.rar;*.zip
 24: winrar a -r rel.rar
 25: winrar d rel *.pdb
 26:
 27:
 28: rem ** build the menu
 29: x:
 30: cd ..\..\..\..\..\..\..\..\..\..\..\..\
 31: cd "X:\ATS"
 32: if not exist "_update_record" mkdir "_update_record"
 33: cd _update_record
 34: set updatetime=%date:~6,4%%date:~0,2%%date:~3,2%%time:~0,2%%time:~3,2%%time:~6,2%
 35: md %updatetime%
 36: cd %updatetime%
 37:
 38: rem ** update dll and xml files
 39: xcopy /F /R /Y /E /EXCLUDE:t:\EXCLUDE.txt "t:\Official Release\Bin" "X:\ATS" >__log.txt
 40: rem winrar x -o+ "t:\Official Release\Bin\rel.rar" "X:\ATS\"
 41: type __log.txt
 42:
 43: rem ** md5 three dll files
 44: x:
 45: cd ..\..\..\..\..\..\..\..\..\..\..\..\
 46: cd "X:\Automation\DLLS"
 47: copy /Y "t:\Reference Assemblies\TSSBMSimulator.dll" "X:\Automation\DLLS\TSSBMSimulator.dll"
 48: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\TSSBMSimulator.dll" >TSSBMSimulator.md5.txt
 49: x:
 50: cd ..\..\..\..\..\..\..\..\..\..\..\..\
 51: copy /Y "t:\Reference Assemblies\SBMComAPI.dll" "X:\SBMComAPI.dll"
 52: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\SBMComAPI.dll" >SBMComAPI.md5.txt
 53: x:
 54: cd ..\..\..\..\..\..\..\..\..\..\..\..\
 55: cd "X:\SessionManager"
 56: copy /Y "t:\Reference Assemblies\TSSMW.dll" "X:\SessionManager\TSSMW.dll"
 57: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\TSSMW.dll" >TSSMW.md5.txt
 58:
 59: copy /Y "t:\_Configuration\TestManager.xml" "X:\ATS\Configuration\TestManager.xml"
 60:
 61: rem ** backup dll
 62: xcopy "t:\Official Release\Bin\rel.rar" "X:\ATS\_update_record\%updatetime%\"
 63: t:
 64: cd ..\..\..\..\..\..\..\..\..\..\..\..\
 65: cd "t:\Official Release\Bin"
 66: del *.rar;*.zip
 67: cd ..\..\..\..\..\..\..\..\..\..\..\..\
 68: cd "t:\Reference Assemblies"
 69: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\TSSBMSimulator.dll" >_TSSBMSimulator.md5.txt
 70: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\SBMComAPI.dll" >_SBMComAPI.md5.txt
 71: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\TSSMW.dll" >_TSSMW.md5.txt
 72:
 73:
 74: rem ** display all results
 75: x:
 76: cd ..\..\..\..\..\..\..\..\..\..\..\..\
 77: cd "X:\ATS"
 78: rem dir /a
 79:
 80:
 81: rem ** clean
 82: c:
 83: net use x: /del
 84: net use y: /del
 85: net use \\10.11.44.1\ipc$ /del
 86: subst t: /d
 87: pause
 88:
 89: 

EXCLUDE.txt

 

  1: .rar
  2: .zip
  3: .pdb
  4: .config
  5: .manifest
  6: \Report

ATS项目更新(3) 远程同步到执行机器的更多相关文章

  1. ATS项目更新(4) 更新DLL到远程服务器

    rem by jin tao rem upload dll to ta1bbn01 rem rem @echo off echo %time% set time1 = %,%%,%%,% rem ** ...

  2. ATS项目更新(1) CC视图与备份路径同步

    1: subst t: /d 2: subst t: D:\PublicViews\Automation_Framework\SQA_ATE_DEV 3: 4: rem ** update folde ...

  3. ATS项目更新(2) 命令行编译Studio解决方案

    1: rem "D:\Microsoft Visual Studio 8\SDK\v2.0\Bin\sdkvars.bat" 2: D: 3: cd ..\..\..\..\..\ ...

  4. github上fork了别人的项目后,再同步更新别人的提交(转)

    原文地址:github上fork了别人的项目后,再同步更新别人的提交 我从github网站和用git命令两种方式说一下. github网站上操作 打开自己的仓库,进入code下面. 点击new pul ...

  5. Jrebel 独立部署tomcat 远程同步项目

    一直在用 jrebel 感觉热部署的 功能,修改xml配置文件等,省去了很多的重新启动的时间. 由于偶然间发现 jrebel 还有remote 路由功能.这样,在服务器端用jrebel部署的项目和本地 ...

  6. 2019/01/17 基于windows使用fabric将gitlab的文件远程同步到服务器(git)

    觉得django项目把本地更新push到gitlab,再执行fabric脚本从gitlab更新服务器项目挺方便的,当然从本地直接到服务器就比较灵活. 2019/01/17 基于windows使用fab ...

  7. Rsync(远程同步): linux中Rsync命令的实际示例

    rsync的 ( 远程同步 )为在Linux / Unix系统局部 拷贝和同步文件和目录远程以及一个最常用的命令. 随着rsync命令的帮助,您可以复制并在目录中远程和本地同步数据,在磁盘和网络,进行 ...

  8. django之创建第8个项目-数据库配置及同步研究

    1.sqlitestudio-2.1.5数据库可视化工具--百度云盘下载 2.编写C:\djangoweb\helloworld\blog\models.py文件 # Create your mode ...

  9. 如何将现有的项目添加到远程的git库里面!

    我们经常都会遇到这样的场景,就是将本地的一个项目同步到网上远程的git库里面.最近也遇到这样的问题,发现网上很少人讲到这个问题,但是这个问题是很多程序员遇到的版本库管理的最早的拦路虎. 我的远程是ht ...

随机推荐

  1. ExtJS中store.findExact

    var ds = myGrid.apf_ds; var store = myGrid.getStore(); forEach(data, function (item) { if (store.fin ...

  2. 访问sharepoint站点自动使用当前用户名和密码登录

    https://blog.csdn.net/zw_2011/article/details/7417123 1.把sharepoint站点添入可信站点.   点击菜单栏“工具”——〉“Internet ...

  3. linux上电自启动应用程序具体解释

    每当我学习一个新的东西得时候都是会 遇到一些错误.可是我会很努力的去解决它,今天这个自启动应用程序花了我两个小时的时间才攻克了.所以说遇到问题的时候要去思考.分析.以下我就来谈谈linux上电自启动应 ...

  4. Django之模板过滤器

    Django 模板过滤器也是我们在以后基于 Django 网站开发过程中会经常遇到的,如显示格式的转换.判断处理等.以下是 Django 过滤器列表,希望对为大家的开发带来一些方便. 一.形式:小写 ...

  5. 小强的HTML5移动开发之路(52)——jquerymobile中的触控交互

    当使用移动设备进行触控操作时,最常用的就是轻击.按住屏幕或者手势操作,jQuery Mobile可以通过绑定的触控事件来响应使用者的特定触控行为. 一.轻击与按住 直接上代码(一切皆在代码中,细细品吧 ...

  6. [Vue] Dynamic Vue.js Components with the component element

    You can dynamically switch between components in a template by using the reserved <component>  ...

  7. 对Fragment切换的优化

    在项目中需要进行Fragment的切换,一直都是用replace()方法来替换Fragment:然后总感觉切换的时候有些卡顿,原来的代码 /** * 切换页面,这里采用回调 * * @param f ...

  8. html常用属性border-radius、linear-gradient怎么使用

    html常用属性border-radius.linear-gradient怎么使用 一.总结 一句话总结: 1.border-radius: 8px 8px 8px 8px !important; 2 ...

  9. php课程 6-20 字符串基础和去除空格和字符串填补函数

    php课程 6-20  字符串基础和去除空格和字符串填补函数 一.总结 一句话总结: 二.字符串 字符串定义:$str='hello world!'; 输出字符串:echo $str;print $s ...

  10. 浅谈 Redis 与 MySQL 的耦合性以及利用管道完成 MySQL 到 Redis 的高效迁移

    http://blog.csdn.net/dba_waterbin/article/details/8996872 ㈠ Redis 与 MySQL 的耦合性            在业务架构早期.我们 ...