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 84
84
- --mvn-repo=$(params.MVN_REPO)
85
85
- --mvn-username=$(params.MVN_USERNAME)
86
86
- --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() {
105
105
export MAVEN_HOME=${MAVEN_HOME:=/opt/maven/3.8.8}
106
106
export GRADLE_USER_HOME="${JBS_WORKDIR}/software/settings/.gradle"
107
107
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
109
109
cd ${JBS_WORKDIR}/source
110
110
111
111
if [ -n "${JAVA_HOME}" ]; then
@@ -119,7 +119,6 @@ public void run() {
119
119
runBuild += getMavenSetup ();
120
120
121
121
runBuild += """
122
- cp -a ${HOME}/.m2/*.xml ${JBS_WORKDIR}/settings
123
122
fi
124
123
125
124
if [ -n "${GRADLE_HOME}" ]; then
@@ -191,14 +190,12 @@ private String getContainerFile() {
191
190
COPY --from=0 /var/workdir/ /var/workdir/
192
191
RUN /opt/jboss/container/java/run/run-java.sh copy-artifacts --source-path=/var/workdir/workspace/source --deploy-path=/var/workdir/workspace/artifacts
193
192
FROM scratch
194
- COPY --from=1 /var/workdir/workspace/settings /settings/
195
193
COPY --from=1 /var/workdir/workspace/artifacts /deployment/
196
194
""" .formatted (buildRequestProcessorImage );
197
195
} else {
198
196
containerFile +=
199
197
"""
200
198
FROM scratch
201
- COPY --from=0 /var/workdir/workspace/settings /settings/
202
199
COPY --from=0 /var/workdir/workspace/artifacts /deployment/
203
200
""" ;
204
201
}
Original file line number Diff line number Diff line change @@ -49,5 +49,5 @@ const (
49
49
KonfluxGitDefinition = "https://raw.githubusercontent.com/konflux-ci/build-definitions/refs/heads/main/task/git-clone/0.1/git-clone.yaml"
50
50
KonfluxPreBuildDefinitions = "https://raw.githubusercontent.com/redhat-appstudio/jvm-build-service/main/deploy/tasks/pre-build.yaml"
51
51
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"
53
53
)
You can’t perform that action at this time.
0 commit comments