Skip to content

Commit

Permalink
Migrate run-dash-licenses from cdt-infra to main CDT repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahgraham committed Nov 29, 2022
1 parent 9ab0f2f commit 74f321c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions releng/run-dash-licenses.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -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'
}
}
}
}

0 comments on commit 74f321c

Please sign in to comment.