Update 'Jenkinsfile'

This commit is contained in:
dany 2022-08-02 16:24:29 +02:00
parent 72817223cf
commit bb9e009562

5
Jenkinsfile vendored
View File

@ -7,10 +7,11 @@ remote.allowAnyHosts = true
remote.agent = false
remote.logLevel = 'INFO'
def build(text) {
def build_test(text) {
sh'''
printenv
echo $text
echo "Hello ${params.text}"
echo $WORKSPACE
ls -al $WORKSPACE
find /var/jenkins_home -name "Jenkinsfile"
@ -40,7 +41,7 @@ pipeline{
stage('Test')
{
steps {
build "Hello world"
build_test("world")
}
}
stage('Remote SSH') {