Update Jenkinsfile, pom.xml, and pom.xml
This commit is contained in:
parent
b4b9b2bd3e
commit
0a53d57567
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -56,8 +56,8 @@ pipeline {
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh "cd tdlib; mvn -s $MVN_SET -B -Ptarget-snapshot deploy"
|
||||
sh "cd tdlight; mvn -s $MVN_SET -B -Ptarget-snapshot deploy"
|
||||
sh "cd tdlib; mvn -s $MVN_SET -B -PsnapshotDir deploy"
|
||||
sh "cd tdlight; mvn -s $MVN_SET -B -PsnapshotDir deploy"
|
||||
}
|
||||
}
|
||||
|
||||
@ -80,8 +80,8 @@ pipeline {
|
||||
sh "cd ${workspace}"
|
||||
sh "git add --all || true"
|
||||
sh "git commit -m \"Add generated files\" || true"
|
||||
sh "cd tdlib; mvn -B -s $MVN_SET -Drevision=${BUILD_NUMBER} -Ptarget-release clean deploy"
|
||||
sh "cd tdlight; mvn -B -s $MVN_SET -Drevision=${BUILD_NUMBER} -Ptarget-release clean deploy"
|
||||
sh "cd tdlib; mvn -B -s $MVN_SET -Drevision=${BUILD_NUMBER} -PreleaseDir clean deploy"
|
||||
sh "cd tdlight; mvn -B -s $MVN_SET -Drevision=${BUILD_NUMBER} -PreleaseDir clean deploy"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -71,6 +71,20 @@
|
||||
<version>8.3.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>releaseDir</id>
|
||||
<build>
|
||||
<directory>target-release</directory>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>snapshotDir</id>
|
||||
<build>
|
||||
<directory>target-snapshot</directory>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
<build>
|
||||
<sourceDirectory>../src/main/java</sourceDirectory>
|
||||
<plugins>
|
||||
|
@ -71,6 +71,20 @@
|
||||
<version>8.3.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>releaseDir</id>
|
||||
<build>
|
||||
<directory>target-release</directory>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>snapshotDir</id>
|
||||
<build>
|
||||
<directory>target-snapshot</directory>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
<build>
|
||||
<sourceDirectory>../src/main/java</sourceDirectory>
|
||||
<plugins>
|
||||
|
Loading…
Reference in New Issue
Block a user