# Deveo Jenkins Notification Plugin

Use this plugin to create build events to Deveo from your Jenkins builds. See the [official documentation](https://wiki.jenkins-ci.org/display/JENKINS/Deveo+Plugin) for more information.

## Prerequisites

Download and install [JDK 7](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html).

Install Maven:

    $ brew install maven

Define the path to your Java 7 compiler in your `~/.m2/settings.xml`:

```xml
<settings>
  <profiles>
    <profile>
      <id>compiler</id>
        <properties>
          <JAVA_1_7_HOME>/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home</JAVA_1_7_HOME>
        </properties>
    </profile>
  </profiles>
  <activeProfiles>
    <activeProfile>compiler</activeProfile>
  </activeProfiles>
</settings>
```

## Useful commands

To build the thing

    $ mvn install

To generate .hpi package

    $ mvn hpi:hpi

To run the plugin in a local Jenkins instance

    $ mvn hpi:run

To run tests

    $ mvn -D test=DeveoTestSuite

To deploy it

    $ mvn -B release:prepare release:perform

# Deveo Jenkins Notification Plugin

Use this plugin to create build events to Deveo from your Jenkins builds. See the [official documentation](https://wiki.jenkins-ci.org/display/JENKINS/Deveo+Plugin) for more information.

## Contributing

To contribute, please utilize Pull Requests as you would in any other project. Development is done on `develop` branch.

### Prerequisites

You'll need [Vagrant](https://www.vagrantup.com/) to get the development environment running. You can simply install it via [Homebrew Cask](http://caskroom.io/) with:

    $ brew cask install vagrant

### Getting started

Start the virtual machine

    $ vagrant up

SSH into the machine

    $ vagrant ssh

Navigate to the shared working directory

    $ cd /vagrant

Build the plugin and start Jenkins

    $ mvn hpi:run

If you are only doing template changes, you can simply hit Enter on the console to reload the context. In other cases you'll need to re-execute the aforementioned command.

You can now access Jenkins from your host machine on http://10.11.12.100:8080/jenkins.

Revise guidelines to match updated dev env
Revise guidelines to match updated dev env
