-10

Long story short: I asked a question and set a bounty for it:

Can I run a freestyle-only plugin in a Jenkinsfile using the perform() method?

Someone posted an answer that I found informative and complete, and I accepted the answer and awarded the bounty to it. When I tried to see the answer today, I found out the answer has just... disappeared.

No really, Stack Overflow pretends the answer never existed. No indication the answer was deleted and all the inbox items relating to it have also disappeared. Stack Overflow couldn't gaslight me better if it was intentional.

The only proof I have that the answer actually existed is the e-mail I received the other day which contains an excerpt from the answer:

enter image description here

My guess is the person who posted the answer deleted it so they can re-post it again in the future and gain more bounty, instead of letting it become part of the Stack Overflow knowledge base and gain bounty only once.

So, take this as a warning: Stack Overflow can and will take answers you have awarded bounty to right off your hands, so always copy and paste the answer somewhere before awarding bounty, so you can repost it under your username if this happens.

EDIT: Per the answers below, reposting a deleted answer under your username is unwise. For example, if a deleted answer was deleted by a moderator because it was entirely generated by ChatGPT and you repost it under your own account, your account is breaking the rules. There are also other reasons a question may have been deleted by a moderator. In addition, if you don't own the original answer, reposting it is straight-up plagiarism.

Still, I would copy the answer somewhere so I wouldn't have to finagle ChatGPT into spitting the exact same answer, but I would not repost it. Even if the answer is not correct, it can provide guidance.

Also, if someone has enough rep to view deleted content, please post the answer below or under the original question so it isn't lost (EDIT: Someone posted it on a pastebin did below, thanks).

11
  • 10
    Detect OpenAI (96%) on the answer and the OP is suspended so that is probably the explanation.
    – rene
    Apr 19 at 15:36
  • 4
    It was deleted by a ♦ moderator.
    – Lino
    Apr 19 at 15:36
  • 9
    Your warning is unnecessary, even unwise, for a number of reasons
    – Clive
    Apr 19 at 15:40
  • 13
    "My guess is the person who posted the answer deleted it so they can re-post it again in the future and gain more bounty, instead of letting it become part of the Stack Overflow knowledge base and gain bounty only once." This wouldn't work, for the record. Self-deleting an answer like this will cause the poster to lose the bounty.
    – Ryan M Mod
    Apr 19 at 15:40
  • 5
    "… so you can repost it under your username if this happens." Don't do this. Making a copy for yourself is all fine and dandy, but don't repost an answer even if it was deleted. Especially if you don't know why it was deleted. Apr 19 at 15:44
  • 9
    Regarding your edit, this is not specific to ChatGPT, reposting any deleted answer is probably a bad idea. If you don't own the original answer, this is straight up plagiarism. Beyond that, things are deleted for a reason, this should be obvious. Reposting something that we have previously rejected is not welcome behavior.
    – user229044 Mod
    Apr 19 at 15:52
  • 3
    Please don't insert "EDIT"s/"UPDATE"s, just make your post the best presentation as of edit time. Similarly strikeout should not be used to show content from previous versions. Similarly answers do not belong in question posts, so don't answer part of your post, edit your post to either drop the part you are asking & answering or present that aspect in a direct way that incorporates your new knowledge. But please don't edit in a way that invalidates reasonable answer posts. PS These are comments under your question post, not answers. Answer posts are below. (Possibly with their own comments.)
    – philipxy
    Apr 19 at 17:18
  • Please don't rely on comments to be kept. Put all & only what you need to ask in your post, not just at a link and/or comments. (But copy when it is legal & credit.) Please clarify via edits, not comments. Please delete & flag obsolete comments. How to Ask How to Answer Help center
    – philipxy
    Apr 19 at 17:23
  • "Also, if someone has enough rep to view deleted content, please post the answer below or under the original question so it isn't lost" Why? The fact that it is ChatGPT generated makes it valueless, as far as we are concerned. Apr 20 at 7:34
  • "Per the answers below, reposting a deleted answer under your username is unwise" - I would zoom out one step further. Doing things just because you want it is unwise. You need to be sure it is the right thing to do as well. Stack Overflow is not like other sites. Act accordingly.
    – Gimby
    Apr 21 at 13:34
  • This business of closing a question because answers exist under a non-duplicate and unrelated question has to stop. It is NOT a duplicate question, and those answers might require thousands of hours to find. A simple answer should be enough.
    – mckenzm
    Apr 27 at 22:57

1 Answer 1

23

The answer in question was entirely generated by ChatGPT, in violation of the site's current policy on AI-generated content: https://stackoverflow.com/help/gpt-policy

19
  • 1
    It was a valid answer, and I don't want to spend time trying to finagle ChatGPT into spitting out the same answer. Can you PM me the answer or something? Apr 19 at 15:40
  • 13
    @user1942541: The problem is that it probably wasn't a valid answer, it just had the texture of it being valid. Might be good to just wait for another answer.
    – Makoto
    Apr 19 at 15:45
  • 6
    @user1942541 pastebin.com/VMwwYjgF Use at your discretion. I cannot judge the validity of the answer, I don't use Jenkins. Knowing that it came from ChatGPT, you should be highly skeptical.
    – user229044 Mod
    Apr 19 at 15:48
  • 4
    Note that you should not post that verbatim under your own account, as it was generated in violation of Stack Overflow policy. You could use it to inspire an answer of your own, but it should not incorporate text from that answer.
    – Ryan M Mod
    Apr 19 at 15:48
  • @Ryan M Didn't have time to test the answer, but combined with my adventures in the Jenkins source code, I should be able to produce something good that works. I can't do it right away because I have pivoted away from using the plugin to access Burp, so finding the answer is not priority #1 for me anymore, but will do some time. Apr 19 at 16:07
  • 1
    @user229044 Thanks for the pastebin, I tried asking ChatGPT myself, but the answer ChatGPT gave me wasn't even half of what the pastebin contains. All the interesting parts of the code are missing from the answer ChatGPT gave me. Apr 19 at 16:12
  • @user1942541: I'm looking around and I can't find any supporting documentation to even suggest that what ChatGPT was trying to do would've ever worked. Jenkinsfiles are poorly documented so finding scraps can be a challenge, but usually I'm able to find scraps instead of just nothing. So I don't feel that great in the Pastebin giving false hope to those who want it. :/
    – Makoto
    Apr 19 at 16:20
  • @Makoto Will try to see if it works when I have time. You see, there is this enterprise tool called "Burp suite enterprise edition" that some enterprises are forced to use, and the company behind it provides a Jenkins plugin that only works in Freestyle projects. This is a problem because no self-respecting enterprise uses Freestyle projects, they all use Jenkinsfiles so they can have their deployment and validation steps in source code so they are changeable by PRs only! If I could make the ChatGPT code work, it would be great. If not, I won't use their plugin and use their JAR file instead. Apr 19 at 16:32
  • @user1942541: Don't hang yourself up on this. I'd think you'd make better headway if you just get in touch with the folks that main Burp Suite instead. But hey, you do you.
    – Makoto
    Apr 19 at 16:38
  • Shouldn't the OP get his bounty back though?
    – Pluto
    Apr 19 at 16:38
  • @Pluto It looks like they got about the full week of bounty time, so it's probably not warranted here. (also we don't have any way to do that without staff help)
    – Ryan M Mod
    Apr 19 at 16:41
  • 2
    The OP accepted and awarded the bounty anyway, @Pluto . In my opinion if a user awards the bounty without checking the solution that is their error; if they discover later that it's not a good answer then it's up to them to create a new bounty.
    – Thom A
    Apr 19 at 17:03
  • 11
    "Will try to see if it works when I have time" comment by @user1942541 - is a perfect example of what "bountied by OP"/"accepted answer" actually means - just something OP liked, without any relation to correctness or quality :( Apr 19 at 17:13
  • 8
    @user1942541 Let me get this straight: You accepted an answer, what must have happened in order to give the bounty, you have not yet had the time to adequately test? Not anywhere near what I consider a good order of operations. Apr 19 at 18:54
  • 1
    No, it does add up. "As of June 2011, bounty offerers may award bounties up to 24 hours after the bounty period ends (known as the grace period), to allow them to evaluate answers posted at the end of the bounty period." Apr 19 at 21:36

Not the answer you're looking for? Browse other questions tagged .