Build and Release Engineer Interview Questions And Answers

Build And Release Engineer Interview Questions

What is a transitive dependency? Can we override Transitive Dependency version and If Yes, how?

Transitive dependency is the dependencies not defined directly in the current POM but the POM of the dependent projects.

Yes, we can override transitive dependency version by specifying the dependency in the current POM.

What is the use of !! command? Can I use it with conjunction to some other string to complete a command?

It’s used to execute last command. Yes, this can be used with other string to execute new command. For eg – if ls was the last command, we can execute !! -l for having the long listing.

Which version control (VC) or software configuration management (SCM) systems work with Merge?

You can use Tortoise SVN,which has Merge Utility embedded in it.

What factors influence the opening of a feature branch?

Typically, feature branches are created in cases where the new feature or enhancement has broad-sweeping changes to the code base such that introducing them in the trunk may be too disruptive. Also, feature branches may be used for prototyping or proof-of-concept for code that may never end up in trunk.

What is the best practice configuration usage for files – pom.xml or settings.xml?

The best practice guideline between settings.xml and pom.xml is that configurations in settings.xml must be specific to the current user and that pom.xml configurations are specific to the project.

How can I change the default location of the generated jar when I command “mvn package”?

By default, the location of the generated jar is in ${project.build.directory} or in your target directory. We can change this by configuring the outputDirectory of maven-jar-plugin.

Install installs the package into the local repository, for use as a dependency in other projects locally

What is the use of !! command? Can I use it with conjunction to some other string to complete a command?

It’s used to execute last command. Yes, this can be used with other string to execute new command. For example – if ls was the last command, we can execute !! -l for having the long listing.

Release Management Interview Questions

Which version control (VC) or software configuration management (SCM) systems work with Merge?

You can use Tortoise SVN,which has Merge Utility embedded in it.

What is a transitive dependency? Can we override Transitive Dependency version and If Yes, how?

Transitive dependency is the dependencies not defined directly in the current POM but the POM of the dependent projects.

Yes, we can override transitive dependency version by specifying the dependency in the current POM.

What is the purpose of continuous integration for a development team?

The primary purpose of CI is to provide regular, fast feedback to developers as they commit changes to the shared code repository (VCS).

The idea being that we’re always integrating our code on commit, so that when conflicts arise, they can be addressed more quickly and easily than if the changes had been made days, week, or even months ago.

What are the benefits of transitive dependency in Maven?

Transitive dependencies allow to avoid specifying the libraries that are required by the project which are specified in other dependent projects – Remote or Local.

What is a cyclic dependency?

A has dependency of B, B has dependency of C and C has dependency of A, architecture, technical lead

With Maven 2, came transitive dependency wherein in above scenario, C will acts as a dependency of A as if this dependency has been defined directly in A but the negative side is that if it leads to cyclic dependency, it creates problems.

Repository is the heart of any version control system. It is central place where developers store all their work. Repository not only stores files but also history. Repository is accessed over a network, with repository acting as a sever and version control tool acting as a client. Client can connect to repository, and then they can store/retrieve their changes to/from repository.

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”