windows 自動移動maven jar包到jmeter 檔案夾下面

來源:互聯網
上載者:User

標籤:erp   out   copy   test   snapshot   ext   lib   pat   art   

jmeter 自動移動maven jar包到jmeter 檔案夾下面

bat 檔案

rem 本檔案放在jmeter 指令碼maven項目根目錄下面,和pom.xml在同一個檔案夾下面rem 預置條件,把官網下載的apache-jmeter-3.2.zip  放在如下filePath 並解壓到當前檔案夾set filePath=D:\work\jmeterPerformanceTestrem rd /s /q %filePath%\apache-jmeter-3.2\rem echo "start expand"rem expand %filePath%\apache-jmeter-3.2.zip  %filePath%echo "start mvn"cmd /c "mvn -U clean install dependency:copy-dependencies -DoutputDirectory=%filePath%\apache-jmeter-3.2\lib"echo "start copy"
rem 複製測試代碼檔案到jmeter ext檔案夾下面echo yes|copy target\test-box-perf-1.0-SNAPSHOT.jar %filePath%\apache-jmeter-3.2\lib\extecho "finshed"pause

 

windows 自動移動maven jar包到jmeter 檔案夾下面

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.