upd
This commit is contained in:
23
Jenkinsfile
vendored
Normal file
23
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
sh '''
|
||||
# Copy files to web directory
|
||||
cp -r * /var/www/fymio.us/
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
success {
|
||||
echo 'Deployment successful!'
|
||||
}
|
||||
failure {
|
||||
echo 'Deployment failed!'
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user