Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-46251

Need to get Jenkinsfiles which can use more than 1 project in the same repo

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: pipeline
    • Labels:
      None
    • Similar Issues:

      Description

      I would like to request (if you don't have the feature yet) to have the way for adding more than 1 Jenkinsfile in case there are more than 1 project in the same repo. Or what is the best approach in this case. 

      Currently, I need to add script in Jenkins configure instead of using a Jenkins file. In addition, this way (still waiting for Read & Write GitHub Enterprise) I cannot connect to GitHub Enterprise with the current release of Blue Ocean. Moreover, the size that I can add in script in Jenkins configure is pretty short.

      In conclusion, only 1 Jenkinsfile allow + limit of Jenkins pipeline script size are limit to work with if the repo has multiple projects.

      Could you please have a new feature to support these cases or guide me what the best approach of Blue Ocean that I can do.  Thank you in advance.

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Nat Sr if you use common "Pipeline" job type, you can specify a custom name of Jenkinsfile in advanced settings of the SCM Source. CC Andrew Bayer Sam Van Oort 

            Regarding GitHub Enterprise, please feel free to vote for the existing ticket: JENKINS-40855 . It is ready for release, to be shipped in 1.2.

            Show
            oleg_nenashev Oleg Nenashev added a comment - Nat Sr if you use common "Pipeline" job type, you can specify a custom name of Jenkinsfile in advanced settings of the SCM Source. CC Andrew Bayer Sam Van Oort   Regarding GitHub Enterprise, please feel free to vote for the existing ticket: JENKINS-40855 . It is ready for release, to be shipped in 1.2.
            Hide
            comscience15 Nat Sr added a comment -

            similar scenario of  Rob Coward https://issues.jenkins-ci.org/browse/JENKINS-43749

            /MainRepo
            /MainRepo/ProjectA
            /MainRepo/ProjectB
            /MainRepo/ProjectC
            /MainRepo/ProjectD
            /MainRepo/ProjectE
            /MainRepo/ProjectF

            Show
            comscience15 Nat Sr added a comment - similar scenario of  Rob Coward https://issues.jenkins-ci.org/browse/JENKINS-43749 /MainRepo /MainRepo/ProjectA /MainRepo/ProjectB /MainRepo/ProjectC /MainRepo/ProjectD /MainRepo/ProjectE /MainRepo/ProjectF
            Hide
            comscience15 Nat Sr added a comment - - edited

            Oleg Nenashev Which one did you refer to? I attached a screenshot on configure page. Could you please guiding me? Select "Pipeline script from SCM" doesn't have the option to add custom jenkinsfile. Thank you

            For GitHub Enterprise, yes I followed that and has been waiting for the release. I look at the roadmap . It has been showing Release Soon for a while. Do you know when it will be officially released?

            Show
            comscience15 Nat Sr added a comment - - edited Oleg Nenashev Which one did you refer to? I attached a screenshot on configure page. Could you please guiding me? Select "Pipeline script from SCM" doesn't have the option to add custom jenkinsfile. Thank you For GitHub Enterprise, yes I followed that and has been waiting for the release. I look at the roadmap . It has been showing Release Soon for a while. Do you know when it will be officially released?
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            I don't. Please reach out to James Dumay and Michael Neale in Jenkins IRC or in https://gitter.im/jenkinsci/blueocean-plugin

            Show
            oleg_nenashev Oleg Nenashev added a comment - I don't. Please reach out to James Dumay and Michael Neale in Jenkins IRC or in https://gitter.im/jenkinsci/blueocean-plugin
            Hide
            michaelneale Michael Neale added a comment -

            Nat Sr it is out in beta - expect a GA next week!

            Show
            michaelneale Michael Neale added a comment - Nat Sr it is out in beta - expect a GA next week!
            Hide
            jamesdumay James Dumay added a comment -

            The good news is that we want to solve this problem and its already covered in JENKINS-43749.

            Show
            jamesdumay James Dumay added a comment - The good news is that we want to solve this problem and its already covered in JENKINS-43749 .
            Hide
            comscience15 Nat Sr added a comment -

            James Dumay Woot! Woot!  thank you very much. I will look forward to see it working

            Show
            comscience15 Nat Sr added a comment - James Dumay Woot! Woot!  thank you very much. I will look forward to see it working

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                comscience15 Nat Sr
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: