Original 
post: https://groups.google.com/forum/#!topic/jenkinsci-users/n1oqnnW1A98

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']
                }

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3ad1872f-7e22-478a-b807-74e16c58378d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to