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
3353197435
commit
e5310ec861
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -2,12 +2,6 @@ pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
git 'https://github.com/your-repo/your-project.git'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Install Dependencies') {
|
||||
steps {
|
||||
script {
|
||||
@ -35,7 +29,6 @@ pipeline {
|
||||
def dependencies = sh(script: "jq -r '.dependencies | keys[]' package.json", returnStdout: true).split('\n')
|
||||
|
||||
for (dep in dependencies) {
|
||||
// Poprawne użycie notacji \$
|
||||
sh "wget https://registry.npmjs.org/${dep}/-/\$(jq -r '.dependencies[\"${dep}\"]' package.json)/${dep}.tgz.asc"
|
||||
sh "gpg --verify ${dep}.tgz.asc ${dep}-*.tgz"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user