mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2026-01-02 23:09:57 +01:00
Start of a release pipeline build
This commit is contained in:
parent
165a4d74e6
commit
b6253e440e
34
Jenkinsfile
vendored
34
Jenkinsfile
vendored
|
|
@ -81,6 +81,7 @@ pipeline {
|
|||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
milestone()
|
||||
agent {
|
||||
label "linux"
|
||||
}
|
||||
|
|
@ -101,5 +102,38 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
stage('Release') {
|
||||
timeout(time:5, unit:'DAYS') {
|
||||
milestone()
|
||||
input {
|
||||
message: "Do you wish to release?"
|
||||
ok: "Release"
|
||||
}
|
||||
input {
|
||||
message: "Are you sure, this cannot be undone?"
|
||||
ok: "Release"
|
||||
}
|
||||
milestone()
|
||||
}
|
||||
agent {
|
||||
label "linux"
|
||||
}
|
||||
steps {
|
||||
unstash 'windows-natives'
|
||||
unstash 'osx-natives'
|
||||
unstash 'linux-natives'
|
||||
sh 'echo $GPG_SECRET_KEYS | base64 --decode | gpg --batch --import'
|
||||
sh 'echo $GPG_OWNERTRUST | base64 --decode | gpg --import-ownertrust'
|
||||
withMaven(
|
||||
maven: 'Maven 3.5.3',
|
||||
jdk: 'OpenJDK 9',
|
||||
globalMavenSettingsConfig: 'global-maven-settings-ossrh',
|
||||
mavenOpts: '-Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts' //Work around for JDK9 missing cacerts
|
||||
) {
|
||||
sh "mvn -P windows,linux,osx,wintab versions:set -DremoveSnapshot"
|
||||
sh "mvn -P windows,linux,osx,wintab versions:set -DnextSnapshot"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue