Update Jenkinsfile
Some checks failed
jenkins_organization/checksum_verification_and_signature_verification/pipeline/head There was a failure building this commit
Some checks failed
jenkins_organization/checksum_verification_and_signature_verification/pipeline/head There was a failure building this commit
This commit is contained in:
parent
c5b232b0b1
commit
84ab03a6cf
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -16,7 +16,7 @@ pipeline {
|
||||
|
||||
// Weryfikacja sumy kontrolnej dla każdego pakietu
|
||||
for (dep in dependencies) {
|
||||
sh "npm pack ${dep}@$(jq -r '.dependencies[\"'${dep}'\"]' package.json)"
|
||||
sh "npm pack ${dep}@\$(jq -r '.dependencies[\"${dep}\"]' package.json)"
|
||||
sh "sha256sum ${dep}-*.tgz > ${dep}.sha256"
|
||||
// Weryfikacja sumy kontrolnej (przykład: zakładając, że masz zapisany poprawny checksum)
|
||||
sh "echo 'expected-sha256-value ${dep}-*.tgz' | sha256sum -c -"
|
||||
|
Loading…
Reference in New Issue
Block a user