Add simple single line comments
This commit is contained in:
parent
f496748483
commit
414ad11f8e
|
@ -35,4 +35,4 @@ STRV = @{ "''" | (!"'" ~ ANY)* }
|
||||||
COMMA = @{ "," }
|
COMMA = @{ "," }
|
||||||
|
|
||||||
WHITESPACE = _{ (" " | NEWLINE) }
|
WHITESPACE = _{ (" " | NEWLINE) }
|
||||||
COMMENT = _{ "#" }
|
COMMENT = _{ "//" ~ (!NEWLINE ~ ANY)* }
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// This is a very simple pipeline
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
stage {
|
stage {
|
||||||
name = 'Build'
|
name = 'Build'
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
pipeline {
|
||||||
|
steps {
|
||||||
|
sh 'ls'
|
||||||
|
}
|
||||||
|
|
||||||
|
stage {
|
||||||
|
name = 'Package'
|
||||||
|
steps {
|
||||||
|
sh './scripts/package.sh'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
steps {
|
||||||
|
echo 'Play me off, keyboard cat!'
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue