indigo-dc / jenkins-pipeline-library

Jenkins pipeline library with common functionalities for CI/CD environments, mainly targeted for the implementation of the SQA baseline requirements from https://indigo-dc.github.io/sqa-baseline/
Apache License 2.0
11 stars 6 forks source link

Release 2.1.1 returns an error when calling pipelineConfig() #169

Closed orviz closed 2 years ago

orviz commented 2 years ago

Exception obtained:

hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: pipelineConfig.call() is applicable for argument types: (java.util.LinkedHashMap) values: [[configFile:.sqa/config.yml, scmConfigs:[localBranch:true], ...]]

Job: https://jenkins.eosc-synergy.eu/job/eosc-synergy-org/job/safdadsf.sqaaas/job/main/2/console

samuelbernardolip commented 2 years ago

@orviz After changing the github tag plugin in the workflow, now is working as expected: https://jenkins.eosc-synergy.eu/job/eosc-synergy-org/job/safdadsf.sqaaas/job/main/19/

Previous tag was referencing the latest commit in master branch (the reference was from the triggered branch and not from current checkout during job run).

Please approve the following PR so changes are applied to the default branch that is triggered by milestones events: https://github.com/indigo-dc/jenkins-pipeline-library/pull/170