I started some solutions deployment with batch file and one of them was hanging. So I stopped the script and tried to retract that one solution to deploy it once again
stsadm -o retractsolution -name solutionname.wsp -immediate -allcontenturls
This gives me error message:
A deployment or retraction is already under way for the solution "solutionname.wsp", and only one deployment or retraction at a time is supported.
I tried to stop it with
iisreset and by going to Services and restarting
SharePoint 2010 Timer service. That didn't help.
How to stop previous solution deployment, so I can try again?