whats is Jenkins job code example
Example 1: what is jenkins
Jenkins automates building, testing,
reporting, packaging, staging, deploying
the application by using plugins.
Jenkins offers a simple way to set up a
continuous integration or continuous
delivery environment for almost any
combination of languages and source code
repositories using pipelines, as well as
automating other routine development tasks.
While Jenkins doesn’t eliminate the need
to create scripts for individual steps,
it does give you a faster and more robust
way to integrate your entire chain of build,
test and deployment tools than you can
easily build yourself.
Example 2: what jenkins job
Everything is done by creating a job
A task that Jenkins performs based on its schedule
Made of several steps
Can have a trigger that determines when it runs
Reports the results of the run automatically