I'm trying to update the git plugin from requiring Jenkins 2.204.1 to 
Jenkins 2.222.x or newer.  The git plugin includes config round trip 
tests.  Those tests fail with a message:

Cannot call method "hasClassName" of undefined (
http://localhost:45517/jenkins/static/ddaf3eae/scripts/hudson-behavior.js#1382
) 

The failure line matches a line in the hudson-behavior.js file for that 
Jenkins core version. 

A minimal example of the failure can be seen 
in 
https://ci.jenkins.io/job/Plugins/job/git-plugin/view/change-requests/job/PR-1005/2/testReport/
 
and will also be visible 
in 
https://ci.jenkins.io/job/Plugins/job/git-plugin/view/change-requests/job/PR-1005/3/testReport/

The second set of failures adds an example that does not use any git plugin 
features.  Source code for the failing test is available 
at https://github.com/jenkinsci/git-plugin/pull/1005/files

Suggestions for the changes I should make so that the config round trip 
tests will run as expected?

Thanks
Mark Waite

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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-dev/46135ec9-8934-4daf-85b9-909d9e3b8305n%40googlegroups.com.

Reply via email to