Top "Groovy" questions

Groovy is an object-oriented programming language for the Java platform.

how to parse json using groovy

I want to parse JSON data which is coming in like: { "212315952136472": { "id": "212315952136472", "name": "Ready", "picture": "http://profile.ak.fbcdn.net/…

json grails groovy
Get values from properties file using Groovy

How to get values from properties file using Groovy? I require to have a property file (.properties) which would have …

groovy properties-file
How to define and use function inside Jenkins Pipeline config?

I'm trying to create a task with a function inside: def doCopyMibArtefactsHere(projectName) { step ([ $class: 'CopyArtifact', projectName: $projectName, filter: '**/**.…

jenkins groovy jenkins-pipeline
groovy.lang.MissingPropertyException: No such property: manager for class: Script1

I am trying to invoke Groovy inside Hudson (using groovy plugin) to get some properties for our build. But I …

maven groovy jenkins hudson hudson-plugins
get current date and time in groovy?

What is the code to get the current date and time in groovy? I've looked around and can't find an …

groovy workflow jenkins-pipeline groovyshell
Jenkins pipeline: No such DSL method

With this code i got an error in Jenkins pipeline. I don`t get it why? Am I missing something? …

jenkins groovy jenkins-pipeline
Selenium UnreachableBrowserException - "Could not start a new session" in SoapUI Groovy TestStep

I use SoapUI Pro 5.1.2 on Win7 x32, and try to connect to Selenium Webdriver in Groovy TestStep. For this purpose …

java selenium groovy webdriver soapui
Get key in groovy maps

def map = [name:"Gromit", likes:"cheese", id:1234] I would like to access map in such a way that I can …

groovy maps
How do I include jars in a groovy script?

I have a groovy script that needs a library in a jar. How do I add that to the classpath? …

java groovy jar classpath
How to capture arguments passed to a Groovy script?

I am just starting out with Groovy. I couldn't find any examples anywhere of how to handle arguments to a …

java groovy command-line-arguments command-line-parsing