This commit is contained in:
Vendored
+2
-1
@@ -1,11 +1,12 @@
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Test') {
|
||||
stage('Checking the Repository') {
|
||||
steps {
|
||||
script { // <--- Added script block
|
||||
if (isUnix()) {
|
||||
echo "Unix"
|
||||
echo "dev"
|
||||
sh 'ls -lha'
|
||||
} else {
|
||||
echo "Windows"
|
||||
|
||||
Reference in New Issue
Block a user