14 lines
276 B
Plaintext
14 lines
276 B
Plaintext
|
pipeline {
|
||
|
agent any
|
||
|
stages {
|
||
|
stage('Example') {
|
||
|
steps {
|
||
|
script {
|
||
|
def output = sh(returnStdout: true, script: 'pwd')
|
||
|
echo "Output: ${output}"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|