diff --git a/Jenkinsfile b/Jenkinsfile index 2a7acae..ff841a9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,11 @@ +// need to approve all static functions in Dashboard > Manage Jenkins > ScriptApproval def getBranchNames(projectName){ - //hudson.model.Hudson.instance jenkins.model.Jenkins.instance.getItemByFullName(projectName).getAllJobs().each { job -> - echo job.getName() + env.tag = job.getName() + sh''' + echo "TAG: $tag" + mkdir -p -p build/frontend/$tag + ''' } }