Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4f577ca317 | |||
| c37e88ee60 | |||
| f7eab604e4 |
Vendored
+2
-2
@@ -1,12 +1,12 @@
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Checking tst branch on linux repository') {
|
||||
stage('Checking branch main on linux repository') {
|
||||
steps {
|
||||
script { // <--- Added script block
|
||||
if (isUnix()) {
|
||||
echo "Unix"
|
||||
echo "tst"
|
||||
echo "main"
|
||||
sh 'ls -lha'
|
||||
} else {
|
||||
echo "Windows"
|
||||
|
||||
Reference in New Issue
Block a user