Jenkins Pipeline "node inside stage" vs "stage inside node" : <p>As both <code>node</code> step and <code>stage</code> step provide scoped <code>{}</code> syntax, what is the best practice for defining their topology inside groovy code?</p>

<p><strong><em>Exhibit A</em></strong></p>

<pre><code>node ("NodeName") {
    stage ("a stage inside node"){
        // do stuff here
    }
}
</code></pre>

<p><strong><em>Exhibit B</em></strong></p>

<pre><code>stage ("a stage holding a node") {
    node ("NodeName"){
        // do stuff here
    }
}
</code></pre>
