Test executing build script
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -3,13 +3,17 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('build') {
|
stage('build') {
|
||||||
steps {
|
steps {
|
||||||
sh "cd scripts ; bash -x ./build-website.sh"
|
|
||||||
sh 'echo "building"'
|
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') {
|
stage('test') {
|
||||||
steps {
|
steps {
|
||||||
sh 'echo "hello world"'
|
sh 'echo "hello world"'
|
||||||
|
sh 'curl http://127.0.0.1:80'
|
||||||
sh 'echo "testing"'
|
sh 'echo "testing"'
|
||||||
input "Testing complete. Proceed to deployment?"
|
input "Testing complete. Proceed to deployment?"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user