From c92c04eff6ffdaf0aef6c220b3cb8382fca78806 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Tue, 13 Jun 2023 14:35:12 -0500 Subject: [PATCH] Remove publishing task The reason for removing this is that in theory anyone could publish to the API. I will handle it in a more secure way from now on --- Jenkinsfile | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cf03bfc..9f4eb85 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,25 +31,6 @@ pipeline { } } } - stage('publish') { - when { - branch "1.20.1" - } - steps { - script { - try { - withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) { - withGradle { - sh "./gradlew :Scissors-API:publish --no-daemon" - } - } - true - } catch (_) { - false - } - } - } - } } post { always {