Re: “Copy artifacts from another project” and Jenkinsfiles are exclusive, correct?

2017-10-05 Thread dandeliondodgeball
Moved this to new post https://groups.google.com/forum/#!topic/jenkinsci-users/OU8Kzl6CJXk -- 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+unsu

Re: “Copy artifacts from another project” and Jenkinsfiles are exclusive, correct?

2017-10-04 Thread dandeliondodgeball
So this worked (scripted) node { step ([$class: 'CopyArtifact', projectName: 'Create_Infrastructure_archive']); This doesn't break, but nothing happens (declarative). pipeline { agent any stages { stage('Build') { steps { script {

Re: “Copy artifacts from another project” and Jenkinsfiles are exclusive, correct?

2017-10-04 Thread Robert Hales
I don't know of any declarative support, but you can still wrap it in a script{} block in declarative. On Wednesday, October 4, 2017 at 10:27:01 AM UTC-6, dandeliondodgeball wrote: > > Helpful, thanks. > > So there is only a scripted pipeline solution, no support for declarative, > correct? >

Re: “Copy artifacts from another project” and Jenkinsfiles are exclusive, correct?

2017-10-04 Thread dandeliondodgeball
Helpful, thanks. So there is only a scripted pipeline solution, no support for declarative, correct? -- 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

Re: “Copy artifacts from another project” and Jenkinsfiles are exclusive, correct?

2017-10-03 Thread Robert Hales
https://www.cloudbees.com/blog/copying-artifacts-between-builds-jenkins-workflow On Tuesday, October 3, 2017 at 4:15:47 PM UTC-6, dandeliondodgeball wrote: > > I discovered the Copy Artifact plugin and was all happy when it worked for > me. But when I went back to my configuration which makes

“Copy artifacts from another project” and Jenkinsfiles are exclusive, correct?

2017-10-03 Thread dandeliondodgeball
I discovered the Copy Artifact plugin and was all happy when it worked for me. But when I went back to my configuration which makes use of a Jenkinsfile that option wasn’t available. There is no Build section in the configuration. The first one is a “freestyle” configuration and the oth