Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Deploy automation 1 (#73)
Browse files Browse the repository at this point in the history
* wip: add recipe to makefile

* docs: add documentation for the release process
  • Loading branch information
mcataford authored Feb 1, 2019
1 parent 638a14d commit b0db942
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,8 @@ exec_env:

.PHONY: build_and_export
build_and_export:
bash devResources/manageBuildEnvironment.sh build_plugin
bash devResources/manageBuildEnvironment.sh build_plugin

.PHONY: publish
publish:
mvn release:clean release:prepare release:perform
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,14 @@ __Make sure to revert those two changes before opening up a PR or building the p

From within the `webapp_src` directory, you can use the scripts defined in `packages.json`: `npm run start` and `npm run test` to start the application and run the test suites, respectively.

## Releasing a new version

_Before you can release, you will need to have write access on [the Jenkinsci repo](https://github.com/jenkinsci/pipeline-timeline-plugin)_

To release, clone the _jenkinsci_ fork locally and set up Maven according to [the documentation](https://wiki.jenkins.io/display/JENKINS/Hosting+Plugins#HostingPlugins-Releasingtojenkins-ci.org) (see the section about `settings.xml` and `settings-security.xml`.

When you are all set up, just run `make publish` to start the process.

## Common errors

### `java.nio.file.NoSuchFileException` during builds
Expand Down

0 comments on commit b0db942

Please sign in to comment.