Eschew Jenkinsfile compatibility in favor of dumbass yaml for now

This commit is contained in:
R Tyler Croy 2023-01-28 20:42:37 -08:00
parent 19126ed88b
commit c386f34697
No known key found for this signature in database
GPG Key ID: E5C92681BEF6CEA2
3 changed files with 11 additions and 20 deletions

View File

@ -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'
}
}
}
}

10
ci.janky.yml Normal file
View File

@ -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'

View File

@ -3,7 +3,7 @@ agents:
- 'http://localhost:9000'
projects:
'janky':
filename: 'Jankyfile'
filename: 'ci.janky.yml'
scm:
github:
owner: 'rtyler'