Using the ‘stage’ step without a block argument is deprecated : <p>When building a Jenkins pipeline job (Jenkins ver. 2.7.4), I get this warning:</p>

<pre><code>Using the ‘stage’ step without a block argument is deprecated
</code></pre>

<p>How do I fix it?</p>

<p>Pipeline script snippet:</p>

<pre><code>stage 'Workspace Cleanup'
deleteDir()
</code></pre>
