diff --git a/Jenkinsfile b/Jenkinsfile index 2d78214..a7eb906 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,13 +3,17 @@ pipeline { stages { stage('build') { steps { - sh "cd scripts ; bash -x ./build-website.sh" sh 'echo "building"' + sh "cd scripts ; bash -x ./build-website.sh" + sh "apt install -y curl" + sh "service httpd status" + sh "service httpd start" } } stage('test') { steps { sh 'echo "hello world"' + sh 'curl http://127.0.0.1:80' sh 'echo "testing"' input "Testing complete. Proceed to deployment?" }