No field for pipeline script after update

Hello. Help, please, understand what’s going on. Recently, after an automatic Jenkins update, all service data was deleted. But now, when installing new versions, there is no field for entering a pipeline script. What could be causing this? Or maybe you can advise another way to run the pipeline (everything is run on the local machine, without connecting to Git).

Jenkins does not intend to delete service data when it performs an update. If Jenkins deleted service data during an update, you can help the Jenkins project by reporting an issue to the Jenkins installer that you are using (Windows, Linux, WAR file, etc.).

I suspect that Jenkins did not delete service data during an update. Your description is very brief, but it might hint that the Jenkins home directory is somehow different on the new startup than it was on the old startup. Unfortunately, you don’t mention the original Jenkins version or the new Jenkins version. Unfortunately, you don’t mention the operating system where Jenkins is running. All those items may help others as they try to help you.

Jenkins Pipelines are implemented using Jenkins plugins. If you’re not seeing a way to enter the Pipeline script in a job definition, then you probably have not installed those plugins. Jenkins does not remove plugins on upgrade. That may also indicate that your Jenkins home directory is incorrect.

“it doesn’t work” is always hard to remote debug. Try to always include these things.

  1. what did you try? (Code samples, command lines, screenshots, videos, etc)
  2. what happened? (Error messages, description, outputs, stuff)
  3. what did you expect to happen?
  4. what versions of plugins, Java runtime, and operating system are you using?

Otherwise, it’s hard for us to get into your context and you’ll have to have someone who is exactly knowledgeable come along.