1 Commits

Author SHA1 Message Date
cristiano e60d619f0b updating Jenkinsfile
HomeLab/Gitea HomeLab/pipeline/head This commit looks good
2026-05-06 21:40:30 +10:00
Vendored
+2 -2
View File
@@ -1,12 +1,12 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('Checking branch main on linux repository') { stage('Checking tst branch on linux repository') {
steps { steps {
script { // <--- Added script block script { // <--- Added script block
if (isUnix()) { if (isUnix()) {
echo "Unix" echo "Unix"
echo "main" echo "tst"
sh 'ls -lha' sh 'ls -lha'
} else { } else {
echo "Windows" echo "Windows"