From 23b8fd5fa59a6dad10182de8bdc84979dd36ffc2 Mon Sep 17 00:00:00 2001 From: Kurt Madel Date: Thu, 25 Apr 2019 09:39:05 -0400 Subject: [PATCH 1/2] Update Jenkinsfile removed publishEvent trigger --- Jenkinsfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 82a4a3d..01ace57 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,7 +29,6 @@ pipeline { branch 'master' } steps { - publishEvent simpleEvent('hello-api-deploy-event') copyArtifacts projectName: '../helloworld-api/development' gateConsumesArtifact file: 'application.sh' } From 7922abf88926d7d942b52de79bcc6a37b68211b3 Mon Sep 17 00:00:00 2001 From: "Yee Chin, Chiam" Date: Thu, 23 May 2019 15:02:11 -0400 Subject: [PATCH 2/2] Update Jenkinsfile --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 01ace57..3fbe2ce 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,6 +21,7 @@ pipeline { steps { copyArtifacts projectName: '../helloworld-api/development' gateConsumesArtifact file: 'application.sh' + error 'fake error to force failure in test stage/gate' } } stage('Deploy') {