I have a problem with mapping in Groovy. I would like to get a value based on a variable. def function(){ map = [ 'test1': '1234', 'test2'
I wanted to compile groovy along with java sources so I added groovy-eclipse-compiler to pom.xml but I got an error: Groovy-Eclipse: source level should be in
I'm trying to compare a String with a date in it with the current date, but when I try to parse the string to date format it always give me an error. the part
I have a Gradle project in Ubuntu. It's written in Java 14. I have the Java 14 JDK installed. When I build it from the command line, everything works, but no
I have an existing groovy micronaut app I'm trying to change where it loads its config from. I don't understand what code to write so I can set the location of
I am trying to perform a get request using Groovy using the below code: String url = "url of endpoint" def responseXml = new XmlSlurper().parse(url) If the endp
I am trying to writing a Jenkins Shared Library for my CI process. I'd like to reference a class that is in the \src folder inside a global function defined in
We use Jenkins JobDSL with ConfigurationAsCode for our CI setup. The job is checking if there is a difference in the Git repo and if there is : clone the repo,
I've noticed a recent issue in both our instances of Jenkins. When launching a job manually, it launches twice. I've no idea what is causing it, but it's happen
I've noticed a recent issue in both our instances of Jenkins. When launching a job manually, it launches twice. I've no idea what is causing it, but it's happen
While trying to build https://github.com/mozilla/rhino, I'm getting Unable to find method on org.codehaus.groovy.runtime.StringGroovyMethods. so the build fails
I have a method that among others generates an identifier, sends it to some external dependency and returns it. I want to have a unit test that tests if the sam
In Jenkins' Groovy, how can I detect that some other build is waiting for user input, as triggered by statements like input message: 'Retry?' ok: 'Restart'? I
I am looking for some guidance on the design of a Jenkins Shared Library class. Using global vars as shared library is working fine but everytime I define a cla
I'm following an example from JENKINS-44085 issue very-bottom comments about creating a stage map almost to the T, but when I execute my code I get No such pro
I've found the vscode-groovy extension that does the formatting and highlighting, but I'm really having trouble getting the compiler/debugger configured. I f
After updating cucumber-groovy from version 4.7.1 to 6.1.2 I started getting an error Access to 'PickleStepTestStep' exceeds its access rights. In old version i
I would like to add Groovy support to my project in Intellij Idea 2018.1. But when I open "Add Framework Support..." from the project context menu, I don't see
I have a problem where I have tried very different scenarios, I am a fresh automation tester for api services and I'm using soapui and groovy to my services. So
I'm currently learning and implementing Jenkin's Pipeline for automated integration for java web application. My plan is that once developers successfully comm