Jenkins pipeline and mongodb database

I tried to search some information. But no luck.
We have Jenkins pipeline job with parameters. Those parameters suppose to be populated with values from MongoDB while running build with parameters. But I understood it is not easy way to run some rest from groovy to fetch data. I don’t like so much elastic search, but it has REST option that I can run even from CURL.
Any ideas, examples and documentation will be appriciated.

  • Which kind of parameters do you have to inject in Jenkins pipeline? if you can better explain what are you trying to do I may be able to help. Maybe you want to do something like this? stackoverflow.com/questions/13396758/…

    – 




Leave a Comment