Jenkins Jenkins, यू मी ब्रेड !!

सध्या जेनकिन्स मध्ये आत्यंतिक गरज आहे मला मदतीची.
मला ऑफिसमध्ये एक कॉम्पीटन्सि टेस्ट द्यायची आहे.

आणि मी ह्याआधी जेनकिन्स वापरणं तर सोडाच साधं पाहिलंही नाहीये. पण तरीही हीच क्लियर करायची आहे. म्हणून प्लिज जे कोणी जेनकिन्स एक्सपर्टीज आहेत त्यांनी कृपया थोडे ज्ञानकण मला द्यावेत.
Praying Praying :)

आता हीच टेस्ट का द्यायची आहे वगैरे प्रश्न येतील पण त्याचं उत्तर मी घरी जाऊन लिहिते.
मोबाईलमधून लिहायला लिमिटेशन्स येतायत.

माझ्याकडे सध्या 20 प्रश्न आहेत. एम्सिक्यु स्वरुपातले. मला त्यांची उत्तरं शोधण्यात मदत हवी आहे.

** सापडलेली उत्तरे ठळक केली आहेत. **

  1. To shut down jenkins cleanly, you can use the _________ link, which prevents any new builds from being started.
    1. Stop Builds
    2. Clean Build Exit
    3. Scheduled Shutdown
    4. Prepare for Shutdown
  2. How to execute windows batch command from a job ?
    1. Go to the Post Build Action and click on Post Build Section ? Execute window batch command.
    2. Go to Build Section and click on add build step ? Execute windows batch command
    3. Go to Source Code management ? Execute windows batch command
    4. Go to Build Environment > Execute windows batch command
  3. The jenkins jobs are internally stored in __________ format.
    1. JSON
    2. xml
    3. xaml
    4. REST
  4. Which plugin can be used to create test result in HTML ?
    1. HTMLPublisher
    2. HTMLCreate
    3. TestReporttoHTML
    4. None of the above
  5. What are the plugins used as extensions for xUnit plugin ?
    1. A) Gallio Jbehave
    2. B) nunit
    3. C) JsUnit Cpptest testComplete
    4. Both A and C
  6. You can get the various configuration options for Jenkins by clicking the ___________
    1. Configure Jenkins
    2. Manage Jenkins
    3. Settings
    4. None of the above
  7. You need to execute a shell script (/usr/bin/prepare-env)just before a Linux slave is started. How do you achieve this ?
    1. Use the [] Suffix Start Slave Command[] configuration option on the slave configuration.
    2. Use the []Prefix Start Slave Command[] configuration option on the slave configuration.
    3. Configure a .profile file containing a call to /usr/bin/prepare-env in the home
    4. Add a shell step to each Job tied to this slave to execute the shell script.
  8. What does the # of executors indicate for Jenkins configuration ?
    1. Number of builds that can run
    2. Total number of concurrent job executions that can take place on Jenkins machine
    3. Both of the above
    4. None of the above
  9. What does the code coverage report provide ?
    1. Displays the calculated coverage percentage based on the unit tests written
    2. Displays the percentage of number of lines of code written
    3. Both A and B
    4. None of the above
  10. How do you generate Findbugs reports ?
    1. mvn site
    2. mvn site: findbugs
    3. mvn findbugs: findbugs
    4. both a and c
  11. Build History Metrics plugin calculates metrics for all of the builds once installed.
    A)Mean Time To Failure (MTTF)
    B)Mean Time To Recovery (MTTR)
    C) Standard Deviation of Build Times
    1. A) & B)
    2. A) & C)
    3. B) & C)
    4. All of the above.
  12. Static Analysis Collector Plugin does not provide ?
    1. The total number of warnings in a job
    2. Total number of bugs and warnings
    3. A showing of the new and fixed warnings of a build
    4. Trend Reports showing the number of Warnings per build
  13. Which one of the following has a maven project ?
    1. build.xml
    2. cobertura.xml
    3. coverage.xml
    4. pom.xml
  14. how will you automate your unit and integration tests by specifying a goal ?
    1. mvn clean
    2. mvn automate
    3. mvn verify
    4. mvn build
  15. what are the minimum steps needed to configure unit testing in Jenkins ?
    1. add build step to invoke ant and include build.xml in build file
    2. add post-build action to publish the test results
    3. Both of the above
    4. Add HTML scraping to invoke ant and include the build.xml in build file
  16. Code coverage analysis is CPU and memory intensive process which will slow down build completion time. How do you configure code coverage analysis in this scenario ?
    1. Run code coverage analysis in separate build job after unit and integration test successful.
    2. Run code analysis as parallel job
    3. Run code analysis along with unit testing
    4. None of these
  17. Which of the following commands is used to make the build fail immediately if any tests fail in ANT ?
    1. failtest
    2. failbuild
    3. haltonfailure
    4. stopbuild
  18. Which plugin is used to to run the selenium test cases in Jenkins ?
    1. Hudson Selenium
    2. Selenium Webdriver
    3. Selenium Test Manager
    4. Selenium Plug ? In Test Tool

Keywords: 

शिक्षण व करीअर: 

वर
0 users have voted.
हिंदी / मराठी
इंग्लीश
Use Ctrl+Space to toggle