Skip to content

Commit 74f321c

Browse files
committed
Migrate run-dash-licenses from cdt-infra to main CDT repo
1 parent 9ab0f2f commit 74f321c

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
pipeline {
2+
agent {
3+
kubernetes {
4+
yamlFile 'jenkins/pod-templates/cdt-full-pod-plus-eclipse-install.yaml'
5+
}
6+
}
7+
options {
8+
timestamps()
9+
disableConcurrentBuilds()
10+
}
11+
stages {
12+
stage('Run Dash Licenses Check') {
13+
steps {
14+
container('cdt') {
15+
timeout(activity: true, time: 20) {
16+
withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=60.0']) {
17+
sh 'MVN="/usr/share/maven/bin/mvn -Dmaven.repo.local=/home/jenkins/.m2/repository \
18+
--settings /home/jenkins/.m2/settings.xml" ./releng/scripts/run_dash_licenses.sh'
19+
}
20+
}
21+
}
22+
}
23+
}
24+
}
25+
post {
26+
always {
27+
container('cdt') {
28+
archiveArtifacts allowEmptyArchive: true, artifacts: '*.log'
29+
}
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)