... | ... | @@ -12,6 +12,7 @@ You can find Jenkins at [jenkins.mphslaats.com](https://jenkins.mphslaats.com). |
|
|
- [Run job after commit in Gitlab](#run-job-after-commit-in-gitlab)
|
|
|
- [Maven projects](#maven-projects)
|
|
|
- [Config files](#config-files)
|
|
|
- [Postman collection](#postman-collection)
|
|
|
- [Installed plugins](#installed-plugins)
|
|
|
|
|
|
## Resources
|
... | ... | @@ -70,6 +71,13 @@ If you want to use config files in your build process without passwords leaking, |
|
|
After installing this plugin you can go to `Manage Jenkins`. Here you find a section `Manage files`, in here you can add and edit configuration files.
|
|
|
If you now go to your preferred Jenkins job, you can a configuration file as a Pre Step by adding `Provide confuration files`.
|
|
|
|
|
|
### Postman collection
|
|
|
* You are able to run a Postman collection on a deployed API, to do this you first have to export your Postman collection and store the `.json` file in your repository;
|
|
|
* Now go to Jenkins and install npm by using `apt-get install nodejs`;
|
|
|
* Now install newman by using `npm install -g newman`;
|
|
|
* Create a new freestyle Jenkins job and let it run after deploying succeeds;
|
|
|
* Add `newman run "<Postman collection>.json" --disable-unicode` to the Build step.
|
|
|
|
|
|
## Installed plugins
|
|
|
You can search for new plugins [here](https://plugins.jenkins.io/).
|
|
|
* [Maven Integration](https://plugins.jenkins.io/maven-plugin): Needed to be able to create Maven items in Jenkins;
|
... | ... | |