pipeline {
agent {
dockerfile {
dir 'ci'
}
environment {
PUBLISH_HOST = 'file0.pyrocufflink.blue'
XDG_CACHE_DIR = "${WORKSPACE}"
stages {
stage('Build') {
steps {
sh '. ci/build.sh'
stage('Publish') {
sh '. ci/publish.sh'