Skip to content

Commit

Permalink
adding artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
v1j1 committed Oct 31, 2019
1 parent fe1ffc8 commit b23496f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
24 changes: 18 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,25 @@ agent any
}
}

stage('Building artifact') {
steps {
sh '''
'''
}
stage('Build Artifact') {
when {
expression {
currentBuild.result == null || currentBuild.result == 'SUCCESS'
}
}
steps {
sh '''
python setup.py bdist_wheel
'''
}
post {
always {
// Archive unit tests for the future
archiveArtifacts allowEmptyArchive: true, artifacts: 'dist/*whl', fingerprint: true)
}
}
}

}
stage('Storing Artifact') {
steps {
sh '''
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ Jinja2==2.10
MarkupSafe==1.1.0
Werkzeug==0.14.1
xmlrunner==1.7.7
wheel==0.32.2

0 comments on commit b23496f

Please sign in to comment.