* 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'