Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e60d619f0b |
Vendored
+2
-2
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user