dustin
/
jenkinsagent
Archived
1
0
Fork 0

Compare commits

..

1 Commits

Author SHA1 Message Date
Dustin 54ebebf96c ci: Begin CI pipeline 2022-03-15 15:56:36 -05:00
1 changed files with 29 additions and 31 deletions

60
ci/Jenkinsfile vendored
View File

@ -6,45 +6,43 @@ pipeline {
}
}
pipeline {
stages {
stage('Prepare') {
checkout poll: false, scm: [
$class: 'GitSCM',
branches: [[name: '2022.02.x']],
doGenerateSubmoduleConfigurations: false,
userRemoteConfigs: [[url: 'git://git.buildroot.net/buildroot']],
extensions: [
[
$class: 'RelativeTargetDirectory',
relativeTargetDir: 'buildroot',
],
stages {
stage('Prepare') {
checkout poll: false, scm: [
$class: 'GitSCM',
branches: [[name: '2022.02.x']],
doGenerateSubmoduleConfigurations: false,
userRemoteConfigs: [[url: 'git://git.buildroot.net/buildroot']],
extensions: [
[
$class: 'RelativeTargetDirectory',
relativeTargetDir: 'buildroot',
],
]
],
]
steps {
sh '. ci/prepare.sh'
}
}
parallel {
stage('Build Initramfs') {
steps {
sh '. ci/prepare.sh'
sh '. ci/build-initramfs.sh'
}
}
parallel {
stage('Build Initramfs') {
steps {
sh '. ci/build-initramfs.sh'
}
}
stage('Build Rootfs') {
steps {
sh '. ci/build-rootfs.sh'
}
stage('Build Rootfs') {
steps {
sh '. ci/build-rootfs.sh'
}
}
}
stage('Publish') {
steps {
sshagent(['jenkins-pxe']) {
sh '. ci/publish.sh'
}
stage('Publish') {
steps {
sshagent(['jenkins-pxe']) {
sh '. ci/publish.sh'
}
}
}