ATS项目更新(3) 远程同步到执行机器
1: echo %time%2:3:4: rem ** ipc and mapping5: c:6: net use x: /del7: net use y: /del8: net use \\10.11.44.1\ipc$ /del9: echo ==============================================10: net use \\10.11.44.1\ipc$ "Sqa-2006" /user:"RND\mpsvr"11: net use x: \\10.11.44.1\BigBandNetworks12: net use y: \\10.11.44.1\PublicViews13: echo ==============================================14:15: subst t: /d16: subst t: D:\PublicViews\Automation_Framework\SQA_ATE_DEV17:18:19: rem ** rar local files20: t:21: cd ..\..\..\..\..\..\..\..\..\..\..\..\22: cd "t:\Official Release\Bin"23: del *.rar;*.zip24: winrar a -r rel.rar25: winrar d rel *.pdb26:27:28: rem ** build the menu29: x:30: cd ..\..\..\..\..\..\..\..\..\..\..\..\31: cd "X:\ATS"32: if not exist "_update_record" mkdir "_update_record"33: cd _update_record34: 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 files39: xcopy /F /R /Y /E /EXCLUDE:t:\EXCLUDE.txt "t:\Official Release\Bin" "X:\ATS" >__log.txt40: rem winrar x -o+ "t:\Official Release\Bin\rel.rar" "X:\ATS\"41: type __log.txt42:43: rem ** md5 three dll files44: 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.txt49: 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.txt53: 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.txt58:59: copy /Y "t:\_Configuration\TestManager.xml" "X:\ATS\Configuration\TestManager.xml"60:61: rem ** backup dll62: 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;*.zip67: cd ..\..\..\..\..\..\..\..\..\..\..\..\68: cd "t:\Reference Assemblies"69: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\TSSBMSimulator.dll" >_TSSBMSimulator.md5.txt70: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\SBMComAPI.dll" >_SBMComAPI.md5.txt71: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\TSSMW.dll" >_TSSMW.md5.txt72:73:74: rem ** display all results75: x:76: cd ..\..\..\..\..\..\..\..\..\..\..\..\77: cd "X:\ATS"78: rem dir /a79:80:81: rem ** clean82: c:83: net use x: /del84: net use y: /del85: net use \\10.11.44.1\ipc$ /del86: subst t: /d87: pause88:89:
EXCLUDE.txt
1: .rar2: .zip3: .pdb4: .config5: .manifest6: \Report
ATS项目更新(3) 远程同步到执行机器的更多相关文章
- ATS项目更新(4) 更新DLL到远程服务器
rem by jin tao rem upload dll to ta1bbn01 rem rem @echo off echo %time% set time1 = %,%%,%%,% rem ** ...
- ATS项目更新(1) CC视图与备份路径同步
1: subst t: /d 2: subst t: D:\PublicViews\Automation_Framework\SQA_ATE_DEV 3: 4: rem ** update folde ...
- ATS项目更新(2) 命令行编译Studio解决方案
1: rem "D:\Microsoft Visual Studio 8\SDK\v2.0\Bin\sdkvars.bat" 2: D: 3: cd ..\..\..\..\..\ ...
- github上fork了别人的项目后,再同步更新别人的提交(转)
原文地址:github上fork了别人的项目后,再同步更新别人的提交 我从github网站和用git命令两种方式说一下. github网站上操作 打开自己的仓库,进入code下面. 点击new pul ...
- Jrebel 独立部署tomcat 远程同步项目
一直在用 jrebel 感觉热部署的 功能,修改xml配置文件等,省去了很多的重新启动的时间. 由于偶然间发现 jrebel 还有remote 路由功能.这样,在服务器端用jrebel部署的项目和本地 ...
- 2019/01/17 基于windows使用fabric将gitlab的文件远程同步到服务器(git)
觉得django项目把本地更新push到gitlab,再执行fabric脚本从gitlab更新服务器项目挺方便的,当然从本地直接到服务器就比较灵活. 2019/01/17 基于windows使用fab ...
- Rsync(远程同步): linux中Rsync命令的实际示例
rsync的 ( 远程同步 )为在Linux / Unix系统局部 拷贝和同步文件和目录远程以及一个最常用的命令. 随着rsync命令的帮助,您可以复制并在目录中远程和本地同步数据,在磁盘和网络,进行 ...
- django之创建第8个项目-数据库配置及同步研究
1.sqlitestudio-2.1.5数据库可视化工具--百度云盘下载 2.编写C:\djangoweb\helloworld\blog\models.py文件 # Create your mode ...
- 如何将现有的项目添加到远程的git库里面!
我们经常都会遇到这样的场景,就是将本地的一个项目同步到网上远程的git库里面.最近也遇到这样的问题,发现网上很少人讲到这个问题,但是这个问题是很多程序员遇到的版本库管理的最早的拦路虎. 我的远程是ht ...
随机推荐
- cmder显示UTF-8字体
https://blog.csdn.net/x_iya/article/details/50627829 WIN+ALT+P打开配置 搜索chcp chcp 65001
- hdu 1166 敌兵布阵 线段树 点更新
// hdu 1166 敌兵布阵 线段树 点更新 // // 这道题裸的线段树的点更新,直接写就能够了 // // 一直以来想要进线段树的坑,结果一直没有跳进去,今天算是跳进去吧, // 尽管十分简单 ...
- 【solr基础教程之二】索引 分类: H4_SOLR/LUCENCE 2014-07-18 21:06 3331人阅读 评论(0) 收藏
一.向Solr提交索引的方式 1.使用post.jar进行索引 (1)创建文档xml文件 <add> <doc> <field name="id"&g ...
- Android AIDL 小结
1.AIDL (Android Interface Definition Language ) 2.AIDL 适用于 进程间通信,并且与Service端多个线程并发的情况,如果只是单个线程 可以使用 ...
- 《编程导论(Java)·3.2.4 循环语句》
本文全然复制<编程导论(Java)·3.2.4 循环语句>的内容.除[]中的说明文字.请阅读和比較其它编程教材. 我知道.假设我是一个刚開始学习的人,<编程导论(Java)>非 ...
- udp网络程序-发送、接收数据
1. udp网络程序-发送数据 创建一个基于udp的网络程序流程很简单,具体步骤如下: 创建客户端套接字 发送/接收数据 关闭套接字 代码如下: #coding=utf-8from socket im ...
- 【u110】灾后重建
Time Limit: 1 second Memory Limit: 128 MB [问题描述] B地区在地震过后,所有村庄都造成了一定的损毁,而这场地震却没对公路造成什么影响.但是在村庄重建好之前, ...
- 5.7-GTID复制搭建
基本环境 Master Slave MySQL版本 MySQL-5.7.16-X86_64 MySQL-5.7.16-X86_64 IP 192.168.56.156 192.168.56.157 ...
- one hot 编码的实现
one hot 编码,针对的是类别性属性(categorical),类别型属性可以为特征向量中的任一属性,比如性别(one hot 编码的意义在于,属性之间不具有数值上大小的区别,在对最后结果的影响上 ...
- Erlang Process input queue
http://www.cnblogs.com/me-sa/archive/2011/11/05/erlang0012.html Erlang进程有自己的消息队列来保存接收到的消息,新接收到的消息放在队 ...