#26 Use pkgx instead of pixi
This commit is contained in:
17
build/Jenkinsfile
vendored
17
build/Jenkinsfile
vendored
@@ -11,29 +11,18 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Provision Environment') {
|
||||
steps {
|
||||
sh '''
|
||||
pixi install
|
||||
pixi shell-hook > .pixi_activate
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('Version & Tag') {
|
||||
steps {
|
||||
withCredentials([usernamePassword(credentialsId: 'Jenkins_Gitea',
|
||||
usernameVariable: 'GITEA_CREDS_USR',
|
||||
passwordVariable: 'GITEA_CREDS_PSW')]) {
|
||||
sh '''
|
||||
source .pixi_activate
|
||||
|
||||
git config user.email "jenkins@77zzcx7.de"
|
||||
git config user.name "Jenkins"
|
||||
|
||||
git remote set-url origin https://${GITEA_CREDS_USR}:${GITEA_CREDS_PSW}@${GIT_URL_CLEAN}
|
||||
|
||||
mvn release:prepare -B \
|
||||
pkgx mvn release:prepare -B \
|
||||
-s build/settings.xml \
|
||||
-DdryRun=${DRY_RUN} \
|
||||
-Dreposilite.url=${REPO_URL} \
|
||||
@@ -50,9 +39,7 @@ pipeline {
|
||||
usernameVariable: 'REPO_USER',
|
||||
passwordVariable: 'REPO_TOKEN')]) {
|
||||
sh '''
|
||||
source .pixi_activate
|
||||
|
||||
mvn release:perform -B \
|
||||
pkgx mvn release:perform -B \
|
||||
-s build/settings.xml \
|
||||
-DdryRun=${DRY_RUN} \
|
||||
-Dreposilite.url=${REPO_URL} \
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
[project]
|
||||
name = "nbscloud"
|
||||
channels = ["conda-forge"]
|
||||
platforms = ["linux-64"]
|
||||
|
||||
[dependencies]
|
||||
openjdk = "25.*"
|
||||
maven = "3.9.*"
|
||||
Reference in New Issue
Block a user