Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reapply develocity #25342

Closed

Conversation

ribafish
Copy link
Contributor

@ribafish ribafish commented Jan 23, 2025

This PR reverts PR #25335, which removed the Develocity configuration. It also includes a proposed fix for ant jobs not starting due to groovy scoping.

Note: If possible, please test the ant jobs fix before merging :)

Relates to issue #25322.

Jenkinsfile Show resolved Hide resolved
@pzygielo
Copy link
Contributor

This is missing develocity volume.

@pzygielo
Copy link
Contributor

And now this PR and 25336 differ for:

  • in 25336 required volume is mounted
  • in 25336 extensions are not enabled by default but on request.
  • Jenkinsfile in 25336 is actually used in pipeline.

Hence, I propose for you to close this PR and discuss in 25336.

@pzygielo
Copy link
Contributor

image
but
image

@ribafish
Copy link
Contributor Author

#25342 (comment) - @pzygielo I'm not sure what this means...

@pzygielo
Copy link
Contributor

#25342 (comment) - @pzygielo I'm not sure what this means...

Note: If possible, please test the ant jobs fix before merging :)

I pushed the commit as the branch to origin.
Again - it's green, but

 [INFO] 6945 goals, 6945 executed
 [ERROR] Error executing a 'onClose' callback

 java.lang.IllegalStateException: Failure creating Develocity storage directory

     at com.gradle.maven.common.configuration.j.i (SourceFile:79)

     at com.gradle.maven.extension.internal.dep.com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get (SourceFile:200)

     at com.gradle.maven.scan.extension.internal.g.b.b (SourceFile:72)
...
Caused by: java.nio.file.AccessDeniedException: /home/jenkins/.m2/.develocity

     at sun.nio.fs.UnixException.translateToIOException (UnixException.java:90)

     at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:106)

as mentioned in #25342 (comment).

@ribafish
Copy link
Contributor Author

Closing in favor of #25336

@ribafish ribafish closed this Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants