forked from runtimeverification/k
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile.anka
More file actions
24 lines (24 loc) · 842 Bytes
/
Jenkinsfile.anka
File metadata and controls
24 lines (24 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// The way this Jenkinsfile should be configured is:
// 1. Create a Pipeline job on Jenkins that checks out this repo and uses this
// Jenkinsfile. It should run once a week on weekends.
// 2. Create an Anka VM template in the Jenkins Anka Cloud Config that uses
// the below agent label and refers to the base image in the registry.
// 3. Enable cache builder on that VM template and make it generate a new VM
// tag, then change the main anka agent label on Jenkins to refer to that VM
// tag.
pipeline {
agent { label 'docker' }
options { ansiColor('xterm') }
stages {
stage('Build Anka VM') {
options { timeout(time: 150, unit: 'MINUTES') }
agent { label 'anka-k-master' }
steps {
sh '''
package/macos/brew-install-deps
brew install opam
'''
}
}
}
}