Jenkins for iOS

* Double click war will lauch and instance, work dir: /Users/xxx/.jenkins/workspace/

* Add execute shell to copy files outside version control

* Git client plugin is not installed by default, Mac's SSH key won't be load by default credential.

* Subproject may cause build issues, so I add the lib to main project to avoid it

* Must add dependency if there is subproj

* add curl command to add download step(http://www.cyberciti.biz/faq/mac-os-x-terminal-download-file/), use -k to ignore ssl cert checking

curl -o $WORKSPACE/XXX/XXX.zip 'https://xxx' -k

* Don't add space into the task's name, it will make it failed to download files to workspace.

* unzip command: unzip xx.zip -d xx/unzip/

scp [email protected]:/home/name/dir/file /tmp  //copy from remote to local

猜你喜欢

转载自shappy1978.iteye.com/blog/2287858