Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
Run Dash Licenses tool on CDT
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahgraham committed Aug 31, 2020
1 parent 4bcd2f0 commit 9ea880c
Showing 1 changed file with 42 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
pipeline {
agent {
kubernetes {
yamlFile 'jenkins/pod-templates/cdt-platform-sdk.yaml'
}
}
options {
timestamps()
disableConcurrentBuilds()
}
stages {
stage('Git Clone') {
steps {
container('cdt') {
timeout(activity: true, time: 20) {
/* Running the git fetch command manually is a workaround. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=560283#c16 */
sh 'git config remote.origin.url https://git.eclipse.org/r/cdt/org.eclipse.cdt.git'
sh 'git fetch --no-tags --force --progress -- https://git.eclipse.org/r/cdt/org.eclipse.cdt.git +refs/heads/*:refs/remotes/origin/*'
}
git branch: 'master', url: 'https://git.eclipse.org/r/cdt/org.eclipse.cdt.git'
}
}
}
stage('Run Dash Licenses Check') {
steps {
container('cdt') {
timeout(activity: true, time: 20) {
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 9ea880c

Please sign in to comment.