Move rpm to roof for archiving only file without folder
This commit is contained in:
parent
310343834e
commit
244858590a
1 changed files with 4 additions and 1 deletions
5
.build/Jenkinsfile
vendored
5
.build/Jenkinsfile
vendored
|
|
@ -132,10 +132,13 @@ pipeline {
|
||||||
|
|
||||||
# Build the RPM package
|
# Build the RPM package
|
||||||
rpmbuild --define "_topdir ${WORKSPACE}/rpmbuild" --define "_version ${BUILD_VERSION}" -bb rpmbuild/SPECS/${BINARY_NAME}.spec
|
rpmbuild --define "_topdir ${WORKSPACE}/rpmbuild" --define "_version ${BUILD_VERSION}" -bb rpmbuild/SPECS/${BINARY_NAME}.spec
|
||||||
|
|
||||||
|
# Move RPM to root for archiving
|
||||||
|
mv rpmbuild/RPMS/x86_64/${BINARY_NAME}-${BUILD_VERSION}-1.el9.x86_64.rpm .
|
||||||
"""
|
"""
|
||||||
|
|
||||||
// Archive the RPM package
|
// Archive the RPM package
|
||||||
archiveArtifacts artifacts: "rpmbuild/RPMS/x86_64/${BINARY_NAME}-${BUILD_VERSION}-1.el9.x86_64.rpm", allowEmptyArchive: false, fingerprint: true
|
archiveArtifacts artifacts: "${BINARY_NAME}-${BUILD_VERSION}-1.el9.x86_64.rpm", allowEmptyArchive: false, fingerprint: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue