Compare commits

...

5 Commits

Author SHA1 Message Date
73ae49cb89 Bumped packacge version number
All checks were successful
ydeng/csvbyname/pipeline/head This commit looks good
2023-04-21 11:21:03 -05:00
958e2b12e3 Added 'archive' stage to Jenkins pipeline
All checks were successful
ydeng/csvbyname/pipeline/head This commit looks good
2023-04-21 11:20:03 -05:00
425ef96e9b Updated '.gitignore' to ignore 'output.csv' 2023-04-21 11:19:46 -05:00
95b60c87a5 Bumped python version in 'environment.yml' 2023-04-21 11:19:27 -05:00
ea374a971e Updated pipeline to use branch 'main' as publishing branch
All checks were successful
ydeng/csvbyname/pipeline/head This commit looks good
2023-04-21 11:11:54 -05:00
4 changed files with 10 additions and 4 deletions

1
.gitignore vendored
View File

@ -212,3 +212,4 @@ pyrightconfig.json
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) # Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
output.csv

9
Jenkinsfile vendored
View File

@ -22,9 +22,14 @@ pipeline {
sh "pip install dist/*.whl" sh "pip install dist/*.whl"
} }
} }
stage("publish") { stage("archive") {
steps {
archiveArtifacts artifacts: 'dist/*.tar.gz, dist/*.whl'
}
}
stage("publish package") {
when { when {
branch '**/master' branch '**/main'
} }
steps { steps {
withCredentials([usernamePassword(credentialsId: 'rs-git-package-registry-ydeng', passwordVariable: 'PASS', usernameVariable: 'USER')]) { withCredentials([usernamePassword(credentialsId: 'rs-git-package-registry-ydeng', passwordVariable: 'PASS', usernameVariable: 'USER')]) {

View File

@ -5,4 +5,4 @@ dependencies:
- build=0.7.0 - build=0.7.0
- pytest=7.2.2 - pytest=7.2.2
- twine=4.0.2 - twine=4.0.2
- python=3.9 - python=3.11

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = csvbyname name = csvbyname
version = 0.0.1 version = 0.0.2
[options] [options]
packages = csvbyname packages = csvbyname