Git Product home page Git Product logo

basecamp-jenkins's Introduction

#Basecamp-jenkins

Setting up your local Jenkins instance

Once your jenkins is up and running:

Configure github

Go to http://localhost:8080/job/pre-test-build/configure In the pre-test-commit job, add you github credentials

Configure mail

  • Go to localhost:8080/configure.
  • Fill out
    • 'System Admin e-mail address' under Jenkins Location
    • The fields under the 'E-mail Notification' section
    • To use your own gmail account (only works with 2-factor authentication), under the 'E-mail Notification' section:
      • SMTP server: smtp.gmail.com
      • Click 'Advanced'
      • Check 'Use SMTP Authentication'
      • User Name: your gmail username
      • Password: your gmail password (application-specific if you use 2-factor authentication)
      • Check 'Use SSL'
      • add '465' to the text box labelled 'SMTP Port'

Configuration for shared, local Jenkins instance..

Reverse git strategy

To avoid checking in everything in Jenkins, I am using a reverse git strategy, like this:

  • .gitignore has a "*" in it, ignoring everything

  • if I want to have a file under version control, I force it in with

    git add -f file

This means you have to explicitly add a new job to version control, e.g.

git add -f jobs/my_job/config.xml

Using eclipse

If you want to use eclipse to edit the files, you can run

./gradlew eclipse

and import the newly created project into eclipse.

Using ssh

If you want to use ssh for you own clone of the Jenkins configuration, put

[email protected]:jwermuth/basecamp-vagrant.git

into

.git/config

e.g.

[remote "origin"]
url = [email protected]:jwermuth/basecamp-vagrant.git

#User Stories

A simple way of keeping track of whats implemented and whats not

Implemented

  • As an Administrator I want to change Jenkins configuration and have those changes pushed to all clients
  • As a Developer I want to version control my CI so I can recreate my CI system

##Backlog

  • As a Developer I want to synchronize my configuration with the central repository without killing running Jobs

basecamp-jenkins's People

Contributors

jwermuth avatar

Watchers

James Cloos 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.