How to create Jenkinsfolder/subview through Jenkinsfile

2016-12-09 Thread Prabhat Singh
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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/83318659-4511-4ad4-b645-a539ebe5627d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to create Jenkinsfolder/subview through Jenkinsfile

2016-12-09 Thread Prabhat Singh
I am loading 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'   }



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5cc51ae0-a821-4347-8aa6-91a9019c9905%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.