How to create Jenkinsfolder/subview through Jenkinsfile

27 views
Skip to first unread message

Prabhat Singh

unread,
Dec 9, 2016, 11:40:37 AM12/9/16
to Jenkins Users
I am trying to load multiple Jenkinsfile existing in a branch using below method.
Now i want to create folder/subview where i want to load respective Jenkinsfile.

Need help in syntax of how to create jenkins folder/subview through Jenkinsfile


 

node {
git url: 'g...@bitbucket.org:xyz/test.git', branch: 'B1P1'
    sh "ls -latr"
        load '1.Jenkinsfile'
            load '2.Jenkinsfile'
   
}

Jenkins version :2.26
Reply all
Reply to author
Forward
0 new messages