Skip to content
Permalink
Browse files
Build and tests fix after modules refactoring, version update
  • Loading branch information
dspavlov committed Jun 18, 2019
1 parent ef7ba95 commit c38dcdb34ca606bf4b100f6e9063900e652dc629
Showing 7 changed files with 23 additions and 11 deletions.
@@ -68,12 +68,8 @@ dependencies {
}

processResources {

// Minify json resources
from(sourceSets.test.resources.srcDirs) {
include "**/*.json"

// Minify every file here
}
}

@@ -28,7 +28,7 @@
public static final String GITHUB_REF = "https://github.com/apache/ignite-teamcity-bot";

/** TC Bot Version. */
public static final String VERSION = "20190607";
public static final String VERSION = "20190613";

/** Java version, where Web App is running. */
public String javaVer;
@@ -19,14 +19,13 @@

import com.google.common.base.Preconditions;
import com.google.common.base.Strings;
import org.apache.ignite.tcbot.common.util.Base64Util;
import org.apache.ignite.tcbot.common.util.CryptUtil;

import java.security.SecureRandom;
import javax.annotation.Nonnull;
import javax.crypto.Cipher;
import javax.crypto.spec.SecretKeySpec;
import javax.xml.bind.DatatypeConverter;
import org.apache.ignite.tcbot.common.util.Base64Util;
import org.apache.ignite.tcbot.common.util.CryptUtil;

import static javax.xml.bind.DatatypeConverter.parseHexBinary;
import static javax.xml.bind.DatatypeConverter.printHexBinary;
@@ -118,7 +117,7 @@ public static void main(String[] args) {
}

public static void main1(String[] args) {
encodeJiraTok("ignitetcbot", "21313");
encodeJiraTok("ignitetcbot", "enterClearPasswordOrTokenForUser");
}

public static void encodeJiraTok(String user, String pwd) {
@@ -25,4 +25,21 @@ dependencies {
testCompile group: 'junit', name: 'junit', version: junitVer
testCompile group: 'org.mockito', name: 'mockito-core', version: mockitoVer
}



processResources {
from(sourceSets.test.resources.srcDirs) {
include "**/*.json"
}
}

test {
// set JVM arguments for the test JVM(s)
jvmArgs "-XX:+IgnoreUnrecognizedVMOptions",
"--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED",
"--add-exports=java.base/sun.nio.ch=ALL-UNNAMED",
"--add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED",
"--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED",
"--add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED",
"--illegal-access=permit"
}
@@ -14,6 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.apache.ignite.githubservice;

import com.google.common.base.Preconditions;
@@ -25,7 +26,6 @@
import java.util.ArrayList;
import java.util.List;
import org.apache.ignite.ci.github.PullRequest;
import org.apache.ignite.githubservice.GitHubConnectionImpl;
import org.junit.Test;

import static junit.framework.TestCase.assertEquals;

0 comments on commit c38dcdb

Please sign in to comment.