meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sw:jenkins [2019/02/19 14:29]
niziak '
sw:jenkins [2021/03/31 20:38] (current)
niziak
Line 1: Line 1:
 +====== Jenkins ======
  
 ====== Pipeline ​ ====== ====== Pipeline ​ ======
Line 64: Line 65:
 pipeline { pipeline {
     agent any     agent any
 +    stages {
 +        stage('​Download'​) {
 +            steps {
 +                sh 'make config'​
 +                sh 'echo "​artifact file" > generatedFile.txt'​
 +            }
 +        }
 +    }
 +    post {
 +        always {
 +            archiveArtifacts artifacts: '​generatedFile.txt',​ onlyIfSuccessful:​ true
 +        }
 +    }    ​
 } }
 </​file>​ </​file>​