arcolight commented on code in PR #7004:
URL: https://github.com/apache/ignite-3/pull/7004#discussion_r2582309341


##########
.teamcity/build/distributions/OdbcRpm.kt:
##########
@@ -3,6 +3,7 @@ package build.distributions
 
 import jetbrains.buildServer.configs.kotlin.BuildType
 import jetbrains.buildServer.configs.kotlin.buildSteps.ExecBuildStep
+import jetbrains.buildServer.configs.kotlin.buildSteps.GradleBuildStep
 import jetbrains.buildServer.configs.kotlin.buildSteps.exec

Review Comment:
   Fixed



##########
.teamcity/build/distributions/OdbcRpm.kt:
##########
@@ -26,49 +27,22 @@ object OdbcRpm : BuildType({
                 
                 odbcinst -j || exit 0
                 cat /etc/odbcinst.ini || exit 0
-                
-                conan --version
-                conan profile list
-                conan profile show default || exit 0
-                
-                conan info --path . || exit 0
             """.trimIndent()
         }
 
         customGradle {
-            tasks = ":packaging-odbc:buildRpm -i -Pplatforms.enable"
-            workingDir = "%VCSROOT__IGNITE3%"
-        }
-
-        script {
-            name = "[HACK] Set AGENT_NUMBER"
-            id = "HACK_Set_AGENT_NUMBER"
-            enabled = false
-            scriptContent = """
-                AGENT_NUMBER=${'$'}(echo %system.agent.name% | tail -c 3)
-                echo "##teamcity[setParameter name='AGENT_NUMBER' 
value='${'$'}{AGENT_NUMBER}']"
-            """.trimIndent()
-        }
-
-        exec {
             name = "Build ODBC RPM (Under Rocky Linux 8 container)"
-            id = "Build_ODBC_RPM_Under_Rocky_Linux_8_container"
-            enabled = false
-            path = "./gradlew"
-            arguments = ":packaging-odbc:buildRpm -i -Pplatforms.enable"
-            dockerImage = "ggshared/tc-agent:rockylinux_latest"
-            dockerImagePlatform = ExecBuildStep.ImagePlatform.Linux
+            tasks = ":packaging-odbc:buildRpm"
+            workingDir = "%VCSROOT__GRIDGAIN9%"

Review Comment:
   Fixed



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to