Skip to content

Commit 70a582a

Browse files
committed
Fix github credencials
Github project credentials are to be used in `wget` action when accessing `https://raw.githubusercontent.com` in order to minimize restriction limits Signed-off-by: Victor Rubezhny <[email protected]>
1 parent a766e09 commit 70a582a

File tree

7 files changed

+14
-8
lines changed

7 files changed

+14
-8
lines changed

Jenkinsfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ spec:
3939
environment {
4040
NPM_CONFIG_USERCONFIG = "$WORKSPACE/.npmrc"
4141
MAVEN_OPTS="-Xmx1024m"
42+
GITHUB_API_CREDENTIALS_ID = 'github-bot-token'
4243
}
4344
stages {
4445
stage('Prepare-environment') {
@@ -53,8 +54,10 @@ spec:
5354
stage('Build') {
5455
steps {
5556
container('container') {
56-
wrap([$class: 'Xvnc', useXauthority: true]) {
57-
sh 'mvn clean verify -B -Dtycho.disableP2Mirrors=true -Ddownload.cache.skip=true -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -PpackAndSign -Dmaven.repo.local=$WORKSPACE/.m2/repository'
57+
withCredentials([string(credentialsId: "${GITHUB_API_CREDENTIALS_ID}", variable: 'GITHUB_API_TOKEN')]) {
58+
wrap([$class: 'Xvnc', useXauthority: true]) {
59+
sh 'mvn clean verify -B -Dtycho.disableP2Mirrors=true -Ddownload.cache.skip=true -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -PpackAndSign -Dmaven.repo.local=$WORKSPACE/.m2/repository'
60+
}
5861
}
5962
}
6063
}

org.eclipse.wildwebdeveloper.feature/feature.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<feature
33
id="org.eclipse.wildwebdeveloper.feature"
44
label="%name"
5-
version="0.10.13.qualifier"
5+
version="0.10.14.qualifier"
66
provider-name="Eclipse Wild Web Developer project"
77
license-feature="org.eclipse.license"
88
license-feature-version="0.0.0">

org.eclipse.wildwebdeveloper.feature/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<version>0.5.0-SNAPSHOT</version>
88
</parent>
99
<packaging>eclipse-feature</packaging>
10-
<version>0.10.13-SNAPSHOT</version>
10+
<version>0.10.14-SNAPSHOT</version>
1111
<build>
1212
<plugins>
1313
<plugin>

org.eclipse.wildwebdeveloper/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
33
Bundle-Name: Wild Web Developer: web development in Eclipse IDE
44
Bundle-SymbolicName: org.eclipse.wildwebdeveloper;singleton:=true
55
Automatic-Module-Name: org.eclipse.wildwebdeveloper
6-
Bundle-Version: 0.5.21.qualifier
6+
Bundle-Version: 0.5.22.qualifier
77
Bundle-Activator: org.eclipse.wildwebdeveloper.Activator
88
Bundle-Vendor: Eclipse Wild Web Developer project
99
Require-Bundle: org.eclipse.ui,

org.eclipse.wildwebdeveloper/pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<version>0.5.0-SNAPSHOT</version>
88
</parent>
99
<packaging>eclipse-plugin</packaging>
10-
<version>0.5.21-SNAPSHOT</version>
10+
<version>0.5.22-SNAPSHOT</version>
1111

1212
<build>
1313
<plugins>
@@ -93,6 +93,9 @@
9393
<skipCache>true</skipCache>
9494
<url>https://raw.githubusercontent.com/microsoft/vscode-eslint/release/2.2.2/server/package.json</url>
9595
<outputDirectory>${project.build.directory}/vscode-eslint-ls/extension/server</outputDirectory>
96+
<headers>
97+
<Authorization>${GITHUB_API_TOKEN}</Authorization>
98+
</headers>
9699
</configuration>
97100
</execution>
98101
</executions>

repository/epp.product

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<?pde version="3.5"?>
33

4-
<product name="Eclipse IDE for JavaScript and Web Developers" uid="org.eclipse.wildwebdeveloper.product" id="org.eclipse.wildwebdeveloper.product.branding.product" application="org.eclipse.ui.ide.workbench" version="0.13.4.qualifier" useFeatures="true" includeLaunchers="true">
4+
<product name="Eclipse IDE for JavaScript and Web Developers" uid="org.eclipse.wildwebdeveloper.product" id="org.eclipse.wildwebdeveloper.product.branding.product" application="org.eclipse.ui.ide.workbench" version="0.13.5.qualifier" useFeatures="true" includeLaunchers="true">
55

66
<aboutInfo>
77
<image path="/org.eclipse.wildwebdeveloper.product.branding.product/eclipse_lg.png"/>

repository/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<version>0.5.0-SNAPSHOT</version>
88
</parent>
99
<packaging>eclipse-repository</packaging>
10-
<version>0.13.4-SNAPSHOT</version>
10+
<version>0.13.5-SNAPSHOT</version>
1111

1212
<build>
1313
<plugins>

0 commit comments

Comments
 (0)