Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jenkinsci/redis-notifier-plugin
Plugin de Jenkins para enviar información a base de datos redis (Redis as a JSON store)
https://github.com/jenkinsci/redis-notifier-plugin
java jenkins jrejson pipeline plugin redis
Last synced: 6 days ago
JSON representation
Plugin de Jenkins para enviar información a base de datos redis (Redis as a JSON store)
- Host: GitHub
- URL: https://github.com/jenkinsci/redis-notifier-plugin
- Owner: jenkinsci
- License: mit
- Created: 2020-02-29T17:13:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-09T10:47:34.000Z (6 months ago)
- Last Synced: 2025-01-30T06:11:15.560Z (12 days ago)
- Topics: java, jenkins, jrejson, pipeline, plugin, redis
- Language: Java
- Homepage: https://plugins.jenkins.io/redis-notifier/
- Size: 44.9 KB
- Stars: 1
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
JRedis Notifier Plugin
======================Descripcion
-----
Para los pipeline de tipo declarativo expone una variable global llamada `jredis` que permite enviar informacion y/o objetos en formato `JSON` directamente a un servidor redis.Requerimientos
----------------------**Prerequisitos**: Es necesario configurar la conexion hacia el servidor redis desde las configuraciones globales de Jenkins indicando `URL` y `PORT` como un string en formato: `http://localhost:6397`
--------------------
Examples:```Groovy
stage('Test: Redis') {
steps {
script {
jredis.set('k1', ['Hello':'World'])
echo jredis.get('k1')
}
}
}
``````Groovy
stage('Test: Redis') {
steps {
script {
def myObject = [:]
myObject.put("k_1", "level 1")
myObject.put("k_2", ["item1","item2", ["k_3":"level 2"]])jredis.set('messages', myObject)
echo jredis.get('messages')
}
}
}
```