checkout shared first
This commit is contained in:
parent
05afe6b867
commit
f50c0efcde
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
||||
[submodule "libs/common-ui"]
|
||||
path = libs/common-ui
|
||||
url = ssh://git.iqser.com/scm/sl/common-ui.git
|
||||
url = https://git.iqser.com/scm/sl/common-ui.git
|
||||
|
||||
@ -70,12 +70,10 @@ public class PlanSpec {
|
||||
.tasks(
|
||||
new CleanWorkingDirectoryTask().description("My clean working directory task"),
|
||||
// Checkout
|
||||
new VcsCheckoutTask().description("Checkout UI Shared Lib")
|
||||
.checkoutItems(new CheckoutItem().repository("Shared Libraries / common-ui")),
|
||||
new VcsCheckoutTask().description("Checkout Default Repository")
|
||||
.checkoutItems(new CheckoutItem().defaultRepository().path("redaction-ui")),
|
||||
new VcsCheckoutTask().description("Checkout UI Shared Lib")
|
||||
.checkoutItems(new CheckoutItem().repository("Shared Libraries / common-ui").path("redaction-ui/libs/common-ui")),
|
||||
.checkoutItems(new CheckoutItem().repository("Shared Libraries / common-ui").path("common-ui")),
|
||||
|
||||
// Build
|
||||
new ScriptTask().description("Build")
|
||||
|
||||
@ -6,8 +6,7 @@ imageName="nexus.iqser.com:5001/red/$PROJECT"
|
||||
dockerfileLocation="docker/$PROJECT/Dockerfile"
|
||||
|
||||
# Copy Git submodule data
|
||||
pwd
|
||||
ls -la
|
||||
mv ../common-ui/* ./libs/
|
||||
|
||||
echo "On branch $bamboo_planRepository_branchName building project $PROJECT"
|
||||
# shellcheck disable=SC2154
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user