Update 'Jenkinsfile'
This commit is contained in:
parent
70b27f1761
commit
a2572b6fe2
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -7,10 +7,10 @@ remote.allowAnyHosts = true
|
||||
remote.agent = false
|
||||
remote.logLevel = 'INFO'
|
||||
|
||||
def build_test(text) {
|
||||
def build_test() {
|
||||
sh'''
|
||||
printenv
|
||||
echo "Hello ${text}"
|
||||
echo "Hello $text"
|
||||
echo $WORKSPACE
|
||||
ls -al $WORKSPACE
|
||||
find /var/jenkins_home -name "Jenkinsfile"
|
||||
@ -40,7 +40,10 @@ pipeline{
|
||||
stage('Test')
|
||||
{
|
||||
steps {
|
||||
build_test "every one"
|
||||
script {
|
||||
env.test = " every one"
|
||||
}
|
||||
build_test()
|
||||
}
|
||||
}
|
||||
stage('Remote SSH') {
|
||||
|
Loading…
Reference in New Issue
Block a user