updating Jenkinsfile

This commit is contained in:
2026-05-06 21:44:14 +10:00
parent 1a92dcceaf
commit c37e88ee60
Vendored
+2 -1
View File
@@ -1,11 +1,12 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('Test') { stage('Checking branch main on linux repository') {
steps { steps {
script { // <--- Added script block script { // <--- Added script block
if (isUnix()) { if (isUnix()) {
echo "Unix" echo "Unix"
echo "main"
sh 'ls -lha' sh 'ls -lha'
} else { } else {
echo "Windows" echo "Windows"