Giter Site home page Giter Site logo

helloworldmaven's Introduction

Hello World Maven for Interview

Hugh Brien

LinkedIn

Please see the assignment:

  1. Fix the job so it completes properly.
  2. Explain what the script is doing

Jenkins Job Description

This Jenkins job is doing the following:

Notes on Assisting Customers

  • Here are some good tips
  • Ensure your code / project will compile correctly in a local environment
  • If possible, it can be a good idea to "mirror" your environment with the customer environments. Especially for complex problems
  • Ensure all the commands invoked by your Jenkins agent/runtime are installed in your environment.
  • Ensure Jenkins has access via appropriate PATH variables
  • Ensure the CI/CD Environments are complete
  • Recommend ways to optimize and simplify the building process by using or NOT using specific plugins.

Actual Steps and Changes

  • Fixed pom.xml file so code would compile locally.
  • Updated Artifact Repository path
  • The demo software project will now build
  • mvn clean compile test deploy all work correctly.
  • Installed the "jq" command the server : brew install jq
  • Installed Sonar Scanner : brew install sonar-scanner
  • All the sh commands work.
  • Fixed Typo jq command "failsafeArgLine":"deploy",
  • Updated the last two Stages step so they would run correctly.
  • Here is the final Jenkins Build file
  • Here is the Success Log
  • Here is an image from Jenkins of the build

helloworldmaven's People

Contributors

deepak2717 avatar hughbrien avatar

Watchers

James Cloos avatar  avatar

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.