Update Jenkinsfile and pom.xml
This commit is contained in:
parent
9d1fede372
commit
80cab93a69
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
|
@ -30,8 +30,8 @@ pipeline {
|
|||
sh "mkdir -p \"/var/jenkins_cache/.ccache_arm64\""
|
||||
sh "chown 1000:1000 -R \"/var/jenkins_cache/.ccache_arm64\""
|
||||
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}\""
|
||||
}
|
||||
}
|
||||
stage("Prepare native C++") {
|
||||
|
@ -89,7 +89,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') {
|
||||
|
@ -107,17 +109,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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
6
pom.xml
6
pom.xml
|
@ -22,6 +22,7 @@
|
|||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
<scm>
|
||||
<url>https://git.ignuranza.net/tdlight-team/tdlight-java-natives-linux-aarch64.git</url>
|
||||
<connection>scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java-natives-linux-aarch64.git</connection>
|
||||
<developerConnection>scm:git:https://git.ignuranza.net/tdlight-team/tdlight-java-natives-linux-aarch64.git</developerConnection>
|
||||
<tag>td-master</tag>
|
||||
|
@ -60,6 +61,11 @@
|
|||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<checkModificationExcludes>
|
||||
<checkModificationExclude>pom.xml</checkModificationExclude>
|
||||
</checkModificationExcludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
|
|
Loading…
Reference in New Issue
Block a user