Skip to content

Commit 76458c5

Browse files
committed
[Build] Remove unused creation of missing sources in Maven publication
Since [1] respectively [2] no missing source artifacts are created anymore so the associated part of the CBIaggregator.sh script can be cleaned-up. [1] - eclipse-platform/eclipse.platform.releng#126 [2] - eclipse-platform/eclipse.platform.releng#167
1 parent bd09d0d commit 76458c5

File tree

3 files changed

+1
-49
lines changed

3 files changed

+1
-49
lines changed

JenkinsJobs/Releng/publishToMaven.jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ pipeline {
169169
post {
170170
always {
171171
archiveArtifacts allowEmptyArchive: true, artifacts: '\
172-
repo/**, baseline-next.txt, \
172+
repo/**, \
173173
repo-validation/coordinates.txt'
174174
}
175175
unsuccessful {

eclipse.platform.releng/publish-to-maven-central/CBIaggregator.sh

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -336,52 +336,4 @@ createJavadocs jdt org.eclipse.jdt:org.eclipse.jdt.doc.isv
336336
createJavadocs pde org.eclipse.pde:org.eclipse.pde.doc.user
337337
popd
338338

339-
echo "==== Create missing sources artifacts ===="
340-
341-
function buildSourceJar() {
342-
if [ -d assemble ]
343-
then
344-
rm -r assemble
345-
fi
346-
mkdir assemble
347-
348-
gitcache_dir=${WORKING_ROOT}/gitcache
349-
gitpath=${gitcache_dir}/repo/${2}
350-
gittag=${3}
351-
group=${4}
352-
artifact=${5}
353-
version=${6}
354-
mkdir -p $gitcache_dir
355-
pushd ${gitcache_dir}
356-
git clone ${giturl} repo
357-
pushd repo
358-
git checkout ${3}
359-
popd
360-
popd
361-
mv ${gitpath}/src/* assemble/
362-
mv ${gitpath}/META-INF assemble/
363-
if [ -d ${gitpath}/OSGI-INF ]
364-
then
365-
mv ${gitpath}/OSGI-INF assemble/
366-
fi
367-
mv ${gitpath}/about.html assemble/
368-
if [ $# > 6 ]
369-
then
370-
shift 6
371-
for src in "$@"
372-
do
373-
mv "${gitpath}/${src}" assemble/
374-
done
375-
fi
376-
rm -rf ${gitcache_dir}
377-
pushd assemble
378-
jar cf ../${group}/${artifact}/${version}/${artifact}-${version}-sources.jar *
379-
popd
380-
}
381-
382-
while read line
383-
do
384-
buildSourceJar $line
385-
done < ${BASE_DIR}/sourceBundles.txt
386-
387339
echo "========== Repo completed ========="

eclipse.platform.releng/publish-to-maven-central/sourceBundles.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)