Questions tagged [groovy]
Groovy is an object-oriented programming language for the Java platform. It is a dynamic language with features similar to those of Python, Ruby, Perl and Smalltalk. It can be used as a scripting language for the Java platform.
groovy
30,274
questions
0
votes
0
answers
24
views
Micronaut Bean Not Found on Websphere
I have a grails 5.3.6 application running on java 8_261.
I am using Intellij ultimate with grails, groovy and spring plugins.
Whenever I do grails run-app, the app launches normally and opens in my ...
-1
votes
0
answers
41
views
What does this Gradle lines mean?
This lines are from GroovyFx project, which was written for Java 8.
What does the classpath variables mean and how can be this translated into the latest Gradle specifications?:
configurations {
...
-5
votes
0
answers
38
views
Gradle: No signature of method? [closed]
No signature of method: org.gradle.accessors.dm.LibrariesForLibs$AndroidPdfViewerLibraryAccessors.v282() is applicable for argument types: (build_5l8isf66sg18dffilkm948bni$_run_closure3$_closure10) ...
-1
votes
0
answers
25
views
How do I get an activation code for Cyclos 4 access client?
I am trying to generate an apiKey for an access client I created on Cyclos banking software. In order to activate the access client, I need to have an activation code but I can't seem to find where I ...
1
vote
1
answer
30
views
gradle plugin not found after publishToMavenLocal
I want to publish my plugin in my local Maven repository, and it does not work. The plugin looks published, but is not found after publishing. This happens even with the "hello-world" plugin ...
0
votes
1
answer
20
views
Jenkins Pipeline get unstable/error causes from downstream job
Is there a simple and fast way to get the reasons of an error or an unstable of downstream job? And at what stage did this happen?
We have one reason of unstable that we don't care about (we can't ...
0
votes
2
answers
50
views
My variable is not interpolated in the body on emailext
This is a piece of my Jenkinsfile:
emailext([
attachmentsPattern: '**/build/*.log',
subject: 'Hello World',
recipientProviders: [developers(), requestor()],
to: '$...
0
votes
2
answers
39
views
How to conduct Groovy compile-time error check, but without @TypeChecked or @CompileStatic?
A springboot gateway project, written with Groovy, i.e., all the Controller and Service are in *.groovy.
In fact, the code is totally java-style. Using groovy is only for hot update. So we don't need ...
0
votes
1
answer
33
views
How to retrieve Jenkins build parameters in the email groovy script?
I am using Jenkins version 2.463 and I have a parameterized pipe-line job, as:
parameters {
string(name: 'testSite', defaultValue: '...', description: 'Test Site')
string(name: 'GIT_API', ...
0
votes
0
answers
22
views
groovy under eclipse un resolved groovy.json.JsonSlurper
I have installed the eclipse groovy plugin here
I created new groovy project and add new groovy script file to it to test.
I was trying to do json manipulation so I copied the following code to my ...
0
votes
0
answers
22
views
union type data serialization
I'm trying to use ConvertRecord to deserialize a union type of data from avro to json.
However I've seen different behavior
The schema is defined as:
"name": "data",
...
0
votes
1
answer
27
views
Attach multiple files to Jenkins email
I want to attach these files as a zip archive:
And this is what I did:
emailext([
attachLog: true,
subject: 'Hello World',
recipientProviders: [developers(), requestor()],
to: '$...
-1
votes
0
answers
19
views
Jenkins pipeline unable to send email to a team DL
I am trying to send an email notification from jenkinspipeline script to a team dl. I can see the execution of script properly but getting the error
[Pipeline] emailext
Sending email to: <...
0
votes
0
answers
59
views
+50
Class referred in Annotation cannot be found
In this project: https://github.com/wise-coders/groovyfx., a fork of GroovyFX (see source code). Upgrading to OpenJDK 17 and Gradle 7.6 I get this error (which did not happen under Java 8):
Could not ...
2
votes
0
answers
49
views
Powershell Wait-Job does not return reliably
from a Jenkins Pipeline we call a powershell script that calls a tool to execute some tests. We want the pipeline to wait for the test execution being finished. As a fallback in case of any issues we ...