<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.3">Jekyll</generator><link href="https://aiguma.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://aiguma.github.io/" rel="alternate" type="text/html" /><updated>2023-10-31T06:46:53+00:00</updated><id>https://aiguma.github.io/feed.xml</id><title type="html">AIGUMA</title><subtitle>Web Developer from Somewhere</subtitle><entry><title type="html">=Jenkins= 원격지에서 Maven 빌드를 할때22</title><link href="https://aiguma.github.io/jenkins-test2/" rel="alternate" type="text/html" title="=Jenkins= 원격지에서 Maven 빌드를 할때22" /><published>2023-10-31T00:00:00+00:00</published><updated>2023-10-31T00:00:00+00:00</updated><id>https://aiguma.github.io/jenkins-test2</id><content type="html" xml:base="https://aiguma.github.io/jenkins-test2/">&lt;p&gt;Jenkins 세팅에서 원격지 서버에서 Maven을 빌드 해서 적용하고 싶을 경우가 있다 &lt;/p&gt;

&lt;p&gt;기본적으로 Ubuntu 터미널에서 Maven 사용할때는&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;mvn clean package
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;하면 ./target 폴더가 생성되면서 완료 되지만 &lt;/p&gt;

&lt;p&gt;Jenkins에서 Build Steps 에서 &lt;/p&gt;

&lt;p&gt;Send files or execute commands over SSH 하위에&lt;/p&gt;

&lt;p&gt;Exec command 에서 사용하려면 &lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [127]]
Build step 'Send files or execute commands over SSH' changed build result to UNSTABLE
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;해당 에러처럼 완료가 되지 않고 에러로 끝난다 &lt;/p&gt;

&lt;p&gt;이럴 경우는 해결방법은 maven의 full path를 넣어주고 하면 된다 &lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;/opt/maven/bin/mvn clean package

maven의 full path를 입력해준다
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;table&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;[##_Image&lt;/td&gt;
      &lt;td&gt;kage@cLWeWT/btshiEr12rF/x89n8ZXfGiQE2AUD6ZAOrK/img.png&lt;/td&gt;
      &lt;td&gt;CDM&lt;/td&gt;
      &lt;td&gt;1.3&lt;/td&gt;
      &lt;td&gt;{“originWidth”:1055,”originHeight”:1562,”style”:”alignCenter”,”filename”:”제목 없음.png”}_##]&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;</content><author><name></name></author><summary type="html">Jenkins 세팅에서 원격지 서버에서 Maven을 빌드 해서 적용하고 싶을 경우가 있다 </summary></entry><entry><title type="html">=Jenkins= 원격지에서 Maven 빌드를 할때</title><link href="https://aiguma.github.io/jenkins_test/" rel="alternate" type="text/html" title="=Jenkins= 원격지에서 Maven 빌드를 할때" /><published>2023-10-31T00:00:00+00:00</published><updated>2023-10-31T00:00:00+00:00</updated><id>https://aiguma.github.io/jenkins_test</id><content type="html" xml:base="https://aiguma.github.io/jenkins_test/">&lt;p&gt;Jenkins 세팅에서 원격지 서버에서 Maven을 빌드 해서 적용하고 싶을 경우가 있다 &lt;/p&gt;

&lt;p&gt;기본적으로 Ubuntu 터미널에서 Maven 사용할때는&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;mvn clean package
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;하면 ./target 폴더가 생성되면서 완료 되지만 &lt;/p&gt;

&lt;p&gt;Jenkins에서 Build Steps 에서 &lt;/p&gt;

&lt;p&gt;Send files or execute commands over SSH 하위에&lt;/p&gt;

&lt;p&gt;Exec command 에서 사용하려면 &lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [127]]
Build step 'Send files or execute commands over SSH' changed build result to UNSTABLE
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;해당 에러처럼 완료가 되지 않고 에러로 끝난다 &lt;/p&gt;

&lt;p&gt;이럴 경우는 해결방법은 maven의 full path를 넣어주고 하면 된다 &lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;/opt/maven/bin/mvn clean package

maven의 full path를 입력해준다
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;table&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;[##_Image&lt;/td&gt;
      &lt;td&gt;kage@cLWeWT/btshiEr12rF/x89n8ZXfGiQE2AUD6ZAOrK/img.png&lt;/td&gt;
      &lt;td&gt;CDM&lt;/td&gt;
      &lt;td&gt;1.3&lt;/td&gt;
      &lt;td&gt;{“originWidth”:1055,”originHeight”:1562,”style”:”alignCenter”,”filename”:”제목 없음.png”}_##]&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;</content><author><name></name></author><summary type="html">Jenkins 세팅에서 원격지 서버에서 Maven을 빌드 해서 적용하고 싶을 경우가 있다 </summary></entry><entry><title type="html">신규 블로그 만들기</title><link href="https://aiguma.github.io/new_post/" rel="alternate" type="text/html" title="신규 블로그 만들기" /><published>2022-10-03T00:00:00+00:00</published><updated>2022-10-03T00:00:00+00:00</updated><id>https://aiguma.github.io/new_post</id><content type="html" xml:base="https://aiguma.github.io/new_post/">&lt;p&gt;어쩌구 저쩌구&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;  int j = 10;
  for(int i=0; i&amp;lt;=j; i++){
    console.log(i);
  }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><author><name></name></author><summary type="html">어쩌구 저쩌구</summary></entry><entry><title type="html">You’re up and running!</title><link href="https://aiguma.github.io/Hello-World/" rel="alternate" type="text/html" title="You’re up and running!" /><published>2014-03-03T00:00:00+00:00</published><updated>2014-03-03T00:00:00+00:00</updated><id>https://aiguma.github.io/Hello-World</id><content type="html" xml:base="https://aiguma.github.io/Hello-World/">&lt;p&gt;Next you can update your site name, avatar and other options using the _config.yml file in the root of your repository (shown below).&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/config.png&quot; alt=&quot;_config.yml&quot; /&gt;&lt;/p&gt;

&lt;p&gt;The easiest way to make your first post is to edit this one. Go into /_posts/ and update the Hello World markdown file. For more instructions head over to the &lt;a href=&quot;https://github.com/barryclark/jekyll-now&quot;&gt;Jekyll Now repository&lt;/a&gt; on GitHub.&lt;/p&gt;</content><author><name></name></author><summary type="html">Next you can update your site name, avatar and other options using the _config.yml file in the root of your repository (shown below).</summary></entry></feed>