This commit is contained in:
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@@ -1,13 +1,21 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent none
|
agent none
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Setting the variables values') {
|
|
||||||
|
stage ('Hello') {
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
bash '''#!/bin/bash
|
echo 'Hello, '
|
||||||
echo "hello world"
|
|
||||||
|
sh '''#!/bin/bash
|
||||||
|
|
||||||
|
echo "Hello from bash"
|
||||||
|
echo "Who I'm $SHELL"
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user