Giter VIP home page Giter VIP logo

ci-cd-challenge-i-2018-2's Introduction

Vagrant Jenkins build Build Status

Run a Jenkins 2.25 instance on Ubuntu 16.04 LTS using vagrant.

Before you start

Build the vagrant box

vagrant up

To access the Jenkins server with GUI, open your browser with the following url:

http://localhost:8080

or, add the following line to the hosts file (OPTIONAL)

127.0.0.1   jenkins.local

to access the virtual machine via CLI run the following command:

vagrant ssh

and then run the server in your browser with the following url:

http://jenkins.local:8080

First time accessing Jenkins

Since version 2.0 Jenkins has a security setup wizard when first running it after the installation.

SSH into the machine with

vagrant ssh

Locate the security password

cat /var/lib/jenkins/secrets/initialAdminPassword

and copy it into the password field on the Jenkins server.

When you finish configuring Jenkins from the web UI, restart the service

sudo service jenkins restart

Next steps

Step 1

Step 2

npm install
  • After that. You should be able to run the app using
npm start
  • You can run the tests in the same way
npm test

Step 3

With your environment ready, you can now proceed to create the CI Pipeline. Use Jenkinsfile based solutions versioning it. Your solution should look like this:

Default-aligned image

ci-cd-challenge-i-2018-2's People

Contributors

manherfo 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.