6.10 Configure and run a deployment pipeline in Jenkins
By the end of this lesson you will be able
Create a delivery pipeline with dependent jobs.
EXERCISE: Create and link Jenkins jobs
Create the following jobs in Jenkins: CreateEnvironment, Commit, UnitTest, CreateDatabase, Deploy, AcceptanceTest, LoadTest and Production. You won't be entering any configuration for the jobs, but you will consider the different types of scripts that might be executed for each of the stages in the delivery pipeline (See below).
Click Configure for each job configure the job to trigger the next job only if the current job succeeds.
View the different scripts that you might execute when running the AcceptanceTest stage: target.feature.
EXERCISE: Create a delivery pipeline in Jenkins
Add a new view.
Click on the link labeled View/Hide Build Pipeline Icon Legend and view the description.
Click on the link labeled Configure View.
Click on the link labeled Start Build of Pipeline for CreateEnvironment. This pipeline calls the CreateEnvironment job. After the TargetEnvironment is successful, it runs the Deployment. The Deployment job gets deployment artifacts from an Amazon S3 bucket. The Build job - which runs on a "continuous" basis, pushes the zip file to S3 so that it can be used by the Deployment job.