본문 바로가기

분류 전체보기69

Jenkins - How to get and use upstream info in downstream https://stackoverflow.com/questions/39207924/jenkins-how-to-get-and-use-upstream-info-in-downstream Jenkins - How to get and use upstream info in downstream Executing upstream job called "A". On success of A executing test cases which is downstream project "B". But while sending mail from B we have to incorporate upstream project details (upstream proj... stackoverflow.com 2022. 9. 29.
Jenkins java.io.NotSerializableException: hudson.model.FreeStyleProject java.io.NotSerializableException: hudson.model.FreeStyleProject java.io.NotSerializableException: hudson.model.FreeStyleProject I am trying to execute pipeline script in Jenkins. Here is my script: import com.cloudbees.groovy.cps.NonCPS @NonCPS def getJobVariable(jobName,varName){ job = Jenkins.instance.getItemByFullN... stackoverflow.com https://github.com/jenkinsci/pipeline-plugin/blob/master/.. 2022. 9. 29.
Groovy Docs http://docs.groovy-lang.org/docs/groovy-1.7.3/html/groovy-jdk/java/lang/String.html#contains(java.lang.String) String (Groovy JDK) Replaces the first substring of a String that matches the given compiled regular expression with the given replacement. Note that backslashes (\) and dollar signs ($) in the replacement string may cause the results to be different than if it were being tre docs.groov.. 2022. 9. 29.
특정 파일만 특정 commit 시점으로 되돌리기 https://computer-science-student.tistory.com/490 [Git] 특정 파일만 되돌리기 Git 특정 파일만 되돌리기 프로젝트를 진행하다가 작업 내용이 꼬이거나 하면 최근 커밋으로 초기화시킬때 보통 git reset --hard HEAD 명령어를 사용한다. 하지만 모든 작업 내용을 초기화하지 않고 computer-science-student.tistory.com git checkout 2022. 9. 29.