-
Notifications
You must be signed in to change notification settings - Fork 6
/
Jenkinsfile
60 lines (60 loc) · 1.38 KB
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
pipeline {
agent {
dockerfile {
label 'docker'
filename './Dockerfile'
}
}
stages {
stage('Test') {
parallel {
stage('Jekyll') {
steps {
sh './ci/jekyll'
}
}
stage('RSpec') {
steps {
sh 'rspec -fd'
}
}
stage('SASS') {
steps {
sh './ci/sass_lint'
}
}
}
}
stage('Review') {
when {
not { branch 'master' }
}
steps {
// timeout(time: 10, unit: 'MINUTES') {
// input 'Ready to review the styleguide?'
// }
echo 'This step only runs in Codeship builds at the moment: https://app.codeship.com/projects/246808'
}
}
stage('Deploy') {
when { branch 'master' }
parallel {
stage('Update Percy') {
steps {
echo 'This step only runs in Codeship builds at the moment: https://app.codeship.com/projects/246808'
}
}
stage('RubyGems') {
steps {
echo 'This step only runs in Travis CI builds at the moment: https://travis-ci.org/codeship/shipyard'
}
}
stage('GitHub Pages') {
steps {
echo 'This step only runs in Codeship builds at the moment: https://app.codeship.com/projects/246808'
}
}
}
}
}
}