Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write latest master build to downloads.eclipse.org #1060

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@ pipeline {
stage('Build') {
steps {
wrap([$class: 'Xvnc', useXauthority: true]) {
sh '''
sh """
mvn clean verify --batch-mode -Dmaven.repo.local=$WORKSPACE/.m2/repository \
-Pbree-libs \
-Papi-check \
-Pjavadoc \
${env.BRANCH_NAME=='master' ? '-Peclipse-sign': ''} \
-Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true \
-Dtycho.debug.artifactcomparator \
-Dpde.docs.baselinemode=fail
'''
"""
}
}
post {
Expand All @@ -42,5 +43,18 @@ pipeline {
}
}
}
stage('Deploy') {
when {
branch 'master'
}
steps {
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
sh '''
ssh [email protected] "rm -rf /home/data/httpd/download.eclipse.org/pde/builds/master/*"
scp -r repository/target/repository/* [email protected]:/home/data/httpd/download.eclipse.org/pde/builds/master/
'''
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# To force a version qualifier update add the bug here
Touch to publish source feature.
4 changes: 4 additions & 0 deletions repository/category.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
<feature id="org.eclipse.pde.spies.source" version="0.0.0"/>
<feature id="org.eclipse.pde.unittest.junit" version="0.0.0"/>
<feature id="org.eclipse.pde.unittest.junit.source" version="0.0.0"/>
<feature id="org.eclipse.e4.core.tools.feature" version="0.0.0"/>
<feature id="org.eclipse.e4.core.tools.feature.source" version="0.0.0"/>
<feature id="org.eclipse.e4.tools.persistence.feature" version="0.0.0"/>
<feature id="org.eclipse.e4.tools.persistence.feature.source" version="0.0.0"/>
<!-- Tests -->
<bundle id="org.eclipse.pde.ua.tests"/>
<bundle id="org.eclipse.pde.ui.tests"/>
Expand Down
Loading