Eschew Jenkinsfile compatibility in favor of dumbass yaml for now
This commit is contained in:
parent
19126ed88b
commit
c386f34697
19
Jankyfile
19
Jankyfile
|
@ -1,19 +0,0 @@
|
|||
/*
|
||||
* This is a simple Jankyfile for self-hosting Janky
|
||||
*/
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'cargo build'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh 'cargo test test'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
# This is a Janky formatted YAML file. Using YAML for now to make hacking on
|
||||
# this quicker and easier
|
||||
|
||||
needs:
|
||||
- 'git'
|
||||
- 'cargo'
|
||||
commands:
|
||||
- 'echo "Hello World"'
|
||||
- 'which cargo'
|
|
@ -3,7 +3,7 @@ agents:
|
|||
- 'http://localhost:9000'
|
||||
projects:
|
||||
'janky':
|
||||
filename: 'Jankyfile'
|
||||
filename: 'ci.janky.yml'
|
||||
scm:
|
||||
github:
|
||||
owner: 'rtyler'
|
||||
|
|
Loading…
Reference in New Issue