pipeline { agent any options { timestamps() } parameters { string(name: 'GIT_BRANCH', defaultValue: 'master', description: 'default build branch') booleanParam(name: 'RUN_SONAR_SCANNER', defaultValue: true, description: 'run the sonar scanner check.'…