Coder Social home page Coder Social logo

jenkinscicd's People

Contributors

solter avatar

Watchers

 avatar

jenkinscicd's Issues

Req: Create Spring boot app

Description

Create maven app with Spring boot

Sub-Requirements

  • Use Maven for the build tool
  • Use spring boot to create a simple application
  • Create at least one JUnit test
  • Use Git to track the history of the application

Source

Use Jenkins to set up a distributed pipeline that will compile and test a Maven project...

You must use the following:

  • Git: As a version control system for the software
    ...
  • Spring boot: To create the Maven app
  • Maven: To compile the program

The following requirements should be met:

  • The app should be built with Maven

Task: Create Spring Boot maven app

Requirement addressed

#1

Description

  • Generate a simple hello world spring boot application (consider using the Spring Initializer
  • Add a JUnit test to the code base
  • Capture a screenshot of the maven build succeeding on the command line for the demo page
  • Capture evidence that the application uses Spring Boot for the demo page

Req: Create Jenkins Architecture across AWS EC2 instances

Description

Create controller and two agent Jenkins instances.

Sub-requirements

  • Create an AWS EC2 server instance with Jenkins install to act as the controller
  • Create two other AWS EC2 instances
  • Configure two non-controller instances as distinct Jenkins agents

Source

You’re tasked with designing a Jenkins architecture that involves one master and two slave nodes, all hosted on various AWS instances.

You must use the following:
...

  • Jenkins: To create the build pipeline
    ...
  • AWS EC2: To run the [controller] and [agent] nodes

The following requirements should be met:
...

  • There should be three EC2 instances to run the master and two slave nodes.

Req: Create Jenkins build pipeline

Description

Create a pipeline job to build then test the code

Sub-requirements

  • Create pipeline job with a JenkinsFile
  • Configure pipeline to have a build and a test stage
  • Configure pipeline build triggers on the controller instance

Source

The build jobs should always be triggered by the [controller] and executed on the slaves. You have to set up a pipeline on the [controller] node and write a [JenkinsFile] that clearly differentiates the tasks to be run on various [agents].

The following requirements should be met:
...

  • All builds should be triggered and monitored by the [controller] node.

Task: Connect repo to Jenkins and create build pipeline

Requirement addressed

#3

Description

  • Generate a multibranch build pipeline in Jenkins via connections to this repo
  • Configure a build and test stage in the build pipeline
  • Configure build job to be triggered on push
  • Configure build job to be triggered nightly

Task: Create 3 AWS EC2 instances

Requirement addressed

#2

Description

  • Spin up 3 AWS EC2 instances (named controller, agent1, agent2 - if you have a choice)
  • Capture screenshot showing the existence of all 3 AWS instances

Task: Configure stages to run on different agents

Requirement addressed

#4

Description

  • Configure build and test stages to run on distinct agents (and not the controller)
  • Run the job
  • Verify the controller can monitor the status of the stages run on the individual agents
  • Capture evidence for demo page that req 4 is completely met

Task: Install Jenkins

Requirement addressed

#2

Description

  • Install Jenkins on the controller AWS EC2 instance
  • Capture evidence that Jenkins is installed on the agent for the demo page

Task: configure agents in Jenkins

Requirement addressed

#2

Description

  • Connect the agents to the controller (probably just setting up ssh keys)
  • Ensure agents are capable of executing maven stuff
  • Capture evidence for demo page that Jenkins sees the two agents

Req: Distribute pipeline tasks across agents

Description

Configure the build pipeline such that one agent always performs the build stage and the other agent always performs the test test stage.

Sub-requirements

  • Build (compile) stage will be performed exclusively on one agent
  • Testing will be performed exclusively on the other agent
  • Agent selection will be specified in the JenkinsFile
  • Controller must monitor status of stages on agents

Source

Use Jenkins to set up a distributed pipeline that will compile and test a Maven project on two different [agent] nodes respectively.

The build jobs should always be triggered by the [controller] and executed on the [agents]. You have to set up a pipeline on the master node and _write a [JenkinsFile] that clearly differentiates the tasks to be run on various [agents].

The following requirements should be met:
...

  • All builds should be triggered and monitored by the [controller] node.
  • Compilation and testing should be done on dedicated [agent] nodes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.