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"]
|
[submodule "libs/common-ui"]
|
||||||
path = 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(
|
.tasks(
|
||||||
new CleanWorkingDirectoryTask().description("My clean working directory task"),
|
new CleanWorkingDirectoryTask().description("My clean working directory task"),
|
||||||
// Checkout
|
// Checkout
|
||||||
new VcsCheckoutTask().description("Checkout UI Shared Lib")
|
|
||||||
.checkoutItems(new CheckoutItem().repository("Shared Libraries / common-ui")),
|
|
||||||
new VcsCheckoutTask().description("Checkout Default Repository")
|
new VcsCheckoutTask().description("Checkout Default Repository")
|
||||||
.checkoutItems(new CheckoutItem().defaultRepository().path("redaction-ui")),
|
.checkoutItems(new CheckoutItem().defaultRepository().path("redaction-ui")),
|
||||||
new VcsCheckoutTask().description("Checkout UI Shared Lib")
|
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
|
// Build
|
||||||
new ScriptTask().description("Build")
|
new ScriptTask().description("Build")
|
||||||
|
|||||||
@ -6,8 +6,7 @@ imageName="nexus.iqser.com:5001/red/$PROJECT"
|
|||||||
dockerfileLocation="docker/$PROJECT/Dockerfile"
|
dockerfileLocation="docker/$PROJECT/Dockerfile"
|
||||||
|
|
||||||
# Copy Git submodule data
|
# Copy Git submodule data
|
||||||
pwd
|
mv ../common-ui/* ./libs/
|
||||||
ls -la
|
|
||||||
|
|
||||||
echo "On branch $bamboo_planRepository_branchName building project $PROJECT"
|
echo "On branch $bamboo_planRepository_branchName building project $PROJECT"
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user