Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
intranet
Commits
8c5fcdcf6a15
Commit
d119a0c0
authored
May 07, 2019
by
Philippe Pepiot
Browse files
Add a Jenkinsfile pipeline from source to deploy
parent
bd8e4ed677c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
0 → 100644
View file @
8c5fcdcf
pipeline
{
agent
{
label
'debian_stretch'
}
stages
{
stage
(
'lint'
)
{
parallel
{
stage
(
'flake8'
)
{
steps
{
sh
"tox -e flake8"
}
}
stage
(
'check-manifest'
)
{
steps
{
sh
"tox -e check-manifest"
}
}
}
}
stage
(
'tests'
)
{
steps
{
sh
"tox -e py3"
}
}
stage
(
'deploy'
)
{
when
{
environment
name:
'DEPLOY'
,
value:
'true'
}
agent
{
label
'docker-host'
}
steps
{
sh
"make deploy"
}
}
}
}
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