schutzbot: don't copy dnf repo file between stages
Repository URLs are predictable. There's no need to use Jenkins' stash feature to pass the repo file between stages. Instead, simply create the repo file where it is needed, in deploy.sh.
This commit is contained in:
parent
cc2de53747
commit
2ac9a5b73c
3 changed files with 9 additions and 26 deletions
10
schutzbot/Jenkinsfile
vendored
10
schutzbot/Jenkinsfile
vendored
|
|
@ -50,10 +50,6 @@ pipeline {
|
|||
retry(3) {
|
||||
sh "schutzbot/mockbuild.sh"
|
||||
}
|
||||
stash (
|
||||
includes: 'mock.repo',
|
||||
name: 'fedora32'
|
||||
)
|
||||
}
|
||||
}
|
||||
stage('EL8') {
|
||||
|
|
@ -67,10 +63,6 @@ pipeline {
|
|||
retry(3) {
|
||||
sh "schutzbot/mockbuild.sh"
|
||||
}
|
||||
stash (
|
||||
includes: 'mock.repo',
|
||||
name: 'rhel8cdn'
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -86,7 +78,6 @@ pipeline {
|
|||
AWS_CREDS = credentials('aws-credentials-osbuildci')
|
||||
}
|
||||
steps {
|
||||
unstash 'fedora32'
|
||||
run_tests('integration')
|
||||
}
|
||||
post {
|
||||
|
|
@ -103,7 +94,6 @@ pipeline {
|
|||
RHN_REGISTRATION_SCRIPT = credentials('rhn-register-script-production')
|
||||
}
|
||||
steps {
|
||||
unstash 'rhel8cdn'
|
||||
run_tests('integration')
|
||||
}
|
||||
post {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue