Gang Of Coders
Home
About Us
Contact Us
All Groovy Solutions on Gang of Coders
Total of 146 Groovy Solutions
How to set variables in a multi-line shell script within Jenkins Groovy?
Jenkins
Groovy
Jenkins Workflow
How do I get the output of a shell command executed using into a variable from Jenkinsfile (groovy)?
Groovy
Jenkins Pipeline
Named parameters
Groovy
Named Parameters
Difference between @Delegate, @Mixin and Traits in Groovy?
Design Patterns
Groovy
Delegates
Mixins
Traits
Converting a string to int in Groovy
Groovy
Gradle: getting the root project directory path when starting with a custom build file
Gradle
Groovy
How do I convert a Groovy String collection to a Java String Array?
Groovy
Collections
What the difference in applying gradle plugin
Groovy
Gradle
Gradle Plugin
Generate A Weighted Random Number
Javascript
Groovy
Actionscript
Java/Groovy - simple date reformatting
Java
Date
Groovy
Reformat
How to remove Duplicate Values from a list in groovy
Groovy
Access to build environment variables from a groovy script in a Jenkins build step (Windows)
Windows
Groovy
Jenkins
Environment Variables
How can I return a 404/50x status code from a Grails Controller?
Grails
Error Handling
Groovy
Http Status-Code-404
Get key in groovy maps
Groovy
Maps
how to parse json using groovy
Json
Grails
Groovy
How do I use String interpolation in a Groovy multiline string?
Groovy
String Interpolation
How do I include jars in a groovy script?
Java
Groovy
Jar
Classpath
Groovy syntax for regular expression matching
Regex
Groovy
Using "$" in Groovy
Grails
Groovy
Groovy Method to combine list of lists
List
Groovy
Can I define multiple agent labels in a declarative Jenkins Pipeline?
Jenkins
Groovy
Jenkins Pipeline
Groovy - Grab - download failed
Groovy
Load Jenkins Pipeline Shared Library from same repository
Jenkins
Groovy
Shared Libraries
Jenkins Pipeline
Groovy, how to iterate a list with an index
Arrays
List
Groovy
Loops
Running Groovy script from the command line
Unix
Groovy
Strip indent in Groovy multiline strings
Groovy
Dynamically adding elements to ArrayList in Groovy
Java
List
Arraylist
Groovy
Get values from properties file using Groovy
Groovy
Properties File
Is it possible to Git merge / push using Jenkins pipeline
Git
Jenkins
Groovy
Bitbucket
Does groovy have an easy way to get a filename without the extension?
Java
File Io
Groovy
File Extension
Check if string starts with tab
Groovy
How to verify if an object has certain property?
Groovy
What is the purpose of question mark(?) after a variable in Groovy
Groovy
Try-catch block in Jenkins pipeline script
Jenkins
Groovy
Try Catch
Jenkins Pipeline
Is there a null-coalescing (Elvis) operator or safe navigation operator in javascript?
Javascript
Jquery
Groovy
Safe Navigation-Operator
Jenkins: Can comments be added to a Jenkinsfile?
Jenkins
Groovy
Comments
Jenkins Pipeline
Groovy executing shell commands
Groovy
Groovy Shell warning "Could not open/create prefs root node ..."
Windows
Groovy
Groovyshell
Could not find method compile() for arguments Gradle
Java
Groovy
Gradle
Gradle does not find tools.jar
Java
Gradle
Groovy
Build
How can I trigger another job from a jenkins pipeline (jenkinsfile) with GitHub Org Plugin?
Jenkins
Groovy
Jenkins Workflow
Jenkins Pipeline
Groovy: what's the purpose of "def" in "def x = 0"?
Groovy
Keyword
Loop through Map in Groovy?
Dictionary
Groovy
Groovy / grails how to determine a data type?
Groovy
Types
Recommended way to stop a Gradle build
Groovy
Build
Gradle
Can I find out the return value before returning while debugging in Intellij?
Java
Groovy
Intellij Idea
Can you break from a Groovy "each" closure?
Groovy
How can I determine if a String is non-null and not only whitespace in Groovy?
String
Groovy
Whitespace
Difference between Groovy Binary and Source release?
Groovy
Installation
Executable
Scala vs. Groovy vs. Clojure
Scala
Groovy
Clojure
Language Comparisons
How do I create and access the global variables in Groovy?
Groovy
How to check if element in groovy array/hash/collection/list?
Arrays
List
Groovy
What's wrong with Groovy multi-line String?
String
Groovy
Multiline
How to list all `env` properties within jenkins pipeline job?
Jenkins
Groovy
Jenkins Pipeline
What is the effect of @NonCPS in a Jenkins pipeline script
Jenkins
Groovy
Could not find method leftShift() for arguments after updating studio 3.4
Android
Gradle
Groovy
Android Gradle-Plugin
build.gradle
How to get just the parent directory name of a specific file
Java
Groovy
Java Io
Jenkins: Cannot define variable in pipeline stage
Jenkins
Groovy
Jenkins Pipeline
What are the key differences between Scala and Groovy?
Scala
Groovy
Checking if a collection is null or empty in Groovy
Grails
Groovy
'dependencies' cannot be applied to '(groovy.lang.Closure)'
Android
Groovy
Gradle
Conditional step/stage in Jenkins pipeline
Jenkins
Groovy
Jenkins Pipeline
What's the difference of strings within single or double quotes in groovy?
String
Groovy
How to use a variable for the key part of a map
Groovy
Configuring Groovy SDK within IntelliJ IDEA
Intellij Idea
Groovy
Jenkins Pipeline
shortcut for creating a Map from a List in groovy?
Java
Collections
Groovy
Expandometaclass
Resetting the UP-TO-DATE property of gradle tasks?
Groovy
Gradle
How can I fix "unsupported class file major version 60" in IntelliJ IDEA?
Java
Ubuntu
Intellij Idea
Groovy
Including a groovy script in another groovy
Groovy
Jenkins pipeline how to change to another folder
Jenkins
Groovy
Jenkins Pipeline
How can I import one Gradle script into another?
Java
Ant
Groovy
Build
Gradle
Jenkins Pipeline NotSerializableException: groovy.json.internal.LazyMap
Json
Jenkins
Groovy
Jenkins Pipeline
How to access java-classes in the default-package?
Java
Groovy
Default Package
Hibernate: Automatically creating/updating the db tables based on entity classes
Java
Mysql
Hibernate
Jpa
Groovy
Clojure 1.2.1/1.3/1.4 'proxy generated in Grails 2.0.0 runtime fails. 1.2.0 is fine
Grails
Groovy
Clojure
Proxy
Splitting String with delimiter
String
Groovy
Split
What are "Groovy" and "Grails" and what kinds of applications are built using them?
Grails
Groovy
Get a list of all the files in a directory (recursive)
File
Groovy
Directory Listing
String concatenation with Groovy
String
Groovy
Idioms
String Concatenation
Gstring
Groovy - How to compare the string?
Groovy
Groovy built-in REST/HTTP client?
Rest
Groovy
Httpbuilder
Failing a build in Jenkinsfile
Jenkins
Groovy
Jenkins Pipeline
Groovy map method of collections
Scala
Groovy
Functional Programming
Map
IntelliJ IDEA and Gradle - Cannot be applied to '(groovy.lang.Closure)'
Java
Intellij Idea
Groovy
Gradle
build.gradle
Does Groovy have method to merge 2 maps?
Dictionary
Groovy
How to define and call custom methods in build.gradle?
Gradle
Groovy
build.gradle
Understanding the groovy syntax in a gradle task definition
Groovy
Gradle
How to access parameters in a Parameterized Build?
Jenkins
Groovy
Jenkins Pipeline
Groovy XmlSlurper vs XmlParser
Xml
Groovy
Xml Parsing
Xmlslurper
Copy entire directory contents to another directory?
Java
Grails
File Io
Groovy
How to capture arguments passed to a Groovy script?
Java
Groovy
Command Line-Arguments
How to create methods in Jenkins Declarative pipeline?
Jenkins
Groovy
Jenkins Pipeline
Jenkins Groovy
Jenkins Declarative-Pipeline
Groovy - Convert object to JSON string
Json
Groovy
Jenkins pipeline if else not working
Jenkins
Groovy
Hidden features of Groovy?
Groovy
How to encode URL in Groovy?
Groovy
Urlencode
Url Encoding
How do you load a groovy file and execute it
Jenkins
Groovy
Jenkins Pipeline
Run bash command on jenkins pipeline
Linux
Bash
Shell
Jenkins
Groovy
Found shared references to a collection org.hibernate.HibernateException
Java
Hibernate
Grails
Groovy
Grails Orm
How do I implement a retry option for failed stages in Jenkins pipelines?
Groovy
Jenkins Workflow
Jenkins Pipeline
Jenkinsfile
Show a Jenkins pipeline stage as failed without failing the whole job
Jenkins
Groovy
Jenkins Workflow
Jenkins Pipeline
How do I tell IntelliJ about groovy installed with brew on OSX
Java
Macos
Intellij Idea
Groovy
How do you get the path of the running script in groovy?
Groovy
Groovy String to Date
String
Parsing
Date
Groovy
Gradle Single vs Double Quotes
Kotlin
Gradle
Groovy
build.gradle
Gradle Kotlin-Dsl
Is Grails (now) worth it?
Ruby on-Rails
Grails
Groovy
Language Comparisons
How to rotate JPEG images based on the orientation metadata?
Java
Image Processing
Groovy
Is it possible to create object without declaring class?
Groovy
Groovy method with optional parameters
Groovy
Syntax
Optional Parameters
Best pattern for simulating "continue" in Groovy closure
Groovy
Closures
How to write a conditional collect in groovy?
Groovy
Array of strings in groovy
Arrays
String
Groovy
Global constants in Groovy
Groovy
Global Variables
How to read a properties files and use the values in project Gradle script?
Java
Gradle
Groovy
How to replace string in Groovy
Groovy
Converting File to MultiPartFile
Java
Spring
Groovy
Spock - Testing Exceptions with Data Tables
Exception
Testing
Groovy
Spock
How to pass boolean parameter value in pipeline to downstream jobs?
Jenkins
Groovy
Jenkins Pipeline
How to access Grails configuration in Grails 2.0?
Grails
Groovy
Grails 2.0
How to pass parameters or arguments into a Gradle task?
Variables
Gradle
Groovy
Parameters
build.gradle
Elegant way for do ... while in groovy
Loops
Groovy
Do While
ext and code block's meaning in the gradle file
Groovy
Gradle
for each loop in groovy
Java
Groovy
Foreach
Jenkins: Pipeline sh bad substitution error
Bash
Jenkins
Groovy
Jenkins Pipeline
How to specify when branch NOT (branch name) in jenkinsfile?
Jenkins
Groovy
Continuous Integration
Jenkins Pipeline
Remove null items from a list in Groovy
Groovy
Using variables in Gradle build script
Groovy
Gradle
How to read a file in Groovy into a string?
File
Groovy
Jenkins - abort running build if new one is started
Git
Jenkins
Groovy
Multibranch Pipeline
Jenkinsfile Declarative Pipeline defining dynamic env vars
Jenkins
Groovy
Jenkins Pipeline
How do I add an element to a list in Groovy?
Groovy
Jenkins how to create pipeline manual step
Jenkins
Groovy
Jenkins Pipeline
How to limit Jenkins concurrent multibranch pipeline builds?
Jenkins
Groovy
Concurrency
Jenkins Pipeline
how to accept multiple parameters from returning function in groovy
Groovy
How to print a Groovy variable in Jenkins?
Variables
Jenkins
Groovy
Jenkins Pipeline
How to check if a directory containing a file exist?
Groovy
Groovy, "try-with-resources" construction alternative
Groovy
How is the performance of Groovy compared with Java?
Java
Groovy
Groovy different results on using equals() and == on a GStringImpl
Groovy
Operator Overloading
Equals
Gstring
How to define and use function inside Jenkins Pipeline config?
Jenkins
Groovy
Jenkins Pipeline
How to set project.version by passing version property on gradle command line?
Java
Groovy
Gradle
Updating environment global variable in Jenkins pipeline from the stage level - is it possible?
Jenkins
Groovy
Jenkins Pipeline
Groovy not in collection
Groovy
calling .each{} on IntRange returns the range not each integer
Groovy
Int
Range
Each
groovy: safely find a key in a map and return its value
Dictionary
Groovy
Closures
How do I find out Groovy runtime version from a running app?
Groovy