about to use declarative or scripted, I'd said declarative, it'd force you to be cleaner and use pipeline code only to define the pipeline not to make your build process, in any case, you can use script blocks on Declarative pipeline by using the script step ( https://jenkins.io/doc/book/pipeline/syntax/#script) or by defining functions or by using shared libraries ( https://jenkins.io/doc/book/pipeline/shared-libraries/). about the buildingTag, you can use the when statement https://jenkins.io/doc/book/pipeline/syntax/#when
https://jenkins.io/doc/book/pipeline/syntax/ -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c10b1d9c-289f-4948-8092-15f73e129b4e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.