Just an update on this. On http (without nginx) the Snippet Generator now seems to generate code as expected. However, for any Sample Step, the Generate Pipeline Script button disappears when I hover over it. This happens in Edge and Firefox.
Can anyone reproduce this behavior in Jenkins 2.414.1?
I don’t see plain “gcc” in the tools list. There are “GNU C Compiler (gcc)” and “GNU C Compiler 3 (gcc)”. I added both of those tools and clicked “Generate Pipeline Script”. There were no errors or warnings in the browser console, POST to ${JENKINS_URL}/pipeline-syntax/generateSnippet returned HTTP status 200, and recordIssues(tools: [gcc(), gcc3()]) was correctly generated.
The button does disappear on hover but that seems to be a symptom of JENKINS-71479, not related to the HTTP status 500 that you’re getting.
There may be more information about the 500 status in the HTTP response or in Jenkins logs.