SuccessConsole Output

+ cat Jenkinsfile
node {

  stage('checkout'){
      sh 'printenv | sort'
      checkout changelog: true, poll: false, scm: [
                        $class: 'GitSCM', branches: [[name: "${env.gitlabAfter}"]],
                        doGenerateSubmoduleConfigurations: false,
                        extensions: [[$class: 'PreBuildMerge', options: [
                        fastForwardMode: 'FF', mergeRemote: 'origin', mergeStrategy: 'DEFAULT', 
                        mergeTarget: "${env.gitlabTargetBranch}"]]
                        ],
                        submoduleCfg: [],
                        userRemoteConfigs: [[
                        credentialsId: 'f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e', 
                        url: "${env.gitlabSourceRepoSshUrl}" ]]
                    ]

  }
    
  stage("say hello"){
    echo "Hello world"
  }
  
  stage("say goodbye"){
    echo "Goodbye"
    sh 'echo $(pwd)'
    sh 'pwd'
    sh 'ls'
    echo "again"
    sh 'cat Jenkinsfile'
    sh 'git log --oneline -n 5'
    sh 'git status -sb'
    
    updateGitlabCommitStatus name: 'Build', state: 'success'
  }
  
}