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