File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/build/preprocessor
pkg/apis/jvmbuildservice/v1alpha1 Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 8484 - --mvn-repo=$(params.MVN_REPO)
8585 - --mvn-username=$(params.MVN_USERNAME)
8686 - --server-id=$(params.MVN_SERVER_ID)
87- - --mvn-settings=/var/workdir/settings/settings.xml
87+ # - --mvn-settings=/var/workdir/settings/settings.xml
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public void run() {
105105 export MAVEN_HOME=${MAVEN_HOME:=/opt/maven/3.8.8}
106106 export GRADLE_USER_HOME="${JBS_WORKDIR}/software/settings/.gradle"
107107
108- mkdir -p ${JBS_WORKDIR}/logs ${JBS_WORKDIR}/packages ${JBS_WORKDIR}/settings ${ HOME}/.sbt/1.0 ${GRADLE_USER_HOME} ${HOME}/.m2
108+ mkdir -p ${JBS_WORKDIR}/logs ${JBS_WORKDIR}/packages ${HOME}/.sbt/1.0 ${GRADLE_USER_HOME} ${HOME}/.m2
109109 cd ${JBS_WORKDIR}/source
110110
111111 if [ -n "${JAVA_HOME}" ]; then
@@ -119,7 +119,6 @@ public void run() {
119119 runBuild += getMavenSetup ();
120120
121121 runBuild += """
122- cp -a ${HOME}/.m2/*.xml ${JBS_WORKDIR}/settings
123122 fi
124123
125124 if [ -n "${GRADLE_HOME}" ]; then
@@ -191,14 +190,12 @@ private String getContainerFile() {
191190 COPY --from=0 /var/workdir/ /var/workdir/
192191 RUN /opt/jboss/container/java/run/run-java.sh copy-artifacts --source-path=/var/workdir/workspace/source --deploy-path=/var/workdir/workspace/artifacts
193192 FROM scratch
194- COPY --from=1 /var/workdir/workspace/settings /settings/
195193 COPY --from=1 /var/workdir/workspace/artifacts /deployment/
196194 """ .formatted (buildRequestProcessorImage );
197195 } else {
198196 containerFile +=
199197 """
200198 FROM scratch
201- COPY --from=0 /var/workdir/workspace/settings /settings/
202199 COPY --from=0 /var/workdir/workspace/artifacts /deployment/
203200 """ ;
204201 }
Original file line number Diff line number Diff line change @@ -49,5 +49,5 @@ const (
4949 KonfluxGitDefinition = "https://raw.githubusercontent.com/konflux-ci/build-definitions/refs/heads/main/task/git-clone/0.1/git-clone.yaml"
5050 KonfluxPreBuildDefinitions = "https://raw.githubusercontent.com/redhat-appstudio/jvm-build-service/main/deploy/tasks/pre-build.yaml"
5151 KonfluxBuildDefinitions = "https://raw.githubusercontent.com/konflux-ci/build-definitions/refs/heads/main/task/buildah-oci-ta/0.2/buildah-oci-ta.yaml"
52- KonfluxMavenDeployDefinitions = "https://raw.githubusercontent.com/redhat-appstudio /jvm-build-service/main /deploy/tasks/maven-deployment.yaml"
52+ KonfluxMavenDeployDefinitions = "https://raw.githubusercontent.com/rnc /jvm-build-service/REVERT /deploy/tasks/maven-deployment.yaml"
5353)
You can’t perform that action at this time.
0 commit comments