简体   繁体   中英

DART: How to setup Gerrit/Jenkins?

to setup a gated checkin, we would like to use Gerrit and Jenkins. We have experience about how to do this with JavaScript, but Dart is completely new to us.

So far I haven't seen a dart plugin for Jenkins for central build and triggering the code checks. How do you guys setup the systems to allow both code checks and central build?

Thanks

You can use https://drone.io to automatically build dart projects on push to github pretty seamlessly.

I haven't done it with Jenkins yet but I know you can set Jenkins to watch for changes on a git or hg repo then run a script build. A script would just need dart/bin on the path to run pub build

A plugin would just be for the dart build part which is that fairly simple script or a hop task runner script so it's probably just hasn't been a big deal to make a Jenkins plugin.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM