Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
6ece7d79
Commit
6ece7d79
authored
Jun 12, 2019
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation step
parent
72962540
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
1 deletion
+48
-1
Jenkinsfile
Jenkinsfile
+48
-1
No files found.
Jenkinsfile
View file @
6ece7d79
...
...
@@ -112,7 +112,6 @@ pipeline {
stages
{
stage
(
'Checkout'
)
{
steps
{
notifyAllChecks
(
config
,
'pending'
,
''
)
getSources
(
config
)
}
}
...
...
@@ -127,6 +126,54 @@ pipeline {
buildParallel
(
config
,
PrettyJobBaseName
)
}
}
stage
(
'Documentation'
)
{
agent
{
label
'pandoc'
}
steps
{
deleteDir
()
unstash
(
'sources'
)
dir
(
'sources'
)
{
// Configure and build.
cmakeBuild
([
buildDir:
'build'
,
installation:
'cmake in search path'
,
sourceDir:
'.'
,
cmakeArgs:
'-DCAF_BUILD_TEX_MANUAL=yes'
,
steps:
[[
args:
'--target doc'
,
withCmake:
true
,
]],
])
sshagent
([
'84d71a75-cbb6-489a-8f4c-d0e2793201e9'
])
{
sh
"""
if [ "${env.GIT_BRANCH}" = "master" ]; then
rsync -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" -r -z --delete build/doc/html/ www.inet.haw-hamburg.de:/users/www/www.actor-framework.org/html/doc
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null build/doc/manual.pdf www.inet.haw-hamburg.de:/users/www/www.actor-framework.org/html/pdf/manual.pdf
fi
"""
}
}
dir
(
'read-the-docs'
)
{
git
([
credentialsId:
'9b054212-9bb4-41fd-ad8e-b7d47495303f'
,
url:
'git@github.com:actor-framework/read-the-docs.git'
,
])
sh
"""
if [ "${env.GIT_BRANCH}" = "master" ]; then
cp ../sources/build/doc/rst/* .
if [ -n "\$(git status --porcelain)" ]; then
git add .
git commit -m "Update Manual"
git push --set-upstream origin master
if [ -z "\$(grep 'exp.sha' ../sources/release.txt)" ] ; then
git tag \$(cat ../sources/release.txt)
git push origin \$(cat ../sources/release.txt)
fi
fi
fi
"""
}
}
}
stage
(
'Notify'
)
{
steps
{
collectResults
(
config
,
PrettyJobName
)
...
...
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