Currently, I'm going to need an implementation that must find all files within a directory and start a parallel task for every file found.
Is it possible to achieve this using declarative pipelines?
pipeline {
agent any
stages {
stage("test") {
steps {
dir ("file_path") {
// find all files with complete path
parallel (
// execute parallel tasks for each file found.
// this must be dynamic
}
}
}
}
}
}
}