Skip to content

Commit 7d77b4a

Browse files
authored
Add Jenkinsfile for Lighthouse
1 parent ef66c3c commit 7d77b4a

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Jenkinsfile_lighthouse.groovy

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
pipeline {
3+
agent any
4+
5+
parameters {
6+
string(name: 'JOB_NAME', defaultValue: '', description: 'Job name')
7+
string(name: 'JOB_TYPE', defaultValue: '', description: 'Job type')
8+
string(name: 'JOB_SPEC', defaultValue: '', description: 'Job spec')
9+
string(name: 'BUILD_ID', defaultValue: '', description: 'Build id')
10+
string(name: 'LIGHTHOUSE_JOB_ID', defaultValue: '', description: 'Lighthouse job id')
11+
}
12+
13+
stages{
14+
stage('simple'){
15+
steps{
16+
echo "My name is ${params.LIGHTHOUSE_JOB_ID}."
17+
}
18+
}
19+
20+
}
21+
}

0 commit comments

Comments
 (0)