Jenkins Flashcards
what is Jenkins?
is a CI/CD software, it lets you create pipelines to automate the build process.
is Jenkins an private project?
no, Jenkins is Open Source.
in what language Jenkins is written?
in java.
can you build software that is not written in Java with Jenkins?
yes, you can define pipelines to build software written in any language.
what is one of the advantages of using Jenkins?
there are many Jenkins plugins.
what it was the original name of Jenkins back in the day?
Hudson.
when the Jenkins got started?
in 2007 it was named Hudson.
in what name Hudson changed name?
in 2011 Hudson changed the name to Jenkins.
what company created Jenkins?
sun micro system created Hudson.
how Hudson and Jenkins projects got separated?
Jenkins is a for of Hudson.
who created Jenkins?
Kohsuke Kawaguchi.
did the Hudson project died?
no, Hudson is still being developed but Jenkins is more active.
why we need continuous integration?
because when many developer work on the same project at the same time and integrate their changes it can cause the builds and test to fail so to prevent this from happening we need continuously to integrate software.
what happens when software doesn’t get integrated often enoght?
when there are to many changes to integrate the builds and tests fail.
how does Jenkins work?
every time a software developer pushes a change Jenkins starts building the project.
where can you download JEnkins from?
jenkins-ci.org
how do you install Jenkins?
download the Jenkins .war file and run
java -jar jenkins.war
how do you secure Jenkins?
you can enable https
how do you enable https for Jenkins?
java -jar jenkins.war –httpPort=-1 –httpsPort=8080
how do you change the port that Jenkins uses?
java -jar jenkins.war –httpPort=
what is the first thing you have to do when installing Jenkins?
you have to read the .jenkins/initialAdminPassword file.
what can you do to improve Jenkins performance?
you can install a Jenkins cluster with multiple nodes.
how do you create a Jenkins node?
go to:
1) Manage Jenkins
2) Manage Nodes
3) New node
what types of Jenkins nodes there are?
- Master node
- Slave node