In order change the build status you need to delete the build history
Dont do this if you want to retain the build histroy for some purpose.
If you are ok o delete the build history You can use following groovy script for that:
You can run groovy script from Go to your Jenkins home page > Manage Jenkins > Jenkins Script Console
Copy following Script in script console and hit run button
def jobName = "D_GitCheckoutPipeLine" # Update the Job Name here before executing this script
def job = Jenkins.instance.getItem(jobName)
job.getBuilds().each { it.delete() }
job.nextBuildNumber = 1
job.save()
Let me know if you have any questions
Thanks and Regards,
Rajendra Prasad Reddy Penumalli
Sr. Engineer in Testing.
Mobile:9008566233