Hi All,

Due to some project restrictions I have to combine sources from 3
repositories (1 Subversion and 2 Git repos), is there an easy way to
achieve that in a declarative pipeline? Neither project subdirs nor
files in the root of each repo are not overlapping with each other, so
merging them in one workspace is actually safe.

Something like that:

pipeline {
        agent {
                dockerfile { dir 'ubuntu-xenial-mysql' }
   
        }
        stages {
            stage('Sources & Additional Tools Checkout'){
                steps {
                    svn url:'url-to-installer-sources'
                    git url:'url-to-test-tools'
                    git url:'url-to-packager-sources'
                }
            }
            stage('Test suite') {
                steps {
                    // Do some tests ...
                }
            stage('Build the package') {
                steps {
                    // Invoke deb-package builder ...
                }
   
            }

I've tested the simplified version of it trying to combine 2 GIT repos,
it didn't work, second 'git' step wipes everything out of workspace...


Cheers,

Kirill

-- 
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/9e0bab78-e1eb-7f46-ed5d-2d212aeb59ad%40paranoid.email.
For more options, visit https://groups.google.com/d/optout.

Reply via email to