Changed publish step to not throw error if the version is already published
All checks were successful
filterfasta/pipeline/head This commit looks good

This commit is contained in:
Harrison Deng 2025-01-07 20:14:44 +00:00
parent b94643d36b
commit 37e6bbba1f

2
Jenkinsfile vendored
View File

@ -34,7 +34,7 @@ pipeline {
}
steps {
withCredentials([usernamePassword(credentialsId: '4d6f64be-d26d-4f95-8de3-b6a9b0beb311', passwordVariable: 'PASS', usernameVariable: 'USER')]) {
sh returnStdout: true, script: "python -m twine upload --repository-url https://git.reslate.systems/api/packages/${USER}/pypi -u ${USER} -p ${PASS} --non-interactive --disable-progress-bar --verbose dist/*"
sh returnStatus: true, script: "python -m twine upload --repository-url https://git.reslate.systems/api/packages/${USER}/pypi -u ${USER} -p ${PASS} --non-interactive --disable-progress-bar --verbose dist/*"
}
}
}