@Library('jenkins-wi-shared-library') _ pipeline { agent { label 'guixsd' } stages { stage('fetch') { steps { dir('/home/oleg/src/guix') { sendNotifications 'STARTED' sh 'git fetch origin' } } } stage('rebase') { steps { dir('/home/oleg/src/guix') { sh 'git rebase origin/master' } } } stage('bootstrap') { steps { dir('/home/oleg/src/guix') { sh 'guix environment --pure guix --ad-hoc help2man guile-sqlite3 guile-gcrypt -- ./bootstrap' } } } stage('configure') { steps { dir('/home/oleg/src/guix') { sh 'guix environment --pure guix --ad-hoc help2man guile-sqlite3 guile-gcrypt -- ./configure --localstatedir=/var --prefix=' } } } stage('make') { steps { dir('/home/oleg/src/guix') { sh 'guix environment --pure guix --ad-hoc help2man guile-sqlite3 guile-gcrypt -- make' } } } stage('test') { steps { dir('/home/oleg/src/guix') { sh 'make check' } } } } post { always { sendNotifications currentBuild.result } } }