Hi,
I have no experience with declarative pipelines,
but configFileProvider is a standalone step , not taking a body like you
use it (it's not a withConfigFile...)
try:
echo "Getting version for ${env.projectDir}"
configFileProvider([configFile(fileId:
'52c08128-fa6f-4c79-8a43-ff4f6dd13dbd', variable: 'MYSCRIPT')])
powershell script: "${MYSCRIPT} -projecDir ${env.projectDir}"
script { res = powershell script: "${MYSCRIPT} -projecDir
${env.projectDir}"
echo "results: ${res}"
}
Björn
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/adef1318-236c-4dd5-972b-dba1e0726a93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.