https://github.com/kcsoft/node-red-jenkins
https://github.com/kcsoft/node-red-jenkins
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kcsoft/node-red-jenkins
- Owner: kcsoft
- License: apache-2.0
- Created: 2024-12-02T11:57:27.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-02T11:58:11.000Z (over 1 year ago)
- Last Synced: 2025-10-25T06:09:45.333Z (8 months ago)
- Language: HTML
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Node-RED Jenkins
This node is using [jenkins package](https://www.npmjs.com/package/jenkins) to interact with Jenkins.
## Configuration
You need to configure the Jenkins node with the URL of your Jenkins server and the credentials to use. For password you can use the user's password or an API token.
## Using the Jenkins node
You can pass in `msg.method` and optional `msg.params` or specify a method/params in the configuration of the node.
`msg.method` is the Jenkins API method to call. For example, `build.get`.
`msg.params` is an object containing the parameters to pass to the method. For example, `{"name": "myjob"}`. If the method requires multiple parameters, you can pass them in an array. For example, `["myjob", 1]`.
After execution, the `msg.payload` will contain the result.