Migrate run-dash-licenses from cdt-infra to main CDT repo

This commit is contained in:
Jonah Graham 2022-11-29 14:14:24 -05:00
parent 9ab0f2f256
commit 74f321cbca

View file

@ -0,0 +1,32 @@
pipeline {
agent {
kubernetes {
yamlFile 'jenkins/pod-templates/cdt-full-pod-plus-eclipse-install.yaml'
}
}
options {
timestamps()
disableConcurrentBuilds()
}
stages {
stage('Run Dash Licenses Check') {
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/run_dash_licenses.sh'
}
}
}
}
}
}
post {
always {
container('cdt') {
archiveArtifacts allowEmptyArchive: true, artifacts: '*.log'
}
}
}
}