mirror of
https://github.com/eclipse-cdt/cdt
synced 2024-10-28 03:59:40 +01:00
32 lines
784 B
Text
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'
|
|
}
|
|
}
|
|
}
|
|
}
|