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. [AngularFire2] Auth with Firebase auth -- email

    First, you need to enable the email auth in Firebase console. Then implement the auth service: login ...

  2. Swift--使图片360° 周期旋转

    UIImageView+Extension.swift import UIKit extension UIImageView { // 360度旋转图片 func rotate360Degree() ...

  3. 【TP SRM 703 div2 500】 GCDGraph

    Problem Statement You are given four ints: n, k, x, and y. The ints n and k describe a simple undire ...

  4. 关于win10输入法ctrl+shift+f和idea组合键冲突的解决办法。

    先Ctrl+F,按住Ctrl,再按Shift+F. 因为win10的输入法热键无法关闭(在后期的版本中好像可以了,不过没更新),在IEDA中ctrl+shift+f组合键没法使用,可以按如下按键组合使 ...

  5. HTTP协议和HTTPS协议初探

    概况 HTTP是hypertext transfer protocol(超文本传输协议)的简写.它是TCP/IP协议的一个应用层协议,用于定义WEB浏览器与WEBserver之间交换数据的过程. HT ...

  6. XML输出到浏览器报错

    在使用Firefox浏览器测试我编写的xml文件时,遇到如下错误:我的xml源代码如下: <?xml version="1.0" encoding="UTF-8&q ...

  7. java生成6位随机数

    生成6位随机数(不会是5位或者7位,仅只有6位): System.out.println((int)((Math.random()*9+1)*100000)); 同理,生成5位随机数: System. ...

  8. js进阶 11-13 jquery如何包裹元素和去除元素外的包裹

    js进阶 11-13  jquery如何包裹元素和去除元素外的包裹 一.总结 一句话总结:wrap().wrapAll().unwrap().innerWrap()四个方法 1.jquery中unwr ...

  9. [CSS] Re-order the appearance of grid items using the order property

    As with flex items, we can set an order value on grid items. Let’s see how this affects the DOM and ...

  10. Java 之 assert (断言)

    我们知道C/C++语言中有断言的功能(assert).在Java SE 1.4版本以后也增加了断言的特性. 断言是为了方便调试程序,并不是发布程序的组成部分.理解这一点是很关键的. 默认情况下,JVM ...