diff --git a/Jenkinsfile b/Jenkinsfile index 7d04115..11b2dd0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,8 +25,8 @@ pipeline { sh "mkdir -p \"/var/jenkins_cache/.ccache\"" sh "chown 1000:1000 -R \"/var/jenkins_cache/.ccache\"" sh "mkdir -p \"${workspace}/tdlight-java/src/main\"" - sh "chown 1000:1000 -R \"${workspace}\"" - sh "chmod 771 -R \"${workspace}\"" + //sh "chown 1000:1000 -R \"${workspace}\"" + //sh "chmod 771 -R \"${workspace}\"" } } @@ -70,7 +70,9 @@ pipeline { expression { params.RELEASE } } steps { - sh "mvn -s $MVN_SET -DpushChanges=false -DpreparationGoals=initialize release:prepare release:perform -B" + sh "git config user.email \"jenkins@mchv.eu\"" + sh "git config user.name \"Jenkins\"" + sh "mvn -s $MVN_SET -DpushChanges=false -DlocalCheckout=true -DpreparationGoals=initialize release:prepare release:perform -B" } } stage('Deliver') { @@ -88,17 +90,7 @@ pipeline { } post { always { - dir("${workspace}/tdlight-java") { - deleteDir() - } - /* clean up tmp directory */ - dir("${workspace}@tmp") { - deleteDir() - } - /* clean up script directory */ - dir("${workspace}@script") { - deleteDir() - } + deleteDir() } } } diff --git a/pom.xml b/pom.xml index 9c31c7d..5bb4aa1 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 it.tdlight tdlight-natives-linux-amd64 - 2.0.1-SNAPSHOT + 2.0.2-SNAPSHOT TDLight Natives for Linux (amd64) jar @@ -22,8 +22,9 @@ - scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java-natives-linux-amd64.git - scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java-natives-linux-amd64.git + https://git.ignuranza.net/tdlight-team/tdlight-java-natives-linux-arm64.git + scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java-natives-linux-arm64.git + scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java-natives-linux-arm64.git master @@ -60,6 +61,11 @@ + + + pom.xml + + maven-jar-plugin