mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-03-28 14:56:28 +01:00
Migrate run-dash-licenses from cdt-infra to main CDT repo
This commit is contained in:
parent
9ab0f2f256
commit
74f321cbca
1 changed files with 32 additions and 0 deletions
32
releng/run-dash-licenses.Jenkinsfile
Normal file
32
releng/run-dash-licenses.Jenkinsfile
Normal 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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue