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 {
                    [$class: 'CopyArtifact', projectName: 
'Create_Infrastructure_archive']
                }

Any ideas? Thanks.


-- 
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/e1024ae8-43d2-4419-bee3-fd88502148bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to