亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Cubieboard 3如何安裝Jenkins

發布時間:2021-11-26 11:52:29 來源:億速云 閱讀:140 作者:小新 欄目:互聯網科技

這篇文章主要為大家展示了“Cubieboard 3如何安裝Jenkins”,內容簡而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶領大家一起研究并學習一下“Cubieboard 3如何安裝Jenkins”這篇文章吧。

wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -  
sudo sh -c "echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list"  
sudo apt-get update  

sudo apt-get install jenkins 



jenkins 安裝目錄是 /var/lib/jenkins

啟動/關閉

sudo /etc/init.d/jenkins start
sudo /etc/init.d/jenkins stop

log 路徑 為 /var/log/jenkins/jenkins.log

jenkins 修改 默認 訪問端口

在cubietruck 報 異常 java.lang.UnsatisfiedLinkError

如: 

java.lang.UnsatisfiedLinkError:com.sun.jna.Native.open(Ljava/lang/String;)J

         atcom.sun.jna.Native.open(Native Method)

         atcom.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:236)

         atcom.sun.jna.Library$Handler.<init>(Library.java:140)

         atcom.sun.jna.Native.loadLibrary(Native.java:366)

         atcom.sun.jna.Native.loadLibrary(Native.java:351)

         atcom.sun.akuma.CLibrary.<clinit>(CLibrary.java:89)

         atcom.sun.akuma.JavaVMArguments.resolvePID(JavaVMArguments.java:126)

         atcom.sun.akuma.JavaVMArguments.ofLinux(JavaVMArguments.java:114)

         atcom.sun.akuma.JavaVMArguments.of(JavaVMArguments.java:104)

         atcom.sun.akuma.JavaVMArguments.current(JavaVMArguments.java:92)

         atjenkins.diagnosis.HsErrPidList.<init>(HsErrPidList.java:62)

         atsun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

         atsun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

         atsun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

         atjava.lang.reflect.Constructor.newInstance(Constructor.java:525)

         atcom.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86)

         atcom.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108)

         atcom.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88)

         atcom.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)

         atcom.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)

         atcom.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)

         atcom.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)

         atcom.google.inject.Scopes$1$1.get(Scopes.java:65)

        athudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:429)

         atcom.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)

         atcom.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)

         atcom.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051)

         atcom.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)

         athudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:391)

         athudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:382)

         athudson.ExtensionFinder._find(ExtensionFinder.java:151)

         athudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:317)

         athudson.ExtensionList.load(ExtensionList.java:295)

         athudson.ExtensionList.ensureLoaded(ExtensionList.java:248)

         athudson.ExtensionList.iterator(ExtensionList.java:138)

         athudson.ExtensionList.get(ExtensionList.java:129)

         athudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:86)

         atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

         atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

         atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

         atjava.lang.reflect.Method.invoke(Method.java:601)

         athudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)

         athudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:169)

         atorg.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)

         atjenkins.model.Jenkins$7.runTask(Jenkins.java:904)

         atorg.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)

         atorg.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)

         atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

         atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

         atjava.lang.Thread.run(Thread.java:722)


解決 方法: 安裝 oracle jdk ,切換oracle jdk 為默認java 環境


在cubietruck 報 異常 java.lang.UnsatisfiedLinkError: jnidispatch(/com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path

java.lang.UnsatisfiedLinkError: jnidispatch(/com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path

         atcom.sun.jna.Native.loadNativeLibraryFromJar(Native.java:697)

         atcom.sun.jna.Native.loadNativeLibrary(Native.java:674)

         atcom.sun.jna.Native.<clinit>(Native.java:115)

         atcom.sun.akuma.CLibrary.<clinit>(CLibrary.java:89)

         atcom.sun.akuma.JavaVMArguments.resolvePID(JavaVMArguments.java:126)

         atcom.sun.akuma.JavaVMArguments.ofLinux(JavaVMArguments.java:114)

         atcom.sun.akuma.JavaVMArguments.of(JavaVMArguments.java:104)

         atcom.sun.akuma.JavaVMArguments.current(JavaVMArguments.java:92)

         atjenkins.diagnosis.HsErrPidList.<init>(HsErrPidList.java:62)

         atsun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

         atsun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

         atsun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

         atjava.lang.reflect.Constructor.newInstance(Constructor.java:408)

         atcom.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86)

         atcom.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108)

         atcom.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88)

         atcom.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)

         atcom.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)

         atcom.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)

         atcom.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)

         atcom.google.inject.Scopes$1$1.get(Scopes.java:65)

        athudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:429)

         atcom.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)

         atcom.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)

         atcom.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051)

         atcom.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)

         athudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:391)

         athudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:382)

         athudson.ExtensionFinder._find(ExtensionFinder.java:151)

         athudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:317)

         athudson.ExtensionList.load(ExtensionList.java:295)

         athudson.ExtensionList.ensureLoaded(ExtensionList.java:248)

         athudson.ExtensionList.iterator(ExtensionList.java:138)

         athudson.ExtensionList.get(ExtensionList.java:129)

         athudson.diagnosis.NullIdDescriptorMonitor.verifyId(NullIdDescriptorMonitor.java:86)

         atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

         atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

         atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

         atjava.lang.reflect.Method.invoke(Method.java:483)

         athudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)

         athudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:169)

         atorg.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)

         atjenkins.model.Jenkins$7.runTask(Jenkins.java:904)

         atorg.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)

         atorg.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)

         atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

         atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

         atjava.lang.Thread.run(Thread.java:744)


解決方法

find \ -name jna-3.3.0-jenkins-3.jar

去https://github.com/twall/jna 下載 

https://maven.java.net/content/repositories/releases/net/java/dev/jna/jna/4.1.0/jna-4.1.0.jar

https://maven.java.net/content/repositories/releases/net/java/dev/jna/jna-platform/4.1.0/jna-platform-4.1.0.jar

將 jna-3.3.0-jenkins-3.jar 刪掉 將 jna-4.1.0.jar 和 jna-platform-4.1.0.jar 放入 目錄里

ps:

插件包里面也有一個 jna 的包

我這邊做了替換,但是看jar 里面的內容沒有 *.so文件,所以是不用替換的

Cubieboard 3如何安裝Jenkins

以上是“Cubieboard 3如何安裝Jenkins”這篇文章的所有內容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內容對大家有所幫助,如果還想學習更多知識,歡迎關注億速云行業資訊頻道!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

汉川市| 大庆市| 兴仁县| 楚雄市| 新巴尔虎右旗| 谢通门县| 乐东| 苍溪县| 沙雅县| 田阳县| 睢宁县| 台北市| 德庆县| 时尚| 郧西县| 象山县| 会东县| 巴林右旗| 应用必备| 黔南| 三门县| 普安县| 东城区| 桑日县| 枞阳县| 长春市| 大余县| 南汇区| 商丘市| 隆回县| 武鸣县| 漳州市| 池州市| 苍南县| 潼关县| 繁昌县| 淮安市| 玛曲县| 怀集县| 唐山市| 文登市|