title: how to pass 2 results from jenkins script in 2 different variables
body: <p>I have a test.py file which prints out 2 variables - v1 and v2.</p>
  <p>I have a jenkins file:</p>
  <pre><code>steps{
                  script {
                      result= sh(returnStdout: true, script: 'python -u test.py')
                      println result
                  }//script
              }
  </code></pre>
  <p>Is it possible to pass v1 and v2 from the script to two different variables in jenkins? Like:</p>
  <pre><code>steps{
                  script {
                      sh(returnStdout: true, script: 'python -u test.py')
                      println v1
                      println v2
                      }//script
                  }
  </code></pre>