continuous-integration interview questions

Top Frequently Asked Continuous Integration Interview Questions

What is Continuous Integration ?

Continuous Integration can be defined as Building software and do subsequent testing on every code change.It is done to ensure that after every code change there is no issue in software.

Why Continuous Integration is useful ?

  • Coding Standard : By Continuous Integration after code changes we can check that code is as per coding standard by running test cases.
  • Code Coverage : Test cases should cover all functionality and every single line of code.By code changes using build and automated test cases we can find that.
  • Successful testing : If after code changes our automated test cases or build fails it means there is some problem in our delivered code and no pint to deploy it.
  • Integration suggestion : If after integration Continuous Integration fails continuously it possible that project is complex and proper design pattern is not used.

How is Continuous Integration Implemented ?

Different tools for supporting Continuous Integration are Hudson, Jenkins and Bamboo. Jenkins is the most popular one currently. They provide integration with various version control systems and build tools.

How Continuous Integration process does work ?

  • Whenever developer commits changes in version control system, then Continuous Integration server detects that changes are committed.
  • Continuous Integration server retrieves latest copy of changes.
  • It build code with new changes in build tools.
  • If build fails notify to developer.
  • After build pass run automated test cases if test cases fail notify to developer.
  • Create package for deployment environment.

What are the software required for Continuous Integration process ?

  • Source code repository : To commit code and changes for example git.
  • Server : It is Continuous Integration software for example Jenkin, Teamcity.
  • Build tool : It builds application on particular way for example maven, gradle.
  • Deployment environment : On which application will be deployed.

Mention few main features of Continuous Integration ?

  • Single repository : All code is stored in single repository like git
  • Build automation : After code changes code is automatically compiled.
  • Self Testing : Code is self tested as code is changed and built.
  • Fast building : As all dependent software are in single repository so build is fast.
  • Notify to users : Notify the current status of build to all users
  • Automatic deploy : Continuous Integration can deploy code automatically to deployable environment.

What is the use of Build Script ?

Build scripts are used to build the solution which will be a part of the entire continuous Integration cycle

What are the benefits of gathering metrics done by Continuous Integration ?

Continuous Integration always check how build is performing and gather important metrics. Those metrics provide following benefits.

  • Analysis on Build performance : If build is slow after committing code then analysis can be done on integration build environment and After finding bottleneck we can improve performance.
  • Improve Test performance : Looking into test performance we can improve test performance and that will also reduce build duration.
  • Improve Infrastructure : After metrics analysis if we find that due to Infrastructure issue like network slow or unreliable hardware, then we can improve that to reduce build issue.



Visit Others Links

Interview Questions Top Elasticsearch Interview Question
Top Kubernetes Interview Question
Top HTTP Interview Question
Top PouchDB Interview Question
Top Pivotal Cloud Foundry (pcf) Interview Question
Top Apache Camel Interview Question
Top Docker Interview Question
Top Gradle Interview Question
Top Generics Interview Questions In Java
Java 9 Interview Questions
Top Maven Interview Question
Top RabbitMQ Interview Question
Top Spring Batch Interview Question
Top Spring Boot Interview Question
Top Tika Interview Question
Top Kotlin Interview Question
Top OpenShift Interview Question
Top Polymer Interview Question
Top WebGL Interview Question
Top Continuous Integration Interview Question
Top Spring Cloud Interview Question
Top JOGL Interview Question
Top JFreeChart Interview Question
Java MultiThreading Interview Question
Top Spring ROO Interview Question
Top Seaborn Interview Question
Top TestRail Interview Question
Top LolCode Interview Question
Top Spring Transaction Management Interview Question
Top DynamoDB Interview Question
Top PySpark Interview Question
Top SaltStack Interview Question
Top Spring AOP Interview Question
© 2019 PreparationForInterview.com