Branch: refs/heads/master
Home: https://github.com/jenkinsci/jenkins
Commit: 270062ace3254a65fa29d37046b901d57b908fa5
https://github.com/jenkinsci/jenkins/commit/270062ace3254a65fa29d37046b901d57b908fa5
Author: Daniel Beck <[email protected]>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M core/src/main/java/hudson/cli/GroovyCommand.java
M core/src/main/java/hudson/cli/GroovyshCommand.java
M core/src/main/java/hudson/util/RemotingDiagnostics.java
A core/src/main/java/jenkins/util/DefaultScriptListener.java
A core/src/main/java/jenkins/util/ScriptListener.java
M core/src/main/java/jenkins/util/groovy/GroovyHookScript.java
A test/src/test/java/jenkins/model/ScriptListenerTest.java
Log Message:
-----------
[JENKINS-41516] Add script console listener (alternative/extended proposal)
(#7056)
* Set location for listener
* Add ScriptListener
* Remove debugging statements
* Add listener for CLI
* Add new listener for other sources
* Simplify listener
* Fix whitespace and comments
* Update core/src/main/java/hudson/cli/GroovyCommand.java
Co-authored-by: Wadeck Follonier <[email protected]>
* Add precise origins; Correctly log CLI input
* Add LoggingGroovySh as suggested by @daniel-beck
* Add ScriptListener Tests
* Add basic default listener that just logs
* WIP Script Listener
* Cleaner ScriptListener API
* Add license
* Cleaner Binding stringification
* Note TODO
* Add Object feature parameters
* Thanks Checkstyle
* Thanks Spotbugs
* Simplify test, make it pass again
* Add since TODO
* No mocking, use CLICommandInvoker for CLI commands
* Minor cleanup
* Fix imports
* So far, #onScriptDefinition would be unused, so remove it
* Checkstyle
* Add test for DefaultScriptListener
* Nicer message for the (hopefully rare) case of anon script execution
* More thoroughly test logging
* Remove obsolete TODO
---------
Co-authored-by: Meiswinkel, Jan SF/HZA-ZC2S <[email protected]>
Co-authored-by: Jan Meiswinkel <[email protected]>
Co-authored-by: meiswjn <[email protected]>
Co-authored-by: Daniel Beck <[email protected]>
Co-authored-by: Wadeck Follonier <[email protected]>
Co-authored-by: Basil Crow <[email protected]>
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/32834c-270062%40github.com.