Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
SOL006
Commits
c1a6400e
Commit
c1a6400e
authored
Mar 01, 2019
by
Michele Carignani
Browse files
simplify pyang arguments and fix build url
parent
09895c4d
Pipeline
#836
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.jenkins.sh
View file @
c1a6400e
...
...
@@ -18,15 +18,13 @@ docker run "$IMG"
echo
"Building HTML tree"
docker run
-v
"
$(
pwd
)
/src/yang/:/yang/"
mjethanandani/pyang
\
"/bin/sh"
-c
"cd /yang/ && pyang -f jstree
\
/yang/etsi-nfv-vnf.yang /yang/etsi-nfv-common.yang
\
/yang/etsi-nfv-pnf.yang /yang/etsi-nfv-ns.yang /yang/etsi-nfv.yang
\
> etsi-nfv.html"
"/bin/sh"
-c
"cd /yang/ && pyang -f jstree -p /yang/
\
/yang/etsi-nfv.yang > etsi-nfv.html"
sed
-r
-i
's|<a href=\"http://www.tail-f.com">|<a href="http://etsi.org">|g'
src/yang/etsi-nfv.html
sed
-r
-i
's|data\:image/gif\;base64,R0lGODlhS.*RCAA7|https://www.etsi.org/images/ETSILogoTwitter.png\" height=\"100|g'
src/yang/etsi-nfv.html
sed
-r
-i
"s|<div class=
\"
app
\"
>|<p>Commit: <a href=
\"
https://forge.etsi.org/gitlab/nfv/SOL006/commit/
${
CMT
}
\"
>
$CMT
</a>, Build:<a href
\"
$BUILD_URL
\"
>
$BUILD_NUMBER
<
a
/></p><div class=
\"
app
\"
>|g"
src/yang/etsi-nfv.html
sed
-r
-i
"s|<div class=
\"
app
\"
>|<p>Commit: <a href=
\"
https://forge.etsi.org/gitlab/nfv/SOL006/commit/
${
CMT
}
\"
>
$CMT
</a>, Build:<a href
=
\"
$BUILD_URL
\"
>
$BUILD_NUMBER
</
a
></p><div class=
\"
app
\"
>|g"
src/yang/etsi-nfv.html
exit
$?
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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