Add simple single line comments

This commit is contained in:
R Tyler Croy 2020-11-08 15:55:08 -08:00
parent f496748483
commit 414ad11f8e
3 changed files with 19 additions and 1 deletions

View File

@ -35,4 +35,4 @@ STRV = @{ "''" | (!"'" ~ ANY)* }
COMMA = @{ "," }
WHITESPACE = _{ (" " | NEWLINE) }
COMMENT = _{ "#" }
COMMENT = _{ "//" ~ (!NEWLINE ~ ANY)* }

View File

@ -1,3 +1,5 @@
// This is a very simple pipeline
pipeline {
stage {
name = 'Build'

View File

@ -0,0 +1,16 @@
pipeline {
steps {
sh 'ls'
}
stage {
name = 'Package'
steps {
sh './scripts/package.sh'
}
}
steps {
echo 'Play me off, keyboard cat!'
}
}