I am trying to create a Jenkins pipeline with active choice parameter options populated with GKE Cluster namespaces. I can Run a single shell command and get ou
I want to fill my Map with two strings. For my Map I have to use <String, Object>. Using <String, String> would instantly solve my problem, but that
I need to create a url and send a mail from the Jenkins Email Plugin. I simply need the filenames to creat the url. The files are in the workspace itself. After
I have a Jenkins Shared Library organized like that : +- src | +- main | +- jenkins_shared_library | +- helpers |
I had a mocked bean in a configuration: @Profile('test') @Configuration class TestSecurityConfig { private final mockFactory = new DetachedMockFactory() @Pr
I want to update my Jenkins pipeline in way that certain stages are only build when some specific files are changed (git is already integrated in the pipeline).
I need to download test result file attachments to a folder on my hard drive. When I run the call using talend it returns the file (png) image file in the body
I need to read a simple csv file and going through the documentation I found this readCSV method which comes with Jenkins, I have set a sample file named test.c
I'm working with this pipeline where running tests from a commit message should be an option. I'm a novice in groovy and regex, but I have managed to get matche
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