Google News
logo
DevOps Interview Questions
I will approach this task by copying the jobs directory from the old server to the new one. There are multiple ways to do that; I have mentioned them below:
You can:
 
* Move a job from one installation of Jenkins to another by simply copying the corresponding job directory.
* Make a copy of an existing job by making a clone of a job directory by a different name.
* Rename an existing job by renaming a directory. Note that if you change a job name you will need to change any other job that tries to call the renamed job.
To create a backup, all you need to do is to periodically back up your JENKINS_HOME directory. This contains all of your build jobs configurations, your slave node configurations, and your build history. To create a back-up of your Jenkins setup, just copy this directory. You can also copy a job directory to clone or replicate a job or rename the directory.
My approach to this answer will be to first mention how to create Jenkins job. Go to Jenkins top page, select “New Job”, then choose “Build a free-style software project”.
Then you can tell the elements of this freestyle job:
 
* Optional SCM, such as CVS or Subversion where your source code resides.
* Optional triggers to control when Jenkins will perform builds.
* Some sort of build script that performs the build (ant, maven, shell script, batch file, etc.) where the real work happens.
* Optional steps to collect information out of the build, such as archiving the artifacts and/or recording javadoc and test results.
* Optional steps to notify other people/systems with the build result, such as sending e-mails, IMs, updating issue tracker, etc..
Here are some cloud computing platform used for DevOps implementation, such as:
 
* Google Cloud
* Amazon Web Services
* Microsoft Azure
Azure DevOps is also known as Microsoft visual studio team services (VSTS). It is a set of collaborative development tools built for the cloud. VSTS was commonly used as a standalone term, and Azure DevOps is a platform which is made up of a few different products, such as:
 
* Azure Test Plans
* Azure Boards
* Azure Repos
* Azure Pipeline
* Azure Artifacts
Here are some reasons which make AWS DevOps a highly popular, such as :
 
* AWS CloudFormation
* AWS EC2
* AWS CloudWatch
* AWS CodePipeline
For Chrome :
WebDriver driver = new ChromeDriver();​

For Internet Explorer (IE):
WebDriver driver = new InternetExplorerDriver();

For Firefox :
WebDriver driver = new FirefoxDriver();
* It supports only web-based applications.
* It does not support the Bitmap comparison.
* No vendor support is available for Selenium compared to commercial tools like HP UFT.
* As there is no object repository concept, maintainability of objects becomes very complex.
The driver.close command closes the focused browser window. But, the driver.quit command calls the driver.dispose method which closes all browser windows and also ends the WebDriver session.
It is found at one of the following locations :
 
Unix/Linus Systems :
/etc/puppetlabs/code
Windows :
%PROGRAMDATA%\PuppetLabs\code (usually, C:\ProgramData\PuppetLabs\code)
Non-root users :
~/.puppetlabs/etc/code