3 Commits

Author SHA1 Message Date
cristiano 4f577ca317 Merge remote-tracking branch 'refs/remotes/origin/main'
HomeLab/Gitea HomeLab/pipeline/head This commit looks good
2026-05-06 21:45:37 +10:00
cristiano c37e88ee60 updating Jenkinsfile 2026-05-06 21:44:14 +10:00
cristiano f7eab604e4 Merge pull request 'Merging tst to main' (#2) from tst into main
HomeLab/Gitea HomeLab/pipeline/head This commit looks good
Reviewed-on: #2
2026-05-02 17:04:11 +10:00
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"