Browse Source

Jenkinsfile

pull/1/head
Benedikt Kristinsson 9 months ago
parent
commit
b340643b66
  1. 16
      Jenkinsfile
  2. 8
      jenkins.sh

16
Jenkinsfile

@ -0,0 +1,16 @@
pipeline {
agent any
stages {
stage('amzn') {
steps {
sh './jenkins.sh amzn'
}
}
stage('debian') {
steps {
sh './jenkins.sh debian'
}
}
}
}

8
jenkins.sh

@ -60,5 +60,9 @@ if [ ! -f emacs-${VERSION}.tar.xz ]; then
wget -q https://ftp.gnu.org/pub/gnu/emacs/emacs-${VERSION}.tar.xz
fi
build_debian
build_amzn
if [ "$1" = "debian" ]; then
build_debian
fi
if [ "$1" = "amzn" ]; then
build_amzn
fi

Loading…
Cancel
Save