diff --git a/Jenkinsfile b/Jenkinsfile index 82a4a3d..5f09363 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,6 +21,7 @@ pipeline { steps { copyArtifacts projectName: '../helloworld-api/development' gateConsumesArtifact file: 'application.sh' + error 'fake error' } } stage('Deploy') { @@ -29,7 +30,6 @@ pipeline { branch 'master' } steps { - publishEvent simpleEvent('hello-api-deploy-event') copyArtifacts projectName: '../helloworld-api/development' gateConsumesArtifact file: 'application.sh' }