diff options
| author | Oleg Pykhalov <go.wigust@gmail.com> | 2019-07-09 11:19:59 +0300 |
|---|---|---|
| committer | Oleg Pykhalov <go.wigust@gmail.com> | 2019-07-09 11:19:59 +0300 |
| commit | 8e004764a475b5663185dcd4e4c6bc01e3c904a4 (patch) | |
| tree | 0fc881b01340716b7cec939d708027b7fac98abd | |
| download | jenkins-8e004764a475b5663185dcd4e4c6bc01e3c904a4.tar.gz | |
Initial commit.
* Jenkinsfile: New file.
| -rw-r--r-- | Jenkinsfile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..0e790da --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,35 @@ +pipeline { + agent { + label 'guixsd' + } + stages { + 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' + } + } + } + } +} |
