pipeline {
agent any
stages {
stage(“Tests”'Tests') {
when {
when { expression { branch==“master”}branch }'master'
}
steps {
echo “FUT”}'foo'
}
}
}
Improved formatting, use built-in condition 'branch', single quotes for non-interpolated strings