Updated CI config to mirror serverside config
Some checks failed
filterfasta/pipeline/head There was a failure building this commit

This commit is contained in:
2024-11-14 21:06:14 +00:00
parent 1b08cee027
commit bf357a5524
3 changed files with 28 additions and 2 deletions

4
Jenkinsfile vendored
View File

@@ -8,7 +8,7 @@ pipeline {
}
stage("install") {
steps {
sh 'mamba env update --file environment.yml --prefix ./env || mamba env create --force --file environment.yml --prefix ./env'
sh 'pip install -r requirements.txt'
}
}
stage("build") {
@@ -32,7 +32,7 @@ pipeline {
branch '**/master'
}
steps {
withCredentials([usernamePassword(credentialsId: 'rs-git-package-registry-ydeng', passwordVariable: 'PASS', usernameVariable: 'USER')]) {
withCredentials([usernamePassword(credentialsId: '4d6f64be-d26d-4f95-8de3-b6a9b0beb311', passwordVariable: 'PASS', usernameVariable: 'USER')]) {
sh "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/*"
}
}