Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Raptor Engineering Public Development
Jitsi
jaxb-api
Commits
797f8c85
Commit
797f8c85
authored
5 years ago
by
Maxim Nesen
Committed by
Lukas Jungmann
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
JIPP migration
Signed-off-by:
Maxim Nesen
<
maxim.nesen@oracle.com
>
parent
c5b2f2c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
38 deletions
+13
-38
etc/jenkins/continuous.groovy
etc/jenkins/continuous.groovy
+6
-18
etc/jenkins/release.groovy
etc/jenkins/release.groovy
+7
-20
No files found.
etc/jenkins/continuous.groovy
View file @
797f8c85
...
...
@@ -20,11 +20,9 @@
// GIT_USER_EMAIL - Git user e-mail (for commits)
// SSH_CREDENTIALS_ID - Jenkins ID of SSH credentials
// GPG_CREDENTIALS_ID - Jenkins ID of GPG credentials (stored as KEYRING variable)
// SETTINGS_XML_ID - Jenkins ID of settings.xml file
// SETTINGS_SEC_XML_ID - Jenkins ID of settings-security.xml file
pipeline
{
agent
any
tools
{
...
...
@@ -63,26 +61,16 @@ pipeline {
// Perform release
stage
(
'Build'
)
{
steps
{
configFileProvider
([
configFile
(
fileId:
SETTINGS_XML_ID
,
targetLocation:
'/home/jenkins/.m2/settings.xml'
),
configFile
(
fileId:
SETTINGS_SEC_XML_ID
,
targetLocation:
'/home/jenkins/.m2/'
)])
{
sshagent
([
SSH_CREDENTIALS_ID
])
{
sh
'''
etc/jenkins/continuous.sh
'''
}
sshagent
([
SSH_CREDENTIALS_ID
])
{
sh
'''
etc/jenkins/continuous.sh
'''
}
junit
'**/target/surefire-reports/*.xml'
recordIssues
(
tools:
[
spotBugs
(
useRankAsPriority:
true
)])
}
}
}
}
This diff is collapsed.
Click to expand it.
etc/jenkins/release.groovy
View file @
797f8c85
...
...
@@ -18,11 +18,9 @@
// GIT_USER_EMAIL - Git user e-mail (for commits)
// SSH_CREDENTIALS_ID - Jenkins ID of SSH credentials
// GPG_CREDENTIALS_ID - Jenkins ID of GPG credentials (stored as KEYRING variable)
// SETTINGS_XML_ID - Jenkins ID of settings.xml file
// SETTINGS_SEC_XML_ID - Jenkins ID of settings-security.xml file
pipeline
{
agent
any
tools
{
...
...
@@ -60,25 +58,14 @@ pipeline {
// Perform release
stage
(
'Release'
)
{
steps
{
configFileProvider
([
configFile
(
fileId:
SETTINGS_XML_ID
,
targetLocation:
'/home/jenkins/.m2/settings.xml'
),
configFile
(
fileId:
SETTINGS_SEC_XML_ID
,
targetLocation:
'/home/jenkins/.m2/'
)])
{
sshagent
([
SSH_CREDENTIALS_ID
])
{
sh
'''
etc/jenkins/release.sh "${API_VERSION}" "${NEXT_API_VERSION}" \
"${DRY_RUN}" "${OVERWRITE}"
'''
}
}
sshagent
([
SSH_CREDENTIALS_ID
])
{
sh
'''
etc/jenkins/release.sh "${API_VERSION}" "${NEXT_API_VERSION}" \
"${DRY_RUN}" "${OVERWRITE}"
'''
}
}
}
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment