Please explain the error while running the Pipeline .
Welcome to the community!
What version of SonarQube are you trying to run?
I wanted to use 8.9 but now I am testing with 7.94. Once it’s will be successful then I will later update to 8.9.
SonarQube 7.9.4 is past EOL and we really can’t help you with it. You should switch/upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:
7.9.4 → 8.9.8 → 9.5 (last step optional)
You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.