Commit bb52d4ac authored by Unai Perez's avatar Unai Perez
Browse files

First totally working version of Jenkinsfile

parent 9d9e1822
......@@ -2,32 +2,23 @@ pipeline {
agent {
dockerfile {
filename "Dockerfile"
args "--privileged -e DOCKER_HOST=unix:///var/run/docker.sock -u root:root"
args "--privileged -e DOCKER_HOST=unix:///var/run/docker.sock -u root:root -v /home/`whoami`/.m2/repository:/home/root/repository"
}
}
stages {
/*
stage("Git pull") {
steps {
git branch: 'container-integration',
credentialsId: '6a3a04da-0458-4a30-b2ab-5d6e1ac2012a',
url: 'https://gitlab.bsc.es/ppc/software/compss.git'
}
}
stage ("Docker build") {
stage("Environment setup") {
steps {
script {
compssEnv = docker.build("jenkins-compss:${env.BUILD_ID}")
sh "nohup lxd &"
sh "nohup dockerd &"
}
}
}
*/
stage("Compiling") {
steps {
script {
dir "/root/framework/builders"
sh "./buildlocal -M -B -P -T -A -K -i /opt/COMPSs"
sh "/root/framework/builders/buildlocal -M -B -P -T -A -K -i /opt/COMPSs"
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment