@@ -78,7 +78,8 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
def buildTime = sh(script: "TZ='Asia/Novosibirsk' date '+%d-%m-%Y %H:%M:%S'", returnStdout: true).trim()
|
def buildTime = sh(script: "TZ='Asia/Novosibirsk' date '+%d-%m-%Y %H:%M:%S'", returnStdout: true).trim()
|
||||||
def baseUrl = params.SPRING_PROFILE == 'prod' ? 'https://workspace.not-copy.com' : 'https://dev-workspace.not-copy.com'
|
def baseUrl = params.SPRING_PROFILE == 'prod' ? 'https://workspace.not-copy.com' :
|
||||||
|
'https://dev-workspace.not-copy.com'
|
||||||
withCredentials([
|
withCredentials([
|
||||||
usernamePassword(
|
usernamePassword(
|
||||||
credentialsId: 'server-root-password',
|
credentialsId: 'server-root-password',
|
||||||
|
|||||||
@@ -40,7 +40,10 @@ public class FileSimilarityService {
|
|||||||
|
|
||||||
private final FileEntityRepository fileEntityRepository;
|
private final FileEntityRepository fileEntityRepository;
|
||||||
|
|
||||||
@Value("${server.baseurl}")
|
// @Value("${server.baseurl}")
|
||||||
|
// private String baseUrl;
|
||||||
|
|
||||||
|
@Value("${BASE_URL}")
|
||||||
private String baseUrl;
|
private String baseUrl;
|
||||||
|
|
||||||
public List<SimilarFileDTO> findDuplicateByHammingDistance(String fileId, int hammingDistance,
|
public List<SimilarFileDTO> findDuplicateByHammingDistance(String fileId, int hammingDistance,
|
||||||
|
|||||||
@@ -42,7 +42,10 @@ public class EmailService {
|
|||||||
@Value("${app.email.verification.drop-password-subject}")
|
@Value("${app.email.verification.drop-password-subject}")
|
||||||
private String dropPasswordSubject;
|
private String dropPasswordSubject;
|
||||||
|
|
||||||
@Value("${server.baseurl}")
|
// @Value("${server.baseurl}")
|
||||||
|
// private String baseUrl;
|
||||||
|
|
||||||
|
@Value("${BASE_URL}")
|
||||||
private String baseUrl;
|
private String baseUrl;
|
||||||
|
|
||||||
@Value("${server.front.port}")
|
@Value("${server.front.port}")
|
||||||
|
|||||||
@@ -86,7 +86,10 @@ public class SearchImageService {
|
|||||||
@Value("${searchapi.api-key:}")
|
@Value("${searchapi.api-key:}")
|
||||||
private String searchApiKey;
|
private String searchApiKey;
|
||||||
|
|
||||||
@Value("${server.baseurl}")
|
// @Value("${server.baseurl}")
|
||||||
|
// private String appBaseUrl;
|
||||||
|
|
||||||
|
@Value("${BASE_URL}")
|
||||||
private String appBaseUrl;
|
private String appBaseUrl;
|
||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
|
|||||||
Reference in New Issue
Block a user