What is the current behavior?
This makes it seem like GHA supports matrices and Jenkins doesn't.
https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/migrating-from-jenkins-to-github-actions#building-with-multiple-operating-systems
What changes are you suggesting?
Jenkins has supported matrix builds in pipelines for about a year now.
https://www.jenkins.io/blog/2019/11/22/welcome-to-the-matrix/
Please update the comparison doc.
Additional information
I think this is cannonical-ish Jenkins pipeline that also matches your code sample linked above. (The indentation was like that in your code sample.)
pipeline {
agent none
stages {
stage('Run Tests') {
matrix {
axes {
axis {
name: 'PLATFORM'
values: 'macos', 'linux'
}
}
agent { label "${PLATFORM}" }
stages {
stage('test') {
tools { nodejs "node-12" }
steps {
dir("scripts/myapp") {
sh(script: "npm install -g bats")
sh(script: "bats tests")
}
}
}
}
}
}
}
}
What is the current behavior?
This makes it seem like GHA supports matrices and Jenkins doesn't.
https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/migrating-from-jenkins-to-github-actions#building-with-multiple-operating-systems
What changes are you suggesting?
Jenkins has supported matrix builds in pipelines for about a year now.
https://www.jenkins.io/blog/2019/11/22/welcome-to-the-matrix/
Please update the comparison doc.
Additional information
I think this is cannonical-ish Jenkins pipeline that also matches your code sample linked above. (The indentation was like that in your code sample.)