Skip to content

Conversation

@huberta
Copy link

@huberta huberta commented Apr 1, 2017

pipeline {
agent any

stages {
stage('build') {
steps {
sh 'cat /etc/hostname'
sh 'echo résultat du test > test.log'
}
}
stage('run') {
steps {
sh 'cat /etc/hostname'
}
}
}
post {
success {
archiveArtifacts artifacts: 'test.log', fingerprint: true
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant