Skip to content

Commit 548c3ba

Browse files
committed
chore: Disabled the go profile on Jenkins so we can start publishing SNAPSHOTs again.
1 parent 97f9369 commit 548c3ba

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

Jenkinsfile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ pipeline {
9595
}
9696
steps {
9797
echo 'Building'
98-
sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-go,with-java,with-python ${MVN_TEST_FAIL_IGNORE} ${MVN_LOCAL_REPO_OPT} clean install'
98+
// TODO: Disabled the go profile so we can deploy snapshots again.
99+
//sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-go,with-java,with-python ${MVN_TEST_FAIL_IGNORE} ${MVN_LOCAL_REPO_OPT} clean install'
100+
sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-java,with-python ${MVN_TEST_FAIL_IGNORE} ${MVN_LOCAL_REPO_OPT} clean install'
99101
}
100102
post {
101103
always {
@@ -118,7 +120,9 @@ pipeline {
118120

119121
// We'll deploy to a relative directory so we can save
120122
// that and deploy in a later step on a different node
121-
sh './mvnw -U -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-go,with-java,with-python,update-generated-code,enable-all-checks ${MVN_TEST_FAIL_IGNORE} ${JQASSISTANT_NEO4J_VERSION} -DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir clean deploy'
123+
// TODO: Disabled the go profile so we can deploy snapshots again.
124+
//sh './mvnw -U -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-go,with-java,with-python,update-generated-code,enable-all-checks ${MVN_TEST_FAIL_IGNORE} ${JQASSISTANT_NEO4J_VERSION} -DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir clean deploy'
125+
sh './mvnw -U -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-java,with-python,update-generated-code,enable-all-checks ${MVN_TEST_FAIL_IGNORE} ${JQASSISTANT_NEO4J_VERSION} -DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir clean deploy'
122126

123127
// Stash the build results so we can deploy them on another node
124128
stash name: 'plc4x-build-snapshots', includes: 'local-snapshots-dir/**'
@@ -138,8 +142,9 @@ pipeline {
138142
steps {
139143
echo 'Checking Code Quality on SonarCloud'
140144
withCredentials([string(credentialsId: 'chris-sonarcloud-token', variable: 'SONAR_TOKEN')]) {
141-
//sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-python,with-proxies sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN}'
142-
sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-go,with-java,with-python sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.token=${SONAR_TOKEN}'
145+
// TODO: Disabled the go profile so we can deploy snapshots again.
146+
//sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-go,with-java,with-python sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.token=${SONAR_TOKEN}'
147+
sh './mvnw -B -P${JENKINS_PROFILE},skip-prerequisite-check,with-c,with-java,with-python sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.token=${SONAR_TOKEN}'
143148
}
144149
}
145150
}

0 commit comments

Comments
 (0)