title: jenkins script console - can i use jenkins pipeline DSL in script console
body: <p>i want to try some jenkins pipeline DSL methods. a sample code </p>
  
  <pre><code>node("linux-agent") {
    sh "ls -ltra"
  }
  </code></pre>
  
  <p>i just want to try few changes to the script very quick. so i try to run this in "jenkins script console ". but seems it does not work in that way. i have to edit the job sonfig every time and run the job to test my code.</p>
  
  <ol>
  <li>is there any quick way to test script changes without putting them in a piepline job?</li>
  <li>is there a way to run this in "jenkins script console"? </li>
  </ol>
  
  <p>thanks in advance !!</p>