[GitHub] [maven] elharo commented on a diff in pull request #1239: [MNG-7864] Fix the S390x to use IT branches

2023-09-25 Thread via GitHub


elharo commented on code in PR #1239:
URL: https://github.com/apache/maven/pull/1239#discussion_r1336075881


##
Jenkinsfile.s390x.its:
##
@@ -0,0 +1,58 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+pipeline {
+  agent { node { 's390x' } }
+  options {
+durabilityHint('PERFORMANCE_OPTIMIZED')
+buildDiscarder(logRotator(numToKeepStr: '20', artifactNumToKeepStr: '5'))
+timeout(time: 180, unit: 'MINUTES')
+  }
+  parameters {
+string( defaultValue: 'master', description: 'Core Its branch (default 
master)',
+name: 'ITS_BRANCH' )
+  }
+  stages {
+stage("Build Maven Core") {
+  steps {
+withEnv(["JAVA_HOME=${ tool "ibm-semeru-8u362-b09" }", 
"PATH+MAVEN=${tool 'Maven 3.6.3'}/bin:${env.JAVA_HOME}/bin"]) {

Review Comment:
   I don't have any particular opinion about that. As long as tests are 
passing, I'm OK with whatever setup works best. I just want to avoid the 
situation we got into earlier where the S390x build was broken and blocking 
work, and no one was addressing it. I don't think anyone here not from IBM has 
the resources to debug an S390 specific problem. We have enough trouble 
figuring out what's going on when a test fails only on Windows. I'm also leery 
of IT failures that happen because test setup or verification isn't configured 
properly for some particular platform, rather than an actual bug in the maven 
product. I think we've all burned a lot of hours debugging those kinds of 
"failures".  



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [maven] elharo commented on a diff in pull request #1239: [MNG-7864] Fix the S390x to use IT branches

2023-09-16 Thread via GitHub


elharo commented on code in PR #1239:
URL: https://github.com/apache/maven/pull/1239#discussion_r1327945304


##
Jenkinsfile.s390x.its:
##
@@ -0,0 +1,58 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+pipeline {
+  agent { node { 's390x' } }
+  options {
+durabilityHint('PERFORMANCE_OPTIMIZED')
+buildDiscarder(logRotator(numToKeepStr: '20', artifactNumToKeepStr: '5'))
+timeout(time: 180, unit: 'MINUTES')
+  }
+  parameters {
+string( defaultValue: 'master', description: 'Core Its branch (default 
master)',
+name: 'ITS_BRANCH' )
+  }
+  stages {
+stage("Build Maven Core") {
+  steps {
+withEnv(["JAVA_HOME=${ tool "ibm-semeru-8u362-b09" }", 
"PATH+MAVEN=${tool 'Maven 3.6.3'}/bin:${env.JAVA_HOME}/bin"]) {

Review Comment:
   Is 3.6.3 what we're really using? Looks like other ITs are somewhere in 3.8 
right now



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org