You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _Jenkinsfile-check.sh
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ set -o pipefail
13
13
# one is just the simple tool I use as long as it suffices ;)
14
14
# See also https://github.com/jenkinsci/pipeline-model-definition-plugin/wiki/Validating-(or-linting)-a-Declarative-Jenkinsfile-from-the-command-line
15
15
#
16
-
# Copyright (C) 2016-2018 by Jim Klimov
16
+
# Copyright (C) 2016-2019 by Jim Klimov
17
17
18
18
# Components for the URL below; override via ./.jenkinsfile-check in the repo
19
19
# (DO NOT git commit this file though!) or in ~/.jenkinsfile-check if you only
@@ -46,12 +46,15 @@ JSONSH=JSON.sh
46
46
[ -n"${JENKINSFILE-}" ] && [ -s"${JENKINSFILE}" ] || { echo"FATAL : Did not find a JENKINSFILE='$JENKINSFILE'">&2;exit 1 ; }
47
47
[ -n"${JSONSH-}" ] && [ -s"${JSONSH}" ] && [ -x"${JSONSH}" ] || { echo"FATAL : Did not find a JSONSH='$JSONSH' (did you get one from https://github.com/jimklimov/JSON.sh/blob/master/JSON.sh ?)">&2;exit 1 ; }
0 commit comments