pipeline { agent { kubernetes { yamlFile 'jenkins/pod-templates/cdt-full-pod-standard.yaml' } } options { timestamps() disableConcurrentBuilds() } stages { stage('Run build') { steps { container('cdt') { timeout(activity: true, time: 20) { withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=60.0']) { sh 'MVN="/usr/share/maven/bin/mvn -Dmaven.repo.local=/home/jenkins/.m2/repository \ --settings /home/jenkins/.m2/settings.xml" ./releng/scripts/check_mvn_plugin_versions.sh' } } } } } } }