diff --git a/jenkins-agents/jenkins-agent-ansible/Jenkinsfile.test b/jenkins-agents/jenkins-agent-ansible/Jenkinsfile.test index dd0254091..0c43d9f9e 100644 --- a/jenkins-agents/jenkins-agent-ansible/Jenkinsfile.test +++ b/jenkins-agents/jenkins-agent-ansible/Jenkinsfile.test @@ -16,6 +16,8 @@ pipeline { ansible --version molecule --version java -version + + ansible-galaxy collection install community.general """ } } diff --git a/jenkins-agents/jenkins-agent-conftest/Jenkinsfile.test b/jenkins-agents/jenkins-agent-conftest/Jenkinsfile.test index 88cf972c2..eec4264f0 100644 --- a/jenkins-agents/jenkins-agent-conftest/Jenkinsfile.test +++ b/jenkins-agents/jenkins-agent-conftest/Jenkinsfile.test @@ -16,6 +16,8 @@ pipeline { conftest --version bats --version yq --version + + conftest pull github.com/redhat-cop/rego-policies.git//policy """ } } diff --git a/jenkins-agents/jenkins-agent-golang/Jenkinsfile.test b/jenkins-agents/jenkins-agent-golang/Jenkinsfile.test index 00adc6faf..afa4d0f5c 100644 --- a/jenkins-agents/jenkins-agent-golang/Jenkinsfile.test +++ b/jenkins-agents/jenkins-agent-golang/Jenkinsfile.test @@ -15,6 +15,8 @@ pipeline { sh """ go version sonar-scanner -v + + go install k8s.io/client-go@0.29.3 """ } } diff --git a/jenkins-agents/jenkins-agent-helm/Jenkinsfile.test b/jenkins-agents/jenkins-agent-helm/Jenkinsfile.test index a923eb850..224ff843c 100644 --- a/jenkins-agents/jenkins-agent-helm/Jenkinsfile.test +++ b/jenkins-agents/jenkins-agent-helm/Jenkinsfile.test @@ -24,6 +24,9 @@ pipeline { yq --version kube-linter version java -version + + helm repo add jenkinsci https://charts.jenkins.io --force-update + helm repo update """ } } diff --git a/jenkins-agents/jenkins-agent-mvn/Jenkinsfile.test b/jenkins-agents/jenkins-agent-mvn/Jenkinsfile.test index 57335855d..ec695ca56 100644 --- a/jenkins-agents/jenkins-agent-mvn/Jenkinsfile.test +++ b/jenkins-agents/jenkins-agent-mvn/Jenkinsfile.test @@ -14,6 +14,8 @@ pipeline { steps { sh """ mvn --version + + mvn dependency:get -DgroupId=org.apache.maven -DartifactId=maven-core -Dversion=2.2.1 -Dpackaging=jar """ } } diff --git a/jenkins-agents/jenkins-agent-npm/Jenkinsfile.test b/jenkins-agents/jenkins-agent-npm/Jenkinsfile.test index ae2870203..dac67fd0d 100644 --- a/jenkins-agents/jenkins-agent-npm/Jenkinsfile.test +++ b/jenkins-agents/jenkins-agent-npm/Jenkinsfile.test @@ -16,7 +16,7 @@ pipeline { npm -v node -v - npm i express + npm install express """ } }