-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
Hi,
I have a project, which inherits five other Git repos, which is checked out to source/ . I have now idea to get it working with the latest JDG.
For Example:
- Git 1 source/foo/
- Git 2 source/foo/bla
- Git 3 source/foo/foobar
- Git 4 source/debian
How I have to configure the plugin, to get "/usr/bin/generate-git-snapshot" working ?
[...]
+ '[' -n '' ']'
+ for gbp_conf_file in '"${gbp_conf_files[@]}"'
+ '[' -f /var/lib/jenkins/.gbp.conf ']'
+ for gbp_conf_file in '"${gbp_conf_files[@]}"'
+ '[' -f .gbp.conf ']'
+ for gbp_conf_file in '"${gbp_conf_files[@]}"'
+ '[' -f debian/gbp.conf ']'
+ for gbp_conf_file in '"${gbp_conf_files[@]}"'
+ '[' -f .git/gbp.conf ']'
+ create_local_branch upstream
+ '[' -n upstream ']'
+ local BRANCH=upstream
+ git branch -a
+ grep -q 'remotes/origin/upstream$'
fatal: Not a git repository (or any parent up to mount point /opt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
+ echo 'NOTE: branch upstream does not exist, ignoring request to checkout therefore.'
NOTE: branch upstream does not exist, ignoring request to checkout therefore.
+ create_local_branch debian
+ '[' -n debian ']'
+ local BRANCH=debian
+ git branch -a
+ grep -q 'remotes/origin/debian$'
fatal: Not a git repository (or any parent up to mount point /opt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
+ echo 'NOTE: branch debian does not exist, ignoring request to checkout therefore.'
NOTE: branch debian does not exist, ignoring request to checkout therefore.
+ '[' false = true ']'
+ branch_checkout
+ random_branch=jenkins-debian-glue-buildbranch3484
+ '[' '' = true ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ echo 'Making sure that random_branch jenkins-debian-glue-buildbranch3484 does not exist'
Making sure that random_branch jenkins-debian-glue-buildbranch3484 does not exist
+ git branch -D jenkins-debian-glue-buildbranch3484
fatal: Not a git repository (or any parent up to mount point /opt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
+ true
+ echo 'Checking out branch jenkins-debian-glue-buildbranch3484 based on commit bfe297aba90c3f557458587b3832bed7d9d4a33c'
Checking out branch jenkins-debian-glue-buildbranch3484 based on commit bfe297aba90c3f557458587b3832bed7d9d4a33c
+ git checkout -b jenkins-debian-glue-buildbranch3484 bfe297aba90c3f557458587b3832bed7d9d4a33c
fatal: Not a git repository (or any parent up to mount point /opt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Build step 'Execute shell' marked build as failure
Archiving artifacts
Finished: FAILURE
[...]
Metadata
Metadata
Assignees
Labels
No labels