pipeline {
agent any
stages {
stage('Build') {
steps {
sh '/usr/pkg/bin/aya build'
}
stage('Deploy') {
sh '/usr/pkg/bin/rsync -acv .pub/ /var/www/home'