Dear All,

Below is our usecase (using declarative script):

   - We have a small pipeline script (Jenkinsfile) which will do sanity, 
   tests & lint check on every feature branch and pull requests
   - Then we have another script (Jenkinsfile) which is superset which will 
   additionally build and deploy as well. We will use this for develop / 
   master branches
   - We are planning to use Org folders (BitBucket teams) to scan repo and 
   create pipeline automatically.
   

How can we reuse our first script file to be included in second script, so 
that we don't have to duplicate declarative script?

Any other suggestions on how you generally tackle such cases?

Thanks,
Ashish

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3c04e466-c858-444d-a0cc-923cc57f0469n%40googlegroups.com.

Reply via email to