cdt/releng/run-dash-licenses.Jenkinsfile

32 lines
784 B
Text

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'
}
}
}
}