From 51ae4c023c778810c3338d3e25f57a5f806f7e48 Mon Sep 17 00:00:00 2001 From: James Lambie Date: Thu, 26 Apr 2018 20:31:42 +0800 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b2c86bc..c65cd92 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,7 @@ pipeline { stage('API tests') { steps { // sh "docker run -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`:/etc/newman -t postman/newman_ubuntu1404 --collection \"collection.json\" --environment=\"environment.json\"" - sh "docker run -t postman/newman_ubuntu1404 collection \"https://www.getpostman.com/collections/d45b3b20f83cc5f532fa\"" + sh "docker run -t postman/newman_ubuntu1404 run \"https://www.getpostman.com/collections/d45b3b20f83cc5f532fa\"" } } }