Comment - TDD & BDD in CI

14 篇文章 0 订阅

* curl need to install in win, just copy to windows, in my test, curl always failed after some times of download(before finish), even in terminal, so I use nodejs to download it. curl works on mac

$ curl -o $WORKSPACE/XXX http://xxx

$ node xx.js

var request = require('request');
var fs = require('fs');

var options = {
	proxy: "http://xxxx:8080/",
	url: 'http://xxx'
};

var stream = request(options).pipe(fs.createWriteStream('saveToFile.zip'));

 

 

* if the zip file contains a same name zip file, it will failed to unzip, need to rename before unzip

unzip -o xx.zip

* juint will report failed even if the xml is several seconds delay, so need to update the xml modify date. copy or mv won't effect the date.

$ touch *.xml

dos: copy /B *.xml +,,

 

* in Pipeline view, set number of pipeline instance per pipeline to 1 and uncheck the aggregated pipeline to show only one pipeline

 

* SCM URL plugin can't work on slave node, while nodejs still works

* It's strange that the domain mapping(host) still use master's, so that can't connect the server which master unable to connect, e.p. hockeyApp plugin

* cucumber jvm report is different with cucumber test result report, pipleline node can only publish junit test report.

 

* enable "Restrict where this project can be run" to run task on slave

* "only build jobs with lable restrictions matching this node" can prevent unlabled task to run on slave.

//******************************* ipa build

* setup keychain password in config, and use it in the job

* setup profile in keychin profile management, set the private key fully name in "Identitied"

* If want to build for emulator, set in "custom xcodebuild arguments" -destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.3'

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值