English 中文(简体)
在jenkins实施完全ski的炮弹
原标题:execute shell step skipped completely in jenkins
  • 时间:2012-01-13 14:15:18
  •  标签:
  • jenkins

在Jenkins,我看上去看一看一看一看一看一看一看一看一看一看一看一看一看一看一看一看一看一看一看一看一看一看一去。 过去,我与哈得逊在窗户上工作,我能够在没有问题的情况下制造出壳/批量步骤,但我似乎在此没有问题。

它安装了一个新的jenkins,我去“再建一步”、“外壳”并在指挥中进入“echo hi”。 我管理着建筑,当我看一看青春期的产量时,情况就没有发生。

I ve also tried executing a test.sh file which also just echoes hi. I ve tested this in both a linux install and an os X installed Jenkins server.

我在组合中找不到什么手稿?

青少年产出显示,手稿步骤完全熟练。

Started by user admin
Finished: SUCCESS
最佳回答

It looks like Jenkins is not being able to redirect the output from the system. What version of Java are you using? If you re using OpenJDK, could you try with Sun Java/Sun JDK?

第一次测试试图检查是否执行过任何事情:在你的“外壳牌”中添加以下内容:

#!/bin/bash
echo "HELLO WORLD" > /tmp/testfile

跟踪和检查一下,如果在您的含水层系统中有文件/文件/证明文件,如果其中载有文本,则实际上是指你的文字。

你们有哪一版的Jenkins?

我能够证明的最后一个好版本(我至少知道我们的工作)是1.447。 如果你不使用这个词,你是否能够尝试?

另外,请在<代码>之前添加<代码>#!/bin/sh或#!/bin/bash

另外,使用<条码>源码/格式/格式/编号/代码>,并看看该文本是否可行。 文字应当包含<代码>#!/bin/sh或#!/bin/bash,作为第一行,仅看这是否起作用。

Note: none of this should be required, but is helpful just to get more information on what s going on. Couldn t fit all this into a comment. I ll update my answer based on your answers to the above, or delete if I can t get anything..

问题回答

Putting this here for posterity.

我有一个“Jenkins”项目,与“Maven le clean test相组合,并在预设步骤中执行。 来自Maven的未穿过的标识和文字没有执行。 在Maven的“平行<>/代码”中,一经不核对,我的标识和文字就开始工作。

Make sure its in a location where Jenkins can see it, check permissions.





相关问题
Reuse agent without needing to declare it multiple times

I m trying to define a agent in a jenkinsfile once, but use it in multiple stages without needing to fully declare it for each stage. As can be seen, I am using a stage to figure out which docker ...

在Jenkins Templating引擎实施版本

我们正计划利用JTE(Jenkins Templating的发动机)在我们org建造管道。 有许多管道将使用这一模板。 可能的话,模板的任何改动都会中断......

Hudson gitorious plugin?

Has anyone integrated a local copy of gitorious with Hudson? Specifically, linking the sha1 on Hudson web page back to the gitorious web page.

Problem with Hudson-JIRA-Perforce integration

I m looking at using the Hudson JIRA plugin to post a JIRA comment on each build. The SCM I m using is perforce which is already linked to the JIRA tasks using perforce jobs. I can see that the JIRA ...

Two Hudson Masters on the same Windows Server

I want to setup two Hudson Masters on the same Hardware. This will make administering Hudson easier, since both servers are used by two different (and independent) teams. So far I tried to install ...

Using Hudson and build steps with multiple git repositories

I m trying out Hudson to replace our current Buildbot setup. I installed the git plugin. Our current setup is like: ssh://server:/repo/test_framework.git ssh://server:/repo/project_a.git Now, to ...

热门标签