Commit f6f6263
committed
[Build] Use latest commit of branch specified in .gitmodules file
This simplifies trying out changes in a submodule and their effect on
the entire Eclipse-SDK in advance. Instead of always fetching the latest
commit from the master branch of the specified remote, fetch the latest
commit of the branch specified in '.gitmodules' from each submodule's
remote (also specified in '.gitmodules'). On the CLI this can be
archived by the following command:
'''
git submodule update --remote
'''
But since the Jenkins job is already configured to checkout the
submodules this way, nothing actually has to be done and the
corresponding stage can just be removed.
In order to try out a change with the entire Eclipse-SDK, now one just
has to update the affected submodules in the '.gitmodules' file to
point to the git-repository and the branch providing the change(s).
Before, one either had to push changes to the 'master' branch of the
alternative repository providing a change or had to disable the fetch in
this Jenkins pipeline and record the change's commit in this aggregator
repository along with changing the of the remote in '.gitmodules'.
Of course all of this had to be known.
Additionally add a comment explaining how to archive the just built
product with a Jenkins build.1 parent d4149e3 commit f6f6263
2 files changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| 36 | + | |
29 | 37 | | |
30 | 38 | | |
31 | 39 | | |
| 40 | + | |
32 | 41 | | |
33 | 42 | | |
34 | 43 | | |
| 44 | + | |
35 | 45 | | |
36 | 46 | | |
37 | 47 | | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 19 | | |
25 | 20 | | |
26 | 21 | | |
| |||
105 | 100 | | |
106 | 101 | | |
107 | 102 | | |
| 103 | + | |
108 | 104 | | |
109 | 105 | | |
110 | 106 | | |
| |||
0 commit comments