pipeline { agent any stages { stage("Hello") { steps { echo "Start.." } } stage("Check out from version control") { steps { checkout scm } } stage("Shell Script") { steps { sh "chmod u+x ./startscript.sh" archiveArtifacts 'data.txt' } } } }