Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
monodot committed Nov 16, 2020
1 parent efeb016 commit 4a2bca9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Jenkinsfile.demo
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ pipeline {

echo 'The value of foo is : ' + GlobalVars.foo

def person = new SampleClass()
person.increaseAge(10)
echo 'Incremented age, is now : ' + person.age
script {
def person = new SampleClass()
person.increaseAge(10)
echo 'Incremented age, is now : ' + person.age
}
}
}
}
Expand Down

0 comments on commit 4a2bca9

Please sign in to comment.