Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
Radio Network Information API
Commits
63917cee
Commit
63917cee
authored
Nov 06, 2020
by
Michel Roy
Browse files
Merge branch 'stf593' of
https://forge.etsi.org/rep/mec/gs012-rnis-api
into stf593
parents
b58e0fda
af97bcbd
Pipeline
#5040
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
.jenkins.sh
.jenkins.sh
+7
-4
No files found.
.jenkins.sh
View file @
63917cee
...
@@ -4,12 +4,15 @@ specfiles=$(ls | egrep "^[^.]*.(json|yaml)")
...
@@ -4,12 +4,15 @@ specfiles=$(ls | egrep "^[^.]*.(json|yaml)")
fres
=
0
fres
=
0
for
i
in
$specfiles
;
do
for
i
in
$specfiles
;
do
echo
"-- Validating OpenAPI file
$i
..."
echo
"-- Validating
and linting
OpenAPI file
$i
..."
swagger-
tools
validate
$i
swagger-
cli
validate
$i
res
=
$?
res
=
$?
fres
=
$((
$fres
||
$res
))
speccy lint
"
$i
"
echo
-e
"-- Validator returned
$res
.
\n
"
res2
=
$?
fres
=
$((
$fres
||
$res
||
$res2
))
echo
"--- Validator returned
$res
, linter returned
$res2
."
done
done
echo
"-- Final validator returns
$fres
."
echo
"-- Final validator returns
$fres
."
exit
$fres
exit
$fres
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