Hi Jokerswild. I'm not quite sure of the context, but he seems to make a really important decision, because this line, のるかそるか,is usually used in the similar situation. He has to do something serious, but he doesn't know whether it's going to be successful or not.
And どのみち means, no matter what I do this or that.
Is it the answer of your question?