Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
PPC-BSC
Software
Compss
Commits
bb52d4ac
Commit
bb52d4ac
authored
Sep 02, 2019
by
Unai Perez
Browse files
First totally working version of Jenkinsfile
parent
9d9e1822
Changes
1
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
bb52d4ac
...
...
@@ -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"
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment