Suppose created pull request develop from forked > develop
And then we can find url such as https://bitbucket.org/zacscoding/pull-req-test/develop
if we hover develop branch on the top. And then
fetch pull request
package org.async.aop; | |
import javax.servlet.http.HttpServletRequest; | |
import lombok.extern.slf4j.Slf4j; | |
import org.aspectj.lang.ProceedingJoinPoint; | |
import org.aspectj.lang.annotation.Around; | |
import org.aspectj.lang.annotation.Aspect; | |
import org.async.util.GsonUtil; | |
import org.async.util.ServletUtil; | |
import org.springframework.stereotype.Component; |
import ch.qos.logback.classic.Level; | |
import ch.qos.logback.classic.Logger; | |
import org.slf4j.LoggerFactory; | |
/** | |
* @author zacconding | |
* @Date 2018-05-02 | |
* @GitHub : https://github.com/zacscoding | |
*/ |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
import java.util.function.Function; | |
import java.util.function.Predicate; | |
/** | |
* Like underscore.js .. working.. | |
* | |
* @author zacconding |
package random; | |
import java.util.Random; | |
/** | |
* Random extraction from items | |
* | |
* @author zacconding | |
* @Date 2018-12-05 | |
* @GitHub : https://github.com/zacscoding |
import com.fasterxml.jackson.databind.ObjectMapper; | |
import com.fasterxml.jackson.databind.PropertyNamingStrategy; | |
import lombok.AllArgsConstructor; | |
import lombok.Getter; | |
import lombok.Setter; | |
import org.junit.Test; | |
/** | |
* @author zacconding | |
* @Date 2018-12-04 |
Suppose created pull request develop from forked > develop
And then we can find url such as https://bitbucket.org/zacscoding/pull-req-test/develop
if we hover develop branch on the top. And then
fetch pull request
import java.util.Objects; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import javax.servlet.http.HttpSession; | |
import org.springframework.web.context.request.RequestAttributes; | |
import org.springframework.web.context.request.RequestContextHolder; | |
import org.springframework.web.context.request.ServletRequestAttributes; | |
/** | |
* Servlet helper |
``` | |
#!/usr/bin/env bash | |
SCRIPTPATH=$( cd "$(dirname "$0")" ; pwd -P ) | |
WORKING_DIR=$( cd "${SCRIPTPATH}/../" ; pwd -P ) | |
VERSION="1.0" | |
JAR="MY-jar-"${VERSION}".jar" | |
# check server pid |
``` | |
#!/usr/bin/env bash | |
SCRIPT_PATH=$( cd "$(dirname "$0")" ; pwd -P ) | |
WORKING_DIR=$( cd "${SCRIPT_PATH}/../" ; pwd -P ) | |
VERSION="1.0" | |
JAR="MY-JAR-${VERSION}.jar" | |
SERVER_PID_FILE="${WORKING_DIR}/server.pid" |