Inserting JSON data into Postgresql from Jenkins pipeline
I'm trying to insert JSON data into my database from Jenkins pipeline, unfortunately I have problem with proper format. My query looks like that: def insertQuery = """ INSERT INTO public.metrics(pr, info) VALUES ('KP-1111', '{"key": "value"}'); """ and later: sh…