Relation between LiquiBase, Maven and Jenkins? -
i new schema migration, kind of lost:
liquibase: schema migration, maven: build automation, jenkins: continious integration. using bitbucket source control.
i can run liquibase through command line, maven or jenkins.
- does jenkins have own build automation or have use maven plugin builds? if has own build automation can connect jenkins , liquibase , not worry maven.
if jenkins doesn't have build automation 2. can use liquibase maven plugin in pom.xml connect liquibase , maven. connect jenkins using jenkins maven plugin or other way?
these separate tools, seem understand @ least some.
maven - tool lot , provides plugins more. tries much. main things around compiling , packaging java code. can run unit tests, generate documentation, , generate project website. when plugins added can things static code analysis, database schema migration, alternative packaging (i.e. build eclipse plugins, features, or products, or android programs, or...)
jenkins - tool continuous integration - in basic form includes waiting things change in source code control tool, running build tool (which might include tests), , archiving built artifacts known location.
liquibase - tool keeping database schema changes in sync accompanying code uses database.
you asked "does jenkins have own build automation or have use maven plugin builds?"
jenkins doesn't "natively" know how build anything. can use maven, use ant, use make, use shell scripts, use own home-brewed abomination of batch files , perl. have built-in understanding of maven projects since comes java community , built maven. didn't mention language/platform using, isn't clear whether choosing maven build tool appropriate. if using java or jvm-targeted language, maven might appropriate.
so, if using java build web-based application uses database , want practice continuous integration make sure application passing automated tests , has deployable artifacts, these 3 tools use together.
getting down final bits - there many different ways use liquibase. has different commands different things, , can run commands in different ways. 1 way use maven run commands.
i suggest if new best start using liquibase command line rather trying use liquibase maven plugin. once understanding how works, determine if using maven decreases 'pain' experiencing using command line.
Comments
Post a Comment