First, check the space in the Server where jenkins is hosted. In jenkins normally it can hold 20 builds. More than that, jenkins would throw an error. Follow the below given steps to avoid this error.
1.Clear the old builds which are deployed way back in months.
2. Increase the build counter in jenkins.