Skip to content

Commit

Permalink
ci: Revert "maven_deploy: use the ci-build local repository for deplo…
Browse files Browse the repository at this point in the history
…yments too"

Partial revert of e3d2300.

Reason: The "ci-build" Maven profile should be used only to deploy into
a local dir, which then later is archived by the CI job. It should not
be used as destination local repository for other tasks, such as the
"mvn install" that is done in maven_deploy_github.
  • Loading branch information
j1elo committed May 23, 2024
1 parent 7bab044 commit 4fb2403
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ci-scripts/kurento_maven_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,7 @@ fi
# This is what gets archived by CI, and passed along to dependent jobs.
# The repo is set by the `ci-build` profile from Maven's `settings.xml`.

MVN_ARGS+=(
-Pci-build
)

mvn "${MVN_ARGS[@]}" clean package "$MAVEN_DEPLOY_PLUGIN:deploy" || {
mvn "${MVN_ARGS[@]}" -Pci-build clean package "$MAVEN_DEPLOY_PLUGIN:deploy" || {
log "ERROR: Command failed: mvn deploy (local repo)"
exit 1
}
Expand Down

0 comments on commit 4fb2403

Please sign in to comment.