Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41362

Script step to take a text box

XMLWordPrintable

    • iapetus

      (this is more just a question, so I dont' forget)

      I noted that the script step just allows normal children steps, but this doesn't quite make sense. I thought the idea was that this would take arbitrary script content (perhaps a text box, or a wider selection of steps, or something).

      Related, if I paste in the following pipeline:

      pipeline {
          
          agent any 
          stages {
              stage('first') {
                  steps {
                      script {
                          sh 'echo 42'
                          
                      }
                      
                  }
              }
          }
          
      }
      

      then I don't see a way to get to the "echo 42" shell script step.

            kzantow Keith Zantow
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: